System Log Messages Used by Junos Space Network Management Platform and Service Now
A device running Junos OS, managed by Junos Space Network Management Platform, if configured to send system log messages, uses NETCONF over SSH to send log messages with specific text patterns to Junos Space Platform. The following configuration on the device specifies the text patterns based on which system log messages are filtered and sent to Junos Space Platform:
set system syslog file default-log-messages
any info;
match "(FRU Offline)|(FRU Online)|(FRU
insertion)|(FRU power)|(FRU removal)|(commit complete)|(copying configuration
to juniper.save)|(license add)|(license delete)|(link UP)|(package
-X delete)|(package -X update)|(plugged in)|(requested 'commit' operation)|(unplugged)|Transferred|ifAdminStatus|transfer-file|transitioned|CFMD_CCM_DEFECT|
LFMD_3AH | RPD_MPLS_PATH_BFD|(Master Unchanged, Members Changed)|(Master
Changed, Members Changed)|(Master Detected, Members Changed)|(vc add)|(vc
delete)|(Master detected)|(Master changed)|(Backup detected)|(Backup
changed)|(interface vcp-)|(AIS_DATA_AVAILABLE)";
structured-data;
The configuration might differ depending on Junos OS version running on the device and the device model.
Table 1 lists examples of some of the system log messages that are used by Junos Space Platform and Service Now.
Table 1: System Log Messages Used by Junos Space Platform and Service Now
Match Pattern | Example System Log Message |
---|---|
FRU Online | gin-ttt-vpe1 chassisd[1581]: CHASSISD_SNMP_TRAP7: SNMP trap generated: Fru Online (jnxFruContentsIndex 7, jnxFruL1Index 1, jnxFruL2Index 0, jnxFruL3Index 0, jnxFruName FPC: MPCE Type 2 3D @ 0/*/*, jnxFruType 3, jnxFruSlot 0) |
FRU insertion | pe1 chassisd[1581]: CHASSISD_SNMP_TRAP7: SNMP trap generated: FRU insertion (jnxFruContentsIndex 8, jnxFruL1Index 1, jnxFruL2Index 1, jnxFruL3Index 0, jnxFruName PIC: @ 0/0/*, jnxFruType 11, jnxFruSlot 0) |
FRU power | e1 chassisd[1581]: CHASSISD_SNMP_TRAP10: SNMP trap generated: FRU power off (jnxFruContentsIndex 8, jnxFruL1Index 12, jnxFruL2Index 1, jnxFruL3Index 0, jnxFruName PIC: 10x 1GE(LAN) SFP @ 11/0/*, jnxFruType 11, jnxFruSlot 11, jnxFruOfflineReason 8, jnxFruLastPowerOff 961451815, jnxFruLastPowerOn 840678231) |
FRU removal | pe1 chassisd[1581]: CHASSISD_SNMP_TRAP7: SNMP trap generated: FRU removal (jnxFruContentsIndex 8, jnxFruL1Index 12, jnxFruL2Index 1, jnxFruL3Index 0, jnxFruName PIC: 10x 1GE(LAN) SFP @ 11/0/*, jnxFruType 11, jnxFruSlot 11) |
commit complete | Device mgd 56190 UI_COMMIT_PROGRESS [device@host message="commit complete"] Commit operation in progress: commit complete |
copying configuration to juniper.save | Device mgd 60751 UI_COMMIT_PROGRESS [device@host message="copying configuration to juniper.save"] Commit operation in progress: copying configuration to juniper.save |
link UP | vllc-barryst craftd[1676]: Minor alarm cleared, xe-12/0/0: Link down ========================================> link up, no trap. |
package -X delete | Device mgd 56190 - - /usr/libexec/ui/package -X delete jais |
package -X update | Device file 61129 - - /usr/libexec/ui/package -X update /var/tmp/jais-4.1R4.1-signed.tgz |
plugged in | gin-ttt-vpe1 fpc11 MIC(11/0)(0): SFP plugged in |
requested 'commit' operation | Device mgd 56190 UI_COMMIT [device@host username="user" command="commit" message="none"] User 'user' requested 'commit' operation (comment: none) |
unplugged | gin-ttt-vpe1 fpc11 MIC(11/0)(8): SFP unplugged |
Transferred | Device root - - - transfer-file: Transferred /tmp/evt_op_86Cbup 2015-06-26T08:34:08.890+10:00 Device cscript - - - JMB_AVAILABLE: Transferred JMB file with correct permission |
ifAdminStatus | gin-ttt-vpe1 mib2d[2427]: SNMP_TRAP_LINK_DOWN: ifIndex 605, ifAdminStatus up(1), ifOperStatus down(2), ifName ge-0/1/9 |
transfer-file | Device root - - - transfer-file: Transferred /tmp/evt_op_86Cbup |
transitioned | gin-ttt-vpe1 fpc11 CLKSYNC: Transitioned to centralized mode |
AIS_DATA_AVAILABLE | router cscript: AIS_DATA_AVAILABLE: JMB generation initiated for eventID=447 |