diff --git a/enums/bitmap/ietf/MPLS-OAM-ID-STD-MIB.yml b/enums/bitmap/ietf/MPLS-OAM-ID-STD-MIB.yml new file mode 100644 index 00000000..b2c89155 --- /dev/null +++ b/enums/bitmap/ietf/MPLS-OAM-ID-STD-MIB.yml @@ -0,0 +1,6 @@ +# mplsOamIdMegSubOperStatus +.1.3.6.1.2.1.10.166.21.1.2.1.11: + 0: 'MEG down' # megDown + 1: 'ME down' # meDown + 2: 'OAM application down' # oamAppDown + 3: 'path down' # pathDown diff --git a/enums/integer/arista/ARISTA-BGP4V2-MIB.yml b/enums/integer/arista/ARISTA-BGP4V2-MIB.yml index 903e9396..7cb0336b 100644 --- a/enums/integer/arista/ARISTA-BGP4V2-MIB.yml +++ b/enums/integer/arista/ARISTA-BGP4V2-MIB.yml @@ -8,8 +8,8 @@ 1: 'idle' # idle 2: 'connect' # connect 3: 'active' # active - 4: 'opensent' # opensent - 5: 'openconfirm' # openconfirm + 4: 'open sent' # opensent + 5: 'open confirm' # openconfirm 6: 'established' # established # aristaBgp4V2PeerPrevState @@ -17,8 +17,8 @@ 1: 'idle' # idle 2: 'connect' # connect 3: 'active' # active - 4: 'opensent' # opensent - 5: 'openconfirm' # openconfirm + 4: 'open sent' # opensent + 5: 'open confirm' # openconfirm 6: 'established' # established # aristaBgp4V2PrefixGaugesAfi diff --git a/enums/integer/cisco/CISCO-BGP4-MIB.yml b/enums/integer/cisco/CISCO-BGP4-MIB.yml index 031b1069..7574aed9 100644 --- a/enums/integer/cisco/CISCO-BGP4-MIB.yml +++ b/enums/integer/cisco/CISCO-BGP4-MIB.yml @@ -19,6 +19,22 @@ 5: 'open confirm' # openconfirm 6: 'established' # established +# cbgpPeerAddrFamilyAfi +.1.3.6.1.4.1.9.9.187.1.2.3.1.1: + 0: 'unknown' # unknown + 1: 'IPv4' # ipv4 + 2: 'IPv6' # ipv6 + 3: 'IPv4 zone' # ipv4z + 4: 'IPv6 zone' # ipv6z + 16: 'DNS' # dns + +# cbgpPeerAddrFamilySafi +.1.3.6.1.4.1.9.9.187.1.2.3.1.2: + 1: 'unicast' # unicast + 2: 'multicast' # multicast + 3: 'unicast and multicast' # unicastAndMulticast + 128: 'VPN' # vpn + # cbgpPeer2State .1.3.6.1.4.1.9.9.187.1.2.5.1.3: 0: 'none' # none @@ -44,6 +60,22 @@ 5: 'open confirm' # openconfirm 6: 'established' # established +# cbgpPeer2AddrFamilyAfi +.1.3.6.1.4.1.9.9.187.1.2.7.1.1: + 0: 'unknown' # unknown + 1: 'IPv4' # ipv4 + 2: 'IPv6' # ipv6 + 3: 'IPv4 zone' # ipv4z + 4: 'IPv6 zone' # ipv6z + 16: 'DNS' # dns + +# cbgpPeer2AddrFamilySafi +.1.3.6.1.4.1.9.9.187.1.2.7.1.2: + 1: 'unicast' # unicast + 2: 'multicast' # multicast + 3: 'unicast and multicast' # unicastAndMulticast + 128: 'VPN' # vpn + # cbgpPeer3State .1.3.6.1.4.1.9.9.187.1.2.9.1.5: 0: 'none' # none diff --git a/enums/integer/cisco/CISCO-VTP-MIB.yml b/enums/integer/cisco/CISCO-VTP-MIB.yml index cb747079..cd20370c 100644 --- a/enums/integer/cisco/CISCO-VTP-MIB.yml +++ b/enums/integer/cisco/CISCO-VTP-MIB.yml @@ -1,174 +1,174 @@ # vtpVersion .1.3.6.1.4.1.9.9.46.1.1.1: - 1: one - 2: two - 3: none - 4: three + 1: 'v1' # version1 + 2: 'v2' # version2 + 3: 'none' # none + 4: 'v3' # version3 # managementDomainLocalMode .1.3.6.1.4.1.9.9.46.1.2.1.1.3: - 1: client - 2: server - 3: transparent - 4: 'off' + 1: 'client' # client + 2: 'server' # server + 3: 'transparent' # transparent + 4: 'off' # off # managementDomainPruningState .1.3.6.1.4.1.9.9.46.1.2.1.1.10: - 1: enabled - 2: disabled + 1: 'enabled' # enabled + 2: 'disabled' # disabled # managementDomainVersionInUse .1.3.6.1.4.1.9.9.46.1.2.1.1.11: - 1: version1 - 2: version2 - 3: none - 4: version3 + 1: 'v1' # version1 + 2: 'v2' # version2 + 3: 'none' # none + 4: 'v3' # version3 # managementDomainPruningStateOper .1.3.6.1.4.1.9.9.46.1.2.1.1.12: - 1: enabled - 2: disabled + 1: 'enabled' # enabled + 2: 'disabled' # disabled # vtpVlanState .1.3.6.1.4.1.9.9.46.1.3.1.1.2: - 1: operational - 2: suspended - 3: mtuTooBigForDevice - 4: mtuTooBigForTrunk + 1: 'operational' # operational + 2: 'suspended' # suspended + 3: 'MTU too big for device' # mtuTooBigForDevice + 4: 'MTU too big for trunk' # mtuTooBigForTrunk # vtpVlanType .1.3.6.1.4.1.9.9.46.1.3.1.1.3: - 1: ethernet - 2: fddi - 3: tokenRing - 4: fddiNet - 5: trNet - 6: deprecated + 1: 'ethernet' # ethernet + 2: 'FDDI' # fddi + 3: 'token ring' # tokenRing + 4: 'FDDINet' # fddiNet + 5: 'TRNet' # trNet + 6: 'deprecated' # deprecated # vtpVlanStpType .1.3.6.1.4.1.9.9.46.1.3.1.1.9: - 1: ieee - 2: ibm - 3: hybrid + 1: 'IEEE' # ieee + 2: 'IBM' # ibm + 3: 'hybrid' # hybrid # vtpVlanBridgeType .1.3.6.1.4.1.9.9.46.1.3.1.1.13: - 1: srt - 2: srb + 1: 'SRT' # srt + 2: 'SRB' # srb # vtpInternalVlanAllocPolicy .1.3.6.1.4.1.9.9.46.1.3.2.1: - 1: ascending - 2: descending + 1: 'ascending' # ascending + 2: 'descending' # descending # vtpVlanEditOperation .1.3.6.1.4.1.9.9.46.1.4.1.1.1: - 1: none - 2: copy - 3: apply - 4: release - 5: restartTimer + 1: 'none' # none + 2: 'copy' # copy + 3: 'apply' # apply + 4: 'release' # release + 5: 'restart timer' # restartTimer # vtpVlanApplyStatus .1.3.6.1.4.1.9.9.46.1.4.1.1.2: - 1: inProgress - 2: succeeded - 3: configNumberError - 4: inconsistentEdit - 5: tooBig - 6: localNVStoreFail - 7: remoteNVStoreFail - 8: editBufferEmpty - 9: someOtherError - 10: notPrimaryServer + 1: 'in progress' # inProgress + 2: 'succeeded' # succeeded + 3: 'configuration revision error' # configNumberError + 4: 'inconsistent edit' # inconsistentEdit + 5: 'too big' # tooBig + 6: 'local non-volatile storage failed' # localNVStoreFail + 7: 'remote non-volatile storage failed' # remoteNVStoreFail + 8: 'edit buffer empty' # editBufferEmpty + 9: 'other error' # someOtherError + 10: 'not primary server' # notPrimaryServer # vtpVlanEditState .1.3.6.1.4.1.9.9.46.1.4.2.1.2: - 1: operational - 2: suspended + 1: 'operational' # operational + 2: 'suspended' # suspended # vtpVlanEditType .1.3.6.1.4.1.9.9.46.1.4.2.1.3: - 1: ethernet - 2: fddi - 3: tokenRing - 4: fddiNet - 5: trNet - 6: deprecated + 1: 'ethernet' # ethernet + 2: 'FDDI' # fddi + 3: 'token ring' # tokenRing + 4: 'FDDINet' # fddiNet + 5: 'TRNet' # trNet + 6: 'deprecated' # deprecated # vtpVlanEditStpType .1.3.6.1.4.1.9.9.46.1.4.2.1.9: - 1: ieee - 2: ibm - 3: auto + 1: 'IEEE' # ieee + 2: 'IBM' # ibm + 3: 'auto' # auto # vtpVlanEditBridgeType .1.3.6.1.4.1.9.9.46.1.4.2.1.14: - 1: srt - 2: srb + 1: 'SRT' # srt + 2: 'SRB' # srb # vtpVlanLocalShutdown .1.3.6.1.4.1.9.9.46.1.4.3.1.1: - 1: up - 2: down + 1: 'up' # up + 2: 'down' # down # vlanTrunkPortEncapsulationType .1.3.6.1.4.1.9.9.46.1.6.1.1.3: - 1: isl - 2: dot10 - 3: lane - 4: dot1Q - 5: negotiate + 1: 'ISL' # isl + 2: 'IEEE 802.10' # dot10 + 3: 'LANE' # lane + 4: 'IEEE 802.1Q' # dot1Q + 5: 'negotiate' # negotiate # vlanTrunkPortDynamicState .1.3.6.1.4.1.9.9.46.1.6.1.1.13: - 1: 'on' - 2: 'off' - 3: desirable - 4: auto - 5: onNoNegotiate + 1: 'on' # on + 2: 'off' # off + 3: 'desirable' # desirable + 4: 'auto' # auto + 5: 'on - no negotiate' # onNoNegotiate # vlanTrunkPortDynamicStatus .1.3.6.1.4.1.9.9.46.1.6.1.1.14: - 1: trunking - 2: notTrunking + 1: 'trunking' # trunking + 2: 'not trunking' # notTrunking # vlanTrunkPortEncapsulationOperType .1.3.6.1.4.1.9.9.46.1.6.1.1.16: - 1: isl - 2: dot10 - 3: lane - 4: dot1Q - 5: negotiating - 6: notApplicable + 1: 'ISL' # isl + 2: 'IEEE 802.10' # dot10 + 3: 'LANE' # lane + 4: 'IEEE 802.1Q' # dot1Q + 5: 'negotiating' # negotiating + 6: 'not applicable' # notApplicable # vlanTrunkPortDot1qTunnel .1.3.6.1.4.1.9.9.46.1.6.1.1.29: - 1: trunk - 2: access - 3: disabled + 1: 'trunk' # trunk + 2: 'access' # access + 3: 'disabled' # disabled # vtpDiscoverAction .1.3.6.1.4.1.9.9.46.1.7.1.1.1: - 1: discover - 2: noOperation - 3: purgeResult + 1: 'discover' # discover + 2: 'no operation' # noOperation + 3: 'purge result' # purgeResult # vtpDiscoverStatus .1.3.6.1.4.1.9.9.46.1.7.1.1.2: - 1: inProgress - 2: succeeded - 3: resourceUnavailable - 4: someOtherError + 1: 'in progress' # inProgress + 2: 'succeeded' # succeeded + 3: 'resource unavailable' # resourceUnavailable + 4: 'some other error' # someOtherError # vtpDatabaseLocalMode .1.3.6.1.4.1.9.9.46.1.8.1.1.3: - 1: client - 2: server - 3: transparent - 4: 'off' + 1: 'client' # client + 2: 'server' # server + 3: 'transparent' # transparent + 4: 'off' # off # vtpAuthPasswordType .1.3.6.1.4.1.9.9.46.1.9.1.1.2: - 1: plaintext - 2: hidden + 1: 'plaintext' # plaintext + 2: 'hidden' # hidden diff --git a/enums/integer/ietf/BFD-STD-MIB.yml b/enums/integer/ietf/BFD-STD-MIB.yml new file mode 100644 index 00000000..4dd33cd0 --- /dev/null +++ b/enums/integer/ietf/BFD-STD-MIB.yml @@ -0,0 +1,12 @@ +# bfdSessDiag +.1.3.6.1.2.1.222.1.2.1.13: + 0: 'noDiagnostic' # noDiagnostic + 1: 'controlDetectionTimeExpired' # controlDetectionTimeExpired + 2: 'echo function failed' # echoFunctionFailed + 3: 'neighbor-signaled session down' # neighborSignaledSessionDown + 4: 'forwarding-plane reset' # forwardingPlaneReset + 5: 'path down' # pathDown + 6: 'concatenated path down' # concatenatedPathDown + 7: 'administratively down' # administrativelyDown + 8: 'reverse concatenated path down' # reverseConcatenatedPathDown + 9: 'mis-connectivity defect' # misConnectivityDefect diff --git a/enums/integer/ietf/DIAL-CONTROL-MIB.yml b/enums/integer/ietf/DIAL-CONTROL-MIB.yml index eb19bc62..794b65d5 100644 --- a/enums/integer/ietf/DIAL-CONTROL-MIB.yml +++ b/enums/integer/ietf/DIAL-CONTROL-MIB.yml @@ -1,81 +1,81 @@ # dialCtlAcceptMode .1.3.6.1.2.1.10.21.1.1.1: - 1: acceptNone - 2: acceptAll - 3: acceptKnown + 1: 'none' # acceptNone + 2: 'all' # acceptAll + 3: 'known' # acceptKnown # dialCtlTrapEnable .1.3.6.1.2.1.10.21.1.1.2: - 1: enabled - 2: disabled + 1: 'enabled' # enabled + 2: 'disabled' # disabled # dialCtlPeerCfgInfoType .1.3.6.1.2.1.10.21.1.2.1.1.9: - 1: other - 2: speech - 3: unrestrictedDigital - 4: unrestrictedDigital56 - 5: restrictedDigital - 6: audio31 - 7: audio7 - 8: video - 9: packetSwitched - 10: fax + 1: 'other' # other + 2: 'speech' # speech + 3: 'unrestricted digital 64K' # unrestrictedDigital + 4: 'unrestricted digital 56K' # unrestrictedDigital56 + 5: 'restricted digital' # restrictedDigital + 6: 'audio 3.1KHz' # audio31 + 7: 'audio 7KHz' # audio7 + 8: 'video' # video + 9: 'packet-switched' # packetSwitched + 10: 'fax' # fax # dialCtlPeerCfgPermission .1.3.6.1.2.1.10.21.1.2.1.1.10: - 1: originate - 2: answer - 3: both - 4: callback - 5: none + 1: 'originate' # originate + 2: 'answer' # answer + 3: 'both' # both + 4: 'callback' # callback + 5: 'none' # none # dialCtlPeerCfgTrapEnable .1.3.6.1.2.1.10.21.1.2.1.1.18: - 1: enabled - 2: disabled + 1: 'enabled' # enabled + 2: 'disabled' # disabled # callActiveCallState .1.3.6.1.2.1.10.21.1.3.1.1.9: - 1: unknown - 2: connecting - 3: connected - 4: active + 1: 'unknown' # unknown + 2: 'connecting' # connecting + 3: 'connected' # connected + 4: 'active' # active # callActiveCallOrigin .1.3.6.1.2.1.10.21.1.3.1.1.10: - 1: originate - 2: answer - 3: callback + 1: 'originate' # originate + 2: 'answer' # answer + 3: 'callback' # callback # callActiveInfoType .1.3.6.1.2.1.10.21.1.3.1.1.12: - 1: other - 2: speech - 3: unrestrictedDigital - 4: unrestrictedDigital56 - 5: restrictedDigital - 6: audio31 - 7: audio7 - 8: video - 9: packetSwitched - 10: fax + 1: 'other' # other + 2: 'speech' # speech + 3: 'unrestricted digital 64K' # unrestrictedDigital + 4: 'unrestricted digital 56K' # unrestrictedDigital56 + 5: 'restricted digital' # restrictedDigital + 6: 'audio 3.1KHz' # audio31 + 7: 'audio 7KHz' # audio7 + 8: 'video' # video + 9: 'packet-switched' # packetSwitched + 10: 'fax' # fax # callHistoryCallOrigin .1.3.6.1.2.1.10.21.1.4.3.1.10: - 1: originate - 2: answer - 3: callback + 1: 'originate' # originate + 2: 'answer' # answer + 3: 'callback' # callback # callHistoryInfoType .1.3.6.1.2.1.10.21.1.4.3.1.12: - 1: other - 2: speech - 3: unrestrictedDigital - 4: unrestrictedDigital56 - 5: restrictedDigital - 6: audio31 - 7: audio7 - 8: video - 9: packetSwitched - 10: fax + 1: 'other' # other + 2: 'speech' # speech + 3: 'unrestricted digital 64K' # unrestrictedDigital + 4: 'unrestricted digital 56K' # unrestrictedDigital56 + 5: 'restricted digital' # restrictedDigital + 6: 'audio 3.1KHz' # audio31 + 7: 'audio 7KHz' # audio7 + 8: 'video' # video + 9: 'packet-switched' # packetSwitched + 10: 'fax' # fax diff --git a/enums/integer/ietf/DISMAN-SCHEDULE-MIB.yml b/enums/integer/ietf/DISMAN-SCHEDULE-MIB.yml index 3fa62685..62cbe88e 100644 --- a/enums/integer/ietf/DISMAN-SCHEDULE-MIB.yml +++ b/enums/integer/ietf/DISMAN-SCHEDULE-MIB.yml @@ -1,21 +1,21 @@ .1.3.6.1.2.1.63.1.2.1.17: - -1: noResponse - 0: noError - 1: tooBig - 2: noSuchName - 3: badValue - 4: readOnly - 5: genErr - 6: noAccess - 7: wrongType - 8: wrongLength - 9: wrongEncoding - 10: wrongValue - 11: noCreation - 12: inconsistentValue - 13: resourceUnavailable - 14: commitFailed - 15: undoFailed - 16: authorizationError - 17: notWritable - 18: inconsistentName + -1: 'no response' # noResponse + 0: 'no error' # noError + 1: 'too big' # tooBig + 2: 'no such name' # noSuchName + 3: 'bad value' # badValue + 4: 'read-only' # readOnly + 5: 'general error' # genErr + 6: 'no access' # noAccess + 7: 'wrong type' # wrongType + 8: 'wrong length' # wrongLength + 9: 'wrong encoding' # wrongEncoding + 10: 'wrong value' # wrongValue + 11: 'no creation' # noCreation + 12: 'inconsistent value' # inconsistentValue + 13: 'resource unavailable' # resourceUnavailable + 14: 'commit failed' # commitFailed + 15: 'undo failed' # undoFailed + 16: 'authorization error' # authorizationError + 17: 'not writable' # notWritable + 18: 'inconsistent name' # inconsistentName diff --git a/enums/integer/ietf/ENERGY-OBJECT-MIB.yml b/enums/integer/ietf/ENERGY-OBJECT-MIB.yml new file mode 100644 index 00000000..96970252 --- /dev/null +++ b/enums/integer/ietf/ENERGY-OBJECT-MIB.yml @@ -0,0 +1,75 @@ +# eoPowerAdminState +.1.3.6.1.2.1.229.1.2.1.8: + 0: 'other' # other + 255: 'unknown' # unknown + 256: 'IEEE 1621' # ieee1621 + 257: 'IEEE 1621 off' # ieee1621Off + 258: 'IEEE 1621 sleep' # ieee1621Sleep + 259: 'IEEE 1621 on' # ieee1621On + 512: 'DMTF' # dmtf + 513: 'DMTF on' # dmtfOn + 514: 'DMTF sleep-light' # dmtfSleepLight + 515: 'DMTF sleep-deep' # dmtfSleepDeep + 516: 'DMTF off-hard' # dmtfOffHard + 517: 'DMTF off-soft' # dmtfOffSoft + 518: 'DMTF hibernate' # dmtfHibernate + 519: 'DMTF power cycle off-soft' # dmtfPowerOffSoft + 520: 'DMTF power cycle off-hard' # dmtfPowerOffHard + 521: 'DMTF master bus reset' # dmtfMasterBusReset + 522: 'DMTF diagnostic interrupt' # dmtfDiagnosticInterrapt + 523: 'DMTF off-soft graceful' # dmtfOffSoftGraceful + 524: 'DMTF off-hard graceful' # dmtfOffHardGraceful + 525: 'DMTF master bus reset graceful' # dmtfMasterBusResetGraceful + 526: 'DMTF power cycle off-soft graceful' # dmtfPowerCycleOffSoftGraceful + 527: 'DMTF power cycle off-hard graceful' # dmtfPowerCycleHardGraceful + 1024: 'EMAN' # eman + 1025: 'EMAN mechoff' # emanMechOff + 1026: 'EMAN softoff' # emanSoftOff + 1027: 'EMAN hibernate' # emanHibernate + 1028: 'EMAN sleep' # emanSleep + 1029: 'EMAN standby' # emanStandby + 1030: 'EMAN ready' # emanReady + 1031: 'EMAN low minus' # emanLowMinus + 1032: 'EMAN low' # emanLow + 1033: 'EMAN medium minus' # emanMediumMinus + 1034: 'EMAN medium' # emanMedium + 1035: 'EMAN high minus' # emanHighMinus + 1036: 'EMAN high' # emanHigh + +# eoPowerOperState +.1.3.6.1.2.1.229.1.2.1.9: + 0: 'other' # other + 255: 'unknown' # unknown + 256: 'IEEE 1621' # ieee1621 + 257: 'IEEE 1621 off' # ieee1621Off + 258: 'IEEE 1621 sleep' # ieee1621Sleep + 259: 'IEEE 1621 on' # ieee1621On + 512: 'DMTF' # dmtf + 513: 'DMTF on' # dmtfOn + 514: 'DMTF sleep-light' # dmtfSleepLight + 515: 'DMTF sleep-deep' # dmtfSleepDeep + 516: 'DMTF off-hard' # dmtfOffHard + 517: 'DMTF off-soft' # dmtfOffSoft + 518: 'DMTF hibernate' # dmtfHibernate + 519: 'DMTF power cycle off-soft' # dmtfPowerOffSoft + 520: 'DMTF power cycle off-hard' # dmtfPowerOffHard + 521: 'DMTF master bus reset' # dmtfMasterBusReset + 522: 'DMTF diagnostic interrupt' # dmtfDiagnosticInterrapt + 523: 'DMTF off-soft graceful' # dmtfOffSoftGraceful + 524: 'DMTF off-hard graceful' # dmtfOffHardGraceful + 525: 'DMTF master bus reset graceful' # dmtfMasterBusResetGraceful + 526: 'DMTF power cycle off-soft graceful' # dmtfPowerCycleOffSoftGraceful + 527: 'DMTF power cycle off-hard graceful' # dmtfPowerCycleHardGraceful + 1024: 'EMAN' # eman + 1025: 'EMAN mechoff' # emanMechOff + 1026: 'EMAN softoff' # emanSoftOff + 1027: 'EMAN hibernate' # emanHibernate + 1028: 'EMAN sleep' # emanSleep + 1029: 'EMAN standby' # emanStandby + 1030: 'EMAN ready' # emanReady + 1031: 'EMAN low minus' # emanLowMinus + 1032: 'EMAN low' # emanLow + 1033: 'EMAN medium minus' # emanMediumMinus + 1034: 'EMAN medium' # emanMedium + 1035: 'EMAN high minus' # emanHighMinus + 1036: 'EMAN high' # emanHigh diff --git a/enums/integer/ietf/ISDN-MIB.yml b/enums/integer/ietf/ISDN-MIB.yml index 3efb9967..1adf9bfa 100644 --- a/enums/integer/ietf/ISDN-MIB.yml +++ b/enums/integer/ietf/ISDN-MIB.yml @@ -1,383 +1,437 @@ # isdnBasicRateIfType .1.3.6.1.2.1.10.20.1.1.1.1.1: - 75: isdns - 76: isdnu + 75: 'ISDN-S' # isdns + 76: 'ISDN-U' # isdnu # isdnBasicRateLineTopology .1.3.6.1.2.1.10.20.1.1.1.1.2: - 1: pointToPoint - 2: pointToMultipoint + 1: 'point-to-point' # pointToPoint + 2: 'point-to-multipoint' # pointToMultipoint # isdnBasicRateIfMode .1.3.6.1.2.1.10.20.1.1.1.1.3: - 1: te - 2: nt + 1: 'TE' # te + 2: 'NT' # nt # isdnBasicRateSignalMode .1.3.6.1.2.1.10.20.1.1.1.1.4: - 1: active - 2: inactive + 1: 'active' # active + 2: 'inactive' # inactive # isdnBearerChannelType .1.3.6.1.2.1.10.20.1.2.1.1.1: - 1: dialup - 2: leased + 1: 'dialup' # dialup + 2: 'leased' # leased # isdnBearerOperStatus .1.3.6.1.2.1.10.20.1.2.1.1.2: - 1: idle - 2: connecting - 3: connected - 4: active + 1: 'idle' # idle + 2: 'connecting' # connecting + 3: 'connected' # connected + 4: 'active' # active # isdnBearerCallOrigin .1.3.6.1.2.1.10.20.1.2.1.1.6: - 1: unknown - 2: originate - 3: answer - 4: callback + 1: 'unknown' # unknown + 2: 'originate' # originate + 3: 'answer' # answer + 4: 'callback' # callback # isdnBearerInfoType .1.3.6.1.2.1.10.20.1.2.1.1.7: - 1: unknown - 2: speech - 3: unrestrictedDigital - 4: unrestrictedDigital56 - 5: restrictedDigital - 6: audio31 - 7: audio7 - 8: video - 9: packetSwitched + 1: 'unknown' # unknown + 2: 'speech' # speech + 3: 'unrestricted digital' # unrestrictedDigital + 4: 'unrestricted digital 56K' # unrestrictedDigital56 + 5: 'restricted digital' # restrictedDigital + 6: 'audio 3.1KHz' # audio31 + 7: 'audio 7KHz' # audio7 + 8: 'video' # video + 9: 'packet-switched' # packetSwitched # isdnSignalingProtocol .1.3.6.1.2.1.10.20.1.3.2.1.3: - 1: other - 2: dss1 - 3: etsi - 4: dass2 - 5: ess4 - 6: ess5 - 7: dms100 - 8: dms250 - 9: ni1 - 10: ni2 - 11: ni3 - 12: vn2 - 13: vn3 - 14: vn4 - 15: vn6 - 16: kdd - 17: ins64 - 18: ins1500 - 19: itr6 - 20: cornet - 21: ts013 - 22: ts014 - 23: qsig - 24: swissnet2 - 25: swissnet3 + 1: 'other' # other + 2: 'DSS1' # dss1 + 3: 'ETSI' # etsi + 4: 'DASS2' # dass2 + 5: 'ESS4' # ess4 + 6: 'ESS5' # ess5 + 7: 'DMS100' # dms100 + 8: 'DMS250' # dms250 + 9: 'NI1' # ni1 + 10: 'NI2' # ni2 + 11: 'NI3' # ni3 + 12: 'VN2' # vn2 + 13: 'VN3' # vn3 + 14: 'VN4' # vn4 + 15: 'VN6' # vn6 + 16: 'KDD' # kdd + 17: 'INS64' # ins64 + 18: 'INS1500' # ins1500 + 19: 'ITR6' # itr6 + 20: 'CorNet' # cornet + 21: 'TS 13' # ts013 + 22: 'TS14' # ts014 + 23: 'QSIG' # qsig + 24: 'SwissNet2' # swissnet2 + 25: 'SwissNet3' # swissnet3 # isdnSignalingInfoTrapEnable .1.3.6.1.2.1.10.20.1.3.2.1.7: - 1: enabled - 2: disabled + 1: 'enabled' # enabled + 2: 'disabled' # disabled # isdnLapdOperStatus .1.3.6.1.2.1.10.20.1.3.4.1.2: - 1: inactive - 2: l1Active - 3: l2Active + 1: 'inactive' # inactive + 2: 'layer-1 active' # l1Active + 3: 'layer-2 active' # l2Active # isdnEndpointIfType .1.3.6.1.2.1.10.20.1.4.2.1.3: - 1: other - 2: regular1822 - 3: hdh1822 - 4: ddnX25 - 5: rfc877x25 - 6: ethernetCsmacd - 7: iso88023Csmacd - 8: iso88024TokenBus - 9: iso88025TokenRing - 10: iso88026Man - 11: starLan - 12: proteon10Mbit - 13: proteon80Mbit - 14: hyperchannel - 15: fddi - 16: lapb - 17: sdlc - 18: ds1 - 19: e1 - 20: basicISDN - 21: primaryISDN - 22: propPointToPointSerial - 23: ppp - 24: softwareLoopback - 25: eon - 26: ethernet3Mbit - 27: nsip - 28: slip - 29: ultra - 30: ds3 - 31: sip - 32: frameRelay - 33: rs232 - 34: para - 35: arcnet - 36: arcnetPlus - 37: atm - 38: miox25 - 39: sonet - 40: x25ple - 41: iso88022llc - 42: localTalk - 43: smdsDxi - 44: frameRelayService - 45: v35 - 46: hssi - 47: hippi - 48: modem - 49: aal5 - 50: sonetPath - 51: sonetVT - 52: smdsIcip - 53: propVirtual - 54: propMultiplexor - 55: ieee80212 - 56: fibreChannel - 57: hippiInterface - 58: frameRelayInterconnect - 59: aflane8023 - 60: aflane8025 - 61: cctEmul - 62: fastEther - 63: isdn - 64: v11 - 65: v36 - 66: g703at64k - 67: g703at2mb - 68: qllc - 69: fastEtherFX - 70: channel - 71: ieee80211 - 72: ibm370parChan - 73: escon - 74: dlsw - 75: isdns - 76: isdnu - 77: lapd - 78: ipSwitch - 79: rsrb - 80: atmLogical - 81: ds0 - 82: ds0Bundle - 83: bsc - 84: async - 85: cnr - 86: iso88025Dtr - 87: eplrs - 88: arap - 89: propCnls - 90: hostPad - 91: termPad - 92: frameRelayMPI - 93: x213 - 94: adsl - 95: radsl - 96: sdsl - 97: vdsl - 98: iso88025CRFPInt - 99: myrinet - 100: voiceEM - 101: voiceFXO - 102: voiceFXS - 103: voiceEncap - 104: voiceOverIp - 105: atmDxi - 106: atmFuni - 107: atmIma - 108: pppMultilinkBundle - 109: ipOverCdlc - 110: ipOverClaw - 111: stackToStack - 112: virtualIpAddress - 113: mpc - 114: ipOverAtm - 115: iso88025Fiber - 116: tdlc - 117: gigabitEthernet - 118: hdlc - 119: lapf - 120: v37 - 121: x25mlp - 122: x25huntGroup - 123: transpHdlc - 124: interleave - 125: fast - 126: ip - 127: docsCableMaclayer - 128: docsCableDownstream - 129: docsCableUpstream - 130: a12MppSwitch - 131: tunnel - 132: coffee - 133: ces - 134: atmSubInterface - 135: l2vlan - 136: l3ipvlan - 137: l3ipxvlan - 138: digitalPowerline - 139: mediaMailOverIp - 140: dtm - 141: dcn - 142: ipForward - 143: msdsl - 144: ieee1394 - 145: if-gsn - 146: dvbRccMacLayer - 147: dvbRccDownstream - 148: dvbRccUpstream - 149: atmVirtual - 150: mplsTunnel - 151: srp - 152: voiceOverAtm - 153: voiceOverFrameRelay - 154: idsl - 155: compositeLink - 156: ss7SigLink - 157: propWirelessP2P - 158: frForward - 159: rfc1483 - 160: usb - 161: ieee8023adLag - 162: bgppolicyaccounting - 163: frf16MfrBundle - 164: h323Gatekeeper - 165: h323Proxy - 166: mpls - 167: mfSigLink - 168: hdsl2 - 169: shdsl - 170: ds1FDL - 171: pos - 172: dvbAsiIn - 173: dvbAsiOut - 174: plc - 175: nfas - 176: tr008 - 177: gr303RDT - 178: gr303IDT - 179: isup - 180: propDocsWirelessMaclayer - 181: propDocsWirelessDownstream - 182: propDocsWirelessUpstream - 183: hiperlan2 - 184: propBWAp2Mp - 185: sonetOverheadChannel - 186: digitalWrapperOverheadChannel - 187: aal2 - 188: radioMAC - 189: atmRadio - 190: imt - 191: mvl - 192: reachDSL - 193: frDlciEndPt - 194: atmVciEndPt - 195: opticalChannel - 196: opticalTransport - 197: propAtm - 198: voiceOverCable - 199: infiniband - 200: teLink - 201: q2931 - 202: virtualTg - 203: sipTg - 204: sipSig - 205: docsCableUpstreamChannel - 206: econet - 207: pon155 - 208: pon622 - 209: bridge - 210: linegroup - 211: voiceEMFGD - 212: voiceFGDEANA - 213: voiceDID - 214: mpegTransport - 215: sixToFour - 216: gtp - 217: pdnEtherLoop1 - 218: pdnEtherLoop2 - 219: opticalChannelGroup - 220: homepna - 221: gfp - 222: ciscoISLvlan - 223: actelisMetaLOOP - 224: fcipLink - 225: rpr - 226: qam - 227: lmp - 228: cblVectaStar - 229: docsCableMCmtsDownstream - 230: adsl2 - 231: macSecControlledIF - 232: macSecUncontrolledIF - 233: aviciOpticalEther - 234: atmbond - 235: voiceFGDOS - 236: mocaVersion1 - 237: ieee80216WMAN - 238: adsl2plus - 239: dvbRcsMacLayer - 240: dvbTdm - 241: dvbRcsTdma - 242: x86Laps - 243: wwanPP - 244: wwanPP2 - 245: voiceEBS - 246: ifPwType - 247: ilan - 248: pip - 249: aluELP - 250: gpon - 251: vdsl2 - 252: capwapDot11Profile - 253: capwapDot11Bss - 254: capwapWtpVirtualRadio - 255: bits - 256: docsCableUpstreamRfPort - 257: cableDownstreamRfPort - 258: vmwareVirtualNic - 259: ieee802154 - 260: otnOdu - 261: otnOtu - 262: ifVfiType - 263: g9981 - 264: g9982 - 265: g9983 - 266: aluEpon - 267: aluEponOnu - 268: aluEponPhysicalUni - 269: aluEponLogicalLink - 270: aluGponOnu - 271: aluGponPhysicalUni - 272: vmwareNicTeam - 277: docsOfdmDownstream - 278: docsOfdmaUpstream - 279: gfast - 280: sdci - 281: xboxWireless - 282: fastdsl - 283: docsCableScte55d1FwdOob - 284: docsCableScte55d1RetOob - 285: docsCableScte55d2DsOob - 286: docsCableScte55d2UsOob - 287: docsCableNdf - 288: docsCableNdr - 289: ptm - 290: ghn + # Unknown + 0: 'Unknown' # unknown + # IANA 1-4094 + 1: 'Other' # other + 2: 'Regular 1822' # regular1822 + 3: 'HDH 1822' # hdh1822 + 4: 'DDN X.25' # ddnX25 + 5: 'RFC877 X.25' # rfc877x25 + 6: 'Ethernet CSMA/CD' # ethernetCsmacd + 7: '802.3 CSMA/CD' # iso88023Csmacd + 8: '802.4 Token Bus' # iso88024TokenBus + 9: '802.5 Token Ring' # iso88025TokenRing + 10: '802.6 MAN' # iso88026Man + 11: 'StarLAN' # starLan + 12: 'Proteon 10Mb' # proteon10Mbit + 13: 'Proteon 80Mb' # proteon80Mbit + 14: 'HyperChannel' # hyperchannel + 15: 'FDDI' # fddi + 16: 'LAP-B' # lapb + 17: 'SDLC' # sdlc + 18: 'DS1' # ds1 + 19: 'E1' # e1 + 20: 'Basic ISDN' # basicISDN + 21: 'Primary ISDN' # primaryISDN + 22: 'Proprietary Point-to-Point Serial' # propPointToPointSerial + 23: 'PPP' # ppp + 24: 'Software Loopback' # softwareLoopback + 25: 'EON' # eon + 26: 'Ethernet 3Mb' # ethernet3Mbit + 27: 'NSIP' # nsip + 28: 'SLIP' # slip + 29: 'Ultra' # ultra + 30: 'DS3' # ds3 + 31: 'SIP' # sip + 32: 'Frame Relay' # frameRelay + 33: 'RS-232' # rs232 + 34: 'Parallel Port' # para + 35: 'ARCNet' # arcnet + 36: 'ARCNet Plus' # arcnetPlus + 37: 'ATM' # atm + 38: 'MIO X.25' # miox25 + 39: 'SONET' # sonet + 40: 'X.25 PLE' # x25ple + 41: '802.211c' # iso88022llc + 42: 'LocalTalk' # localTalk + 43: 'SMDS DXI' # smdsDxi + 44: 'Frame Relay Service' # frameRelayService + 45: 'V.35' # v35 + 46: 'HSSI' # hssi + 47: 'HIPPI' # hippi + 48: 'Modem' # modem + 49: 'AAL5' # aal5 + 50: 'SONET Path' # sonetPath + 51: 'SONET VT' # sonetVT + 52: 'SMDS ICIP' # smdsIcip + 53: 'Proprietary Virtual' # propVirtual + 54: 'Proprietary Multiplexor' # propMultiplexor + 55: '802.12 (100BaseVG)' # ieee80212 + 56: 'Fibre Channel' # fibreChannel + 57: 'HIPPI Interface' # hippiInterface + 58: 'Frame Relay Interconnect' # frameRelayInterconnect + 59: 'ATM Emulated LAN for 802.3' # aflane8023 + 60: 'ATM Emulated LAN for 802.5' # aflane8025 + 61: 'ATM Emulated Circuit' # cctEmul + 62: 'Fast Ethernet (100BaseT)' # fastEther + 63: 'ISDN' # isdn + 64: 'V.11' # v11 + 65: 'V.36' # v36 + 66: 'G.703 at 64Kb' # g703at64k + 67: 'G.703 at 2Mb' # g703at2mb + 68: 'QLLC' # qllc + 69: 'Fast Ethernet (100BaseFX)' # fastEtherFX + 70: 'Channel' # channel + 71: '802.11 (Wi-Fi)' # ieee80211 + 72: 'IBM 260/370 OEMI Channel' # ibm370parChan + 73: 'ESCON' # escon + 74: 'Data Link Switching (DLSW)' # dlsw + 75: 'ISDN S/T Interface' # isdns + 76: 'ISDN U Interface' # isdnu + 77: 'LAP-D' # lapd + 78: 'IP Switch' # ipSwitch + 79: 'Remote Source Route Bridging' # rsrb + 80: 'ATM Logical' # atmLogical + 81: 'DS0' # ds0 + 82: 'DS0 Bundle' # ds0Bundle + 83: 'Bisynchronous Protocol' # bsc + 84: 'Asynchronous Protocol' # async + 85: 'Combat Net Radio' # cnr + 86: 'ISO 802.5r DTR' # iso88025Dtr + 87: 'Ext Pos Loc Report System' # eplrs + 88: 'AppleTalk Remote Access Protocol' # arap + 89: 'Proprietary Connectionless' # propCnls + 90: 'X.29 Host PAD' # hostPad + 91: 'X.3 Terminal PAD' # termPad + 92: 'Frame Relay MPI' # frameRelayMPI + 93: 'X.213' # x213 + 94: 'ADSL' # adsl + 95: 'RADSL' # radsl + 96: 'SDSL' # sdsl + 97: 'VDSL' # vdsl + 98: '802.5 CRFP' # iso88025CRFPInt + 99: 'Myrinet' # myrinet + 100: 'Voice Receive and Transmit' # voiceEM + 101: 'Voice Foreign Exchange Office' # voiceFXO + 102: 'Voice Foreign Exchange Station' # voiceFXS + 103: 'Voice Encapsulation' # voiceEncap + 104: 'Voice over IP' # voiceOverIp + 105: 'ATM DXI' # atmDxi + 106: 'ATM FUNI' # atmFuni + 107: 'ATM IMA' # atmIma + 108: 'PPP Multilink Bundle' # pppMultilinkBundle + 109: 'IP over CDLC' # ipOverCdlc + 110: 'IP over CLAW' # ipOverClaw + 111: 'Stack to Stack' # stackToStack + 112: 'Virtual IP Address' # virtualIpAddress + 113: 'MPC' # mpc + 114: 'IP over ATM' # ipOverAtm + 115: '802.5j Fibre Token Ring' # iso88025Fiber + 116: 'TDLC' # tdlc + 117: 'Gigabit Ethernet' # gigabitEthernet + 118: 'HDLC' # hdlc + 119: 'LAP-F' # lapf + 120: 'V.37' # v37 + 121: 'X.25 MLP' # x25mlp + 122: 'X.25 Hunt Group' # x25huntGroup + 123: 'Transp HDLC' # transpHdlc + 124: 'Interleave Channel' # interleave + 125: 'Fast Channel' # fast + 126: 'IP (APPN HPR)' # ip + 127: 'DOCS CATV MAC Layer' # docsCableMaclayer + 128: 'DOCS CATV Downstream' # docsCableDownstream + 129: 'DOCS CATV Upstream' # docsCableUpstream + 130: 'Avalon 12MPP Switch' # a12MppSwitch + 131: 'Tunnel' # tunnel + 132: 'Coffee' # coffee + 133: 'Circuit Emulation Service' # ces + 134: 'ATM SubInterface' # atmSubInterface + 135: '802.1Q Layer-2 VLAN' # l2vlan + 136: 'IP Layer-3 VLAN' # l3ipvlan + 137: 'IPX Layer-3 VLAN' # l3ipxvlan + 138: 'Digital Powerline' # digitalPowerline + 139: 'Multimedia Mail over IP' # mediaMailOverIp + 140: 'DTM' # dtm + 141: 'DCN' # dcn + 142: 'IP Forwarding' # ipForward + 143: 'MSDSL' # msdsl + 144: 'IEEE 1394 (Fire Wire)' # ieee1394 + 145: 'HIPPI-6400' # if-gsn + 146: 'DVB-RCC MAC Layer' # dvbRccMacLayer + 147: 'DVB-RCC Downstream' # dvbRccDownstream + 148: 'DVB-RCC Upstream' # dvbRccUpstream + 149: 'ATM Virtual' # atmVirtual + 150: 'MPLS Tunnel' # mplsTunnel + 151: 'SRP' # srp + 152: 'Voice over ATM' # voiceOverAtm + 153: 'Voice over Frame Relay' # voiceOverFrameRelay + 154: 'IDSL' # idsl + 155: 'Composite Link' # compositeLink + 156: 'SS7 Signaling Link' # ss7SigLink + 157: 'Proprietary Point-to-Point Wireless' # propWirelessP2P + 158: 'Frame Forward' # frForward + 159: 'Multiprotocol over ATM' # rfc1483 + 160: 'USB' # usb + 161: '802.3ad Link Aggregate' # ieee8023adLag + 162: 'BGP Policy Accounting' # bgppolicyaccounting + 163: 'FRF.16 Multilink Frame Relay' # frf16MfrBundle + 164: 'H.323 Gatekeeper' # h323Gatekeeper + 165: 'H.323 Proxy' # h323Proxy + 166: 'MPLS' # mpls + 167: 'Multi-Frequency Signaling Link' # mfSigLink + 168: 'HDSL2' # hdsl2 + 169: 'SHDSL' # shdsl + 170: 'DS1 Facility Data Link 4Kb' # ds1FDL + 171: 'Packet over SONET/SDH' # pos + 172: 'DVB-ASI Input' # dvbAsiIn + 173: 'DVB-ASI Output' # dvbAsiOut + 174: 'Powerline Communtications' # plc + 175: 'Non-Facility Associated Signaling' # nfas + 176: 'TR-008' # tr008 + 177: 'GR-303 Remote Digital Terminal' # gr303RDT + 178: 'GR-303 Integrated Digital Terminal' # gr303IDT + 179: 'ISUP' # isup + 180: 'Proprietary Wireless MAC Layer' # propDocsWirelessMaclayer + 181: 'Proprietary Wireless Downstream' # propDocsWirelessDownstream + 182: 'Proprietary Wireless Upstream' # propDocsWirelessUpstream + 183: 'HIPERLAN Type 2 Radio' # hiperlan2 + 184: 'Proprietary Broadband Wireless AP to Multipoint' # propBWAp2Mp + 185: 'SONET Overhead Channel' # sonetOverheadChannel + 186: 'Digital Wrapper Overhead Channel' # digitalWrapperOverheadChannel + 187: 'ATM Adaptation Layer 2' # aal2 + 188: 'MAC Layer over Radio' # radioMAC + 189: 'ATM over Radio' # atmRadio + 190: 'Inter Machine Trunk' # imt + 191: 'Multiple Virtual Line' # mvl + 192: 'Long Reach DSL' # reachDSL + 193: 'Frame Relay DLCI Endpoint' # frDlciEndPt + 194: 'ATM VCI Endpoint' # atmVciEndPt + 195: 'Optical Channel' # opticalChannel + 196: 'Optical Transport' # opticalTransport + 197: 'Proprietary ATM' # propAtm + 198: 'Voice over Cable' # voiceOverCable + 199: 'Infiniband' # infiniband + 200: 'TE Link' # teLink + 201: 'Q.2931' # q2931 + 202: 'Virtual Trunk Group' # virtualTg + 203: 'SIP Trunk Group' # sipTg + 204: 'SIP Signaling' # sipSig + 205: 'DOCS CATV Upstream Channel' # docsCableUpstreamChannel + 206: 'Econet' # econet + 207: 'FSAN 155Mb Symetrical PON' # pon155 + 208: 'FSAN 622Mb Symetrical PON' # pon622 + 209: 'Transparent Bridge' # bridge + 210: 'Line Group' # linegroup + 211: 'Voice E&M Feature Group D' # voiceEMFGD + 212: 'Voice FGD Exchange Access NA' # voiceFGDEANA + 213: 'Voice DID' # voiceDID + 214: 'MPEG Transport' # mpegTransport + 215: '6to4' # sixToFour + 216: 'GTP' # gtp + 217: 'Paradyne EtherLoop 1' # pdnEtherLoop1 + 218: 'Paradyne EtherLoop 2' # pdnEtherLoop2 + 219: 'Optical Channel Group' # opticalChannelGroup + 220: 'G.989 HomePNA' # homepna + 221: 'GFP' # gfp + 222: 'Cisco ISL Layer-2 VLAN' # ciscoISLvlan + 223: 'MetaLOOP High Speed' # actelisMetaLOOP + 224: 'FCIP' # fcipLink + 225: 'Resilient Packet Ring' # rpr + 226: 'Radio Frequency QAM' # qam + 227: 'Link Management Protocol' # lmp + 228: 'VectaStar' # cblVectaStar + 229: 'DOCS CATV Modular CMTS Downstream' # docsCableMCmtsDownstream + 230: 'ADSL2' # adsl2 + 231: 'MACSec Controlled' # macSecControlledIF + 232: 'MACSec Uncontrolled' # macSecUncontrolledIF + 233: 'Avici Optical Ethernet Aggregate' # aviciOpticalEther + 234: 'ATM Bonding' # atmbond + 235: 'Voice FGD Operator Services' # voiceFGDOS + 236: 'MoCA' # mocaVersion1 + 237: '802.16 WMAN' # ieee80216WMAN + 238: 'ADSL2 Plus' # adsl2plus + 239: 'DVB-RCS MAC Layer' # dvbRcsMacLayer + 240: 'DVB Satellite TDM' # dvbTdm + 241: 'DVB-RCS TDMA' # dvbRcsTdma + 242: 'X.86 Ethernet over LAPS' # x86Laps + 243: '3GPP WWAN' # wwanPP + 244: '3GPP2 WWAN' # wwanPP2 + 245: 'Voice P-Phone EBS' # voiceEBS + 246: 'Pseudowire' # ifPwType + 247: '802.1ap VLAN Bridge' # ilan + 248: '802.1ah PBB Provider Instance Port' # pip + 249: 'ALU Ethernet Link Protection' # aluELP + 250: 'G.948 G-PON' # gpon + 251: 'VDSL2' # vdsl2 + 252: '802.11 CAPWAP Profile' # capwapDot11Profile + 253: '802.11 CAPWAP BSS' # capwapDot11Bss + 254: '802.11 CAPWAP WTP Virtual Radio' # capwapWtpVirtualRadio + 255: 'BITS Port' # bits + 256: 'DOCS CATV Upstream RF' # docsCableUpstreamRfPort + 257: 'DOCS CATV Downstream RF' # cableDownstreamRfPort + 258: 'VMware Virtual NIC' # vmwareVirtualNic + 259: '802.15.4 WPAN' # ieee802154 + 260: 'OTN Optical Data Unit' # otnOdu + 261: 'OTN Optical Channel Transport Unit' # otnOtu + 262: 'VPLS Forwarding Instance' # ifVfiType + 263: 'G.998.1 ATM Multi-Pair Bonding' # g9981 + 264: 'G.998.2 Ethernet Multi-Pair Bonding' # g9982 + 265: 'G.998.3 TDIM Multi-Pair Bonding' # g9983 + 266: 'E-PON' # aluEpon + 267: 'E-PON Optical Network Unit' # aluEponOnu + 268: 'E-PON Physical UNI' # aluEponPhysicalUni + 269: 'E-PON Point-to-Point Emulation' # aluEponLogicalLink + 270: 'G-PON Optical Network Unit' # aluGponOnu + 271: 'G-PON Physical UNI' # aluGponPhysicalUni + 272: 'VMware NIC Team' # vmwareNicTeam + 277: 'DOCS CATV Downstream OFDM' # docsOfdmDownstream + 278: 'DOCS CATV Upstream OFDMA' # docsOfdmaUpstream + 279: 'G.fast' # gfast + 280: 'SDCI (IO-Link)' # sdci + 281: 'Xbox Wireless' # xboxWireless + 282: 'FastDSL' # fastdsl + 283: 'DOCS SCTE 55-1 OOB Forward Channel' # docsCableScte55d1FwdOob + 284: 'DOCS SCTE 55-1 OOB Return Channel' # docsCableScte55d1RetOob + 285: 'DOCS SCTE 55-2 OOB Downstream Channel' # docsCableScte55d2DsOob + 286: 'DOCS SCTE 55-2 OOB Upstream Channel' # docsCableScte55d2UsOob + 287: 'DOCS Narrowband Digital Forward' # docsCableNdf + 288: 'DOCS Narrowband Digital Return' # docsCableNdr + 289: 'Packet Transfer Mode' # ptm + 290: 'G.hn Port' # ghn + 291: 'Optical Tributary Signal' # otnOtsi + 292: 'OTN OTUCn' # otnOtuc + 293: 'OTN ODUC' # otnOduc + 294: 'OTN ODUC Signal' # otnOtsig + 295: 'Microwave Carrier Termination' # microwaveCarrierTermination + 296: 'Microwave Radio Link Terminal' # microwaveRadioLinkTerminal + 297: '802.1AX DRNI' # ieee8021axDrni - Distributed Resilient Network Interface + 298: 'AX.25' # ax25 + 299: 'IEEE 1906.1' # ieee19061nanocom - Nanoscale and Molecular Communication + 300: 'Common Public Radio' # cpri + 301: 'Overlay Multilink Network' # omni + 302: 'Radio over Ethernet' # roe + 303: 'Point to Point over LAN' # p2pOverLan + # DMTF CIM::Core::Service + 4095: 'IPv4' # IPv4 + 4096: 'IPv6' # IPv6 + 4097: 'IPv4/v6' # IPv4v6 + 4098: 'IPX' # IPX + 4099: 'DECnet' # DECnet + 4100: 'SNA' # SNA + 4101: 'CONP' # CONP + 4102: 'CLNP' # CLNP + 4103: 'VINES' # VINES + 4104: 'XNS' # XNS + 4105: 'ISDN B Channel Endpoint' # IsdnBChanEndpoint + 4106: 'ISDN D Channel Endpoint' # IsdnDChanEndpoint + 4107: 'BGP' # BGP + 4108: 'OSPF' # OSPF + 4109: 'UDP' # UDP + 4110: 'TCP' # TCP + 4111: '802.11a' # 80211a + 4112: '802.11b' # 80211b + 4113: '802.11g' # 80211g + 4114: '802.11h' # 80211h + 4115: 'NFS' # NFS + 4200: 'CIFS' # CIFS + 4201: 'DAFS' # DAFS + 4202: 'WebDAV' # WebDAV + 4203: 'HTTP' # HTTP + 4204: 'FTP' # FTP + 4205: 'NDMP' # NDMP + 4300: 'Telnet' # Telnet + 4400: 'SSH' # SSH + 4401: 'SM CLP' # SmClp + 4402: 'SMTP' # SMTP + 4403: 'LDAP' # LDAP + 4404: 'RDP' # RDP + 4405: 'HTTPS' # HTTPS + 4406: 'DMTF Reserved' # DMTFReserved + # Vendor-specific + 32768: 'Vendor Reserved' # VendorReserved # isdnEndpointTeiType .1.3.6.1.2.1.10.20.1.4.2.1.4: - 1: dynamic - 2: static + 1: 'dynamic' # dynamic + 2: 'static' # static diff --git a/enums/integer/ietf/L2TP-MIB.yml b/enums/integer/ietf/L2TP-MIB.yml new file mode 100644 index 00000000..2241eca3 --- /dev/null +++ b/enums/integer/ietf/L2TP-MIB.yml @@ -0,0 +1,4 @@ +# l2tpTunnelStatsInitiated +.1.3.6.1.2.1.10.95.1.5.1.4: + 1: 'locally' # locally + 2: 'remotely' # remotely diff --git a/enums/integer/ietf/MPLS-LSR-STD-MIB.yml b/enums/integer/ietf/MPLS-LSR-STD-MIB.yml index b11ef152..b92b311b 100644 --- a/enums/integer/ietf/MPLS-LSR-STD-MIB.yml +++ b/enums/integer/ietf/MPLS-LSR-STD-MIB.yml @@ -6,7 +6,7 @@ 3: 'NSAP' # nsap - NSAP 4: 'HDLC' # hdlc - HDLC (8-bit multidrop) 5: 'BBN 1822' # bbn1822 - BBN 1822 - 6: '802' # all802 - 802 (includes all 802 media plus Ethernet 'canonical format") + 6: '802' # all802 - 802 (includes all 802 media plus Ethernet 'canonical format') 7: 'E.163' # e163 - E.163 8: 'E.164' # e164 - E.164 (SMDS, Frame Relay, ATM) 9: 'F.69' # f69 - F.69 (Telex) diff --git a/enums/integer/ietf/MPLS-OAM-ID-STD-MIB.yml b/enums/integer/ietf/MPLS-OAM-ID-STD-MIB.yml new file mode 100644 index 00000000..9e26ca45 --- /dev/null +++ b/enums/integer/ietf/MPLS-OAM-ID-STD-MIB.yml @@ -0,0 +1,4 @@ +# mplsOamIdMegOperStatus +.1.3.6.1.2.1.10.166.21.1.2.1.10: + 1: up + 2: down diff --git a/enums/integer/ietf/OSPFV3-MIB.yml b/enums/integer/ietf/OSPFV3-MIB.yml index 99c92d8a..a08a5b19 100644 --- a/enums/integer/ietf/OSPFV3-MIB.yml +++ b/enums/integer/ietf/OSPFV3-MIB.yml @@ -147,3 +147,25 @@ .1.3.6.1.2.1.191.1.12.1.7: 1: 'advertise matching' # advertiseMatching 2: 'do not advertise matching' # doNotAdvertiseMatching + +# ospfv3ConfigErrorType +.1.3.6.1.2.1.191.1.14.1: + 1: 'bad version' # badVersion + 2: 'area mismatch' # areaMismatch + 3: 'unknown NBMA neighbor' # unknownNbmaNbr + 4: 'unknown virtual neighbor' # unknownVirtualNbr + 5: 'hello interval mismatch' # helloIntervalMismatch + 6: 'dead interval mismatch' # deadIntervalMismatch + 7: 'option mismatch' # optionMismatch + 8: 'MTU mismatch' # mtuMismatch + 9: 'duplicate router ID' # duplicateRouterId + 10: 'no error' # noError + +# ospfv3PacketType +.1.3.6.1.2.1.191.1.14.2: + 1: 'hello' # hello + 2: 'database descriptor' # dbDescript + 3: 'link-state request' # lsReq + 4: 'link-state update' # lsUpdate + 5: 'link-state acknowledgement' # lsAck + 6: 'null' # nullPacket diff --git a/enums/integer/ietf/TRILL-OAM-MIB.yml b/enums/integer/ietf/TRILL-OAM-MIB.yml new file mode 100644 index 00000000..08900f65 --- /dev/null +++ b/enums/integer/ietf/TRILL-OAM-MIB.yml @@ -0,0 +1,6 @@ +# trillOamMepDbFlowState +.1.3.6.1.2.1.238.1.1.5.1.3: + 1: 'idle' # rMepIdle - Momentary state during reset. + 2: 'start' # rMepStart - The timer has not expired since the state machine was reset, and no valid CCM has yet been received. + 3: 'failed' # rMepFailed - The timer has expired, both since the state machine was reset, and since a valid CCM was received. + 4: 'OK' # rMepOk - The timer has not expired since a valid CCM was received. diff --git a/enums/integer/juniper/JUNIPER-L2CP-FEATURES-MIB.yml b/enums/integer/juniper/JUNIPER-L2CP-FEATURES-MIB.yml new file mode 100644 index 00000000..8a9d1748 --- /dev/null +++ b/enums/integer/juniper/JUNIPER-L2CP-FEATURES-MIB.yml @@ -0,0 +1,14 @@ +# jnxDot1dStpPortRootProtectState +.1.3.6.1.4.1.2636.3.53.1.1.1.1.1.2: + 0: 'no error' + 1: 'root prevented' + +# jnxDot1dStpPortLoopProtectState +.1.3.6.1.4.1.2636.3.53.1.1.1.1.1.4: + 0: 'no error' + 1: 'loop prevented' + +# jnxL2cpPortBpduError +.1.3.6.1.4.1.2636.3.53.1.1.2.1.1.2: + 0: 'no error' + 1: 'detected' diff --git a/enums/integer/juniper/MCAST-VPN-MIB.yml b/enums/integer/juniper/MCAST-VPN-MIB.yml new file mode 100644 index 00000000..e37ba2cc --- /dev/null +++ b/enums/integer/juniper/MCAST-VPN-MIB.yml @@ -0,0 +1,6 @@ +# jnxMvpnGenOperStatusChange +.1.3.6.1.4.1.2636.5.12.1.1.2.1.1.1: + 1: 'MVRF created' # createdMvrf + 2: 'MVRF deleted' # deletedMvrf + 3: 'MVRF I-PMSI configuration modified' # modifiedMvrfIpmsiConfig + 4: 'MVRF S-PMSI configuration modified' # modifiedMvrfSpmsiConfig diff --git a/enums/integer/juniper/OSPFV3-MIB-JUNIPER.yml b/enums/integer/juniper/OSPFV3-MIB-JUNIPER.yml index 1c293888..18f05a86 100644 --- a/enums/integer/juniper/OSPFV3-MIB-JUNIPER.yml +++ b/enums/integer/juniper/OSPFV3-MIB-JUNIPER.yml @@ -1,4 +1,4 @@ -# jnxOspfv3AdminStat +# jnxOspfv3AdminState .1.3.6.1.4.1.2636.5.4.1.1.1.2: 1: 'enabled' # enabled 2: 'disabled' # disabled @@ -89,7 +89,13 @@ # jnxOspfv3VirtIfState .1.3.6.1.4.1.2636.5.4.1.1.8.1.9: 1: 'down' # down - 2: 'point-to-point' # pointToPoint + 2: 'loopback' # loopback + 3: 'waiting' # waiting + 4: 'point-to-point' # pointToPoint + 5: 'designated router' # designatedRouter + 6: 'backup designated router' # backupDesignatedRouter + 7: 'other designated router' # otherDesignatedRouter + 8: 'standby' # standby # jnxOspfv3NbrState .1.3.6.1.4.1.2636.5.4.1.1.9.1.8: @@ -138,3 +144,35 @@ 3: 'completed' # completed 4: 'timed-out' # timedOut 5: 'topology changed' # topologyChanged + +# jnxOspfv3AreaAggregateAreaLsdbType +.1.3.6.1.4.1.2636.5.4.1.1.12.1.2: + 8195: 'inter-area prefix LSA' # interAreaPrefixLsa + 8199: 'NSSA external LSA' # nssaExternalLsa + +# jnxOspfv3AreaAggregateEffect +.1.3.6.1.4.1.2636.5.4.1.1.12.1.8: + 1: 'advertise matching' # advertiseMatching + 2: 'do not advertise matching' # doNotAdvertiseMatching + +# jnxOspfv3ConfigErrorType +.1.3.6.1.4.1.2636.5.4.1.1.13.1: + 1: 'bad version' # badVersion + 2: 'area mismatch' # areaMismatch + 3: 'unknown NBMA neighbor' # unknownNbmaNbr + 4: 'unknown virtual neighbor' # unknownVirtualNbr + 5: 'hello interval mismatch' # helloIntervalMismatch + 6: 'dead interval mismatch' # deadIntervalMismatch + 7: 'option mismatch' # optionMismatch + 8: 'MTU mismatch' # mtuMismatch + 9: 'duplicate router ID' # duplicateRouterId + 10: 'no error' # noError + +# jnxOspfv3PacketType +.1.3.6.1.4.1.2636.5.4.1.1.13.2: + 1: 'hello' # hello + 2: 'database descriptor' # dbDescript + 3: 'link-state request' # lsReq + 4: 'link-state update' # lsUpdate + 5: 'link-state acknowledgement' # lsAck + 6: 'null' # nullPacket diff --git a/objects/sonicwall/SNWL-COMMON-MIB.yml b/objects/sonicwall/SNWL-COMMON-MIB.yml index cb4eecdd..6869c1b3 100644 --- a/objects/sonicwall/SNWL-COMMON-MIB.yml +++ b/objects/sonicwall/SNWL-COMMON-MIB.yml @@ -13,11 +13,11 @@ SNWL-COMMON-MIB::snwlSys: syntax: DisplayString snwlSysFirmwareVersion: oid: .1.3.6.1.4.1.8741.2.1.1.3 - name: sonicwall.system.firmware.version.ver" + name: sonicwall.system.firmware.version.ver syntax: DisplayString snwlSysROMVersion: oid: .1.3.6.1.4.1.8741.2.1.1.4 - name: sonicwall.system.rom.version.ver" + name: sonicwall.system.rom.version.ver syntax: DisplayString snwlSysAssetNumber: oid: .1.3.6.1.4.1.8741.2.1.1.5 diff --git a/traps/enterprises.yml b/traps/enterprises.yml index 8fa5496f..f6f584b6 100644 --- a/traps/enterprises.yml +++ b/traps/enterprises.yml @@ -2,30 +2,51 @@ unsupported: unsupported.yml # IEEE +.1.0.8802.1.1.2.0: ieee/LLDP-MIB-lldpNotifications.yml .1.2.840.10036.1.6: ieee/IEEE802dot11-MIB-dot11SMTnotification.yml +.1.3.111.2.802.1.1.13.0: ieee/LLDP-V2-MIB-lldpV2Notifications.yml # IETF .1.3.6.1.2.1.10.18.15: ietf/DS1-MIB-ds1Traps.yml +.1.3.6.1.2.1.10.20.2: ietf/ISDN-MIB-isdnMibTrapPrefix.yml .1.3.6.1.2.1.10.30.15: ietf/DS3-MIB-ds3Traps.yml .1.3.6.1.2.1.10.32: ietf/FRAME-RELAY-DTE-MIB-frameRelayDTE.yml +.1.3.6.1.2.1.10.95: ietf/L2TP-MIB-l2tp.yml +.1.3.6.1.2.1.10.166.13: ietf/GMPLS-TE-STD-MIB-gmplsTeStdMIB.yml +.1.3.6.1.2.1.10.166.21: ietf/MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB.yml +.1.3.6.1.2.1.10.275: ietf/VPLS-LDP-MIB-vplsLdpMIB.yml .1.3.6.1.2.1.14.16: ietf/OSPF-TRAP-MIB-ospfTraps.yml .1.3.6.1.2.1.14.16.2: ietf/OSPF-TRAP-MIB-ospfTraps.yml .1.3.6.1.2.1.15: ietf/BGP4-MIB-bgp.yml .1.3.6.1.2.1.15.7: ietf/BGP4-MIB-bgpTraps.yml .1.3.6.1.2.1.17: ietf/BRIDGE-MIB-dot1dBridge.yml +.1.3.6.1.2.1.10.21.2: ietf/DIAL-CONTROL-MIB-dialControlMibTrapPrefix.yml .1.3.6.1.2.1.26: ietf/MAU-MIB-snmpDot3MauMgt.yml +.1.3.6.1.2.1.33.2: ietf/UPS-MIB-upsTraps.yml .1.3.6.1.2.1.43.18.2: ietf/Printer-MIB-printerV1Alert.yml +.1.3.6.1.2.1.47.2: ietf/ENTITY-MIB-entityMIBTraps.yml .1.3.6.1.2.1.55.2: ietf/IPV6-MIB-ipv6Notifications.yml +.1.3.6.1.2.1.60.2: ietf/ACCOUNTING-CONTROL-MIB-acctngNotifications.yml +.1.3.6.1.2.1.63.2: ietf/DISMAN-SCHEDULE-MIB-schedNotifications.yml .1.3.6.1.2.1.68: ietf/VRRP-MIB-vrrpMIB.yml +.1.3.6.1.2.1.79.2: ietf/PTOPO-MIB-ptopoMIBNotifications.yml .1.3.6.1.2.1.88.2: ietf/DISMAN-EVENT-MIB-dismanEventMIBNotificationPrefix.yml +.1.3.6.1.2.1.122: ietf/TE-MIB-teMIB.yml .1.3.6.1.2.1.123: ietf/NAT-MIB-natMIB.yml .1.3.6.1.2.1.137: ietf/T11-FC-FABRIC-ADDR-MGR-MIB-t11FcFabricAddrMgrMIB.yml +.1.3.6.1.2.1.191: ietf/OSPFV3-MIB-ospfv3MIB.yml .1.3.6.1.2.1.207: ietf/VRRPV3-MIB-vrrpv3MIB.yml .1.3.6.1.2.1.214: ietf/RBRIDGE-MIB-rbridgeMIB.yml +.1.3.6.1.2.1.222: ietf/BFD-STD-MIB-bfdMIB.yml +.1.3.6.1.2.1.229: ietf/ENERGY-OBJECT-MIB-energyObjectMib.yml +.1.3.6.1.2.1.238: ietf/TRILL-OAM-MIB-trillOamMib.yml +.1.3.6.1.3.61.1: ietf/PIM-MIB-pimMIBObjects.yml # Cisco .1.3.6.1.4.1.9.9.43.2: cisco/CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix.yml +.1.3.6.1.4.1.9.9.46.2: cisco/CISCO-VTP-MIB-vtpNotifications.yml .1.3.6.1.4.1.9.9.96.2.1: cisco/CISCO-CONFIG-COPY-MIB-ccCopyMIBTraps.yml +.1.3.6.1.4.1.9.9.187: cisco/CISCO-BGP4-MIB-ciscoBgp4MIB.yml # Brocade .1.3.6.1.4.1.1588.2.1.1.1: brocade/SW-MIB-sw.yml @@ -34,8 +55,13 @@ unsupported: unsupported.yml .1.3.6.1.4.1.2021.251: ucdavis/UCD-SNMP-MIB-ucdTraps.yml # Juniper +.1.3.6.1.4.1.2636.3.3.3: juniper/JUNIPER-IF-MIB-ifJnxNotification.yml +.1.3.6.1.4.1.2636.3.26: juniper/JUNIPER-VPN-MIB-jnxVpnMIB.yml +.1.3.6.1.4.1.2636.3.40.1.7.2: juniper/JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications.yml .1.3.6.1.4.1.2636.3.45.1: juniper/JUNIPER-BFD-MIB-jnxBfdMib.yml .1.3.6.1.4.1.2636.3.52.1.0: juniper/JUNIPER-IPSEC-FLOW-MON-MIB-jnxIpSecFlowMonNotifications.yml +.1.3.6.1.4.1.2636.3.53.1.2: juniper/JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications.yml +.1.3.6.1.4.1.2636.3.53.1.2.1: juniper/JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix.yml .1.3.6.1.4.1.2636.3.69.2: juniper/JUNIPER-JVAE-NODE-MIB-jnxJVAENodeMIB.yml .1.3.6.1.4.1.2636.4.1: juniper/JUNIPER-MIB-jnxChassisTraps.yml .1.3.6.1.4.1.2636.4.2: juniper/JUNIPER-MIB-jnxChassisOKTraps.yml @@ -48,6 +74,10 @@ unsupported: unsupported.yml .1.3.6.1.4.1.2636.4.34: juniper/JUNIPER-MIB-jnxAsicExtMemOKTraps.yml .1.3.6.1.4.1.2636.4.35: juniper/JUNIPER-MIB-jnxPoeTraps.yml .1.3.6.1.4.1.2636.4.36: juniper/JUNIPER-MIB-jnxPoeOKTraps.yml +.1.3.6.1.4.1.2636.5.1.1.1: juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars.yml +.1.3.6.1.4.1.2636.5.4.1: juniper/OSPFV3-MIB-JUNIPER-jnxOspfv3MIB.yml +.1.3.6.1.4.1.2636.5.9: juniper/VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB.yml +.1.3.6.1.4.1.2636.5.12.1: juniper/MCAST-VPN-MIB-jnxMvpnMIB.yml # F5 .1.3.6.1.4.1.3375.1.1.110.2: f5/LOAD-BAL-SYSTEM-MIB-loadBalTraps.yml @@ -70,320 +100,48 @@ unsupported: unsupported.yml .1.3.6.1.4.1.12356.102.0: fortinet/FORTINET-FORTIANALYZER-MIB-faTraps.yml .1.3.6.1.4.1.12356.105: fortinet/FORTINET-FORTIMAIL-MIB-fnFortiMailMib.yml +# Mikrotik +.1.3.6.1.4.1.14988.1.1.9: mikrotik/MIKROTIK-MIB-mtxrTraps.yml + # Palo Alto Networks .1.3.6.1.4.1.25461.2.1.3.2: paloalto/PAN-TRAPS-panCommonEventEvents.yml # H3C/Comware .1.3.6.1.4.1.25506.2.3.2: h3c/HH3C-SYS-MAN-MIB-hh3cSystemManMIBNotifications.yml +# Arista +.1.3.6.1.4.1.30065.4.1: arista/ARISTA-BGP4V2-MIB-aristaBgp4V2.yml + # DRAFTS -.1.3.6.1.2.1.1.9.7.1: hp/TapeAlert-MIB-tapeAlert.yml -.1.3.6.1.2.1.1.11.1.2: hitachi/Hitachi-DF-RAID-LAN-MIB-dfraidLan.yml .1.3.6.1.2.1.10.5: ietf/RFC1382-MIB-x25.yml -.1.3.6.1.2.1.10.20.2: ietf/ISDN-MIB-isdnMibTraps.yml -.1.3.6.1.2.1.10.21.2: ietf/DIAL-CONTROL-MIB-dialControlMibTraps.yml -.1.3.6.1.2.1.10.48: ietf/HDSL2-SHDSL-LINE-MIB-hdsl2ShdslNotifications.yml -.1.3.6.1.2.1.10.49.2: ietf/APS-MIB-apsNotificationsPrefix.yml -.1.3.6.1.2.1.10.94.1.2.1: ietf/ADSL-LINE-MIB-adslAtucTraps.yml -.1.3.6.1.2.1.10.94.1.2.2: ietf/ADSL-LINE-MIB-adslAturTraps.yml -.1.3.6.1.2.1.10.166.2: ietf/MPLS-LSR-STD-MIB-mplsLsrNotifications.yml -.1.3.6.1.2.1.10.166.3: ietf/MPLS-TE-STD-MIB-mplsTeNotifications.yml .1.3.6.1.2.1.16: ietf/RMON-MIB-rmonEventsV2.yml -.1.3.6.1.2.1.16.29.2: ietf/HC-ALARM-MIB-hcAlarmNotifPrefix.yml .1.3.6.1.2.1.22: ietf/SNMP-REPEATER-MIB-snmpDot3RptrMgt.yml -.1.3.6.1.2.1.33.2: ietf/UPS-MIB-upsTraps.yml -.1.3.6.1.2.1.39.2: ietf/RDBMS-MIB-rdbmsTraps.yml .1.3.6.1.2.1.44.2: ietf/MIP-MIB-mipMIBNotifications.yml -.1.3.6.1.2.1.46.1: ietf/DLSW-MIB-dlswTraps.yml -.1.3.6.1.2.1.47.2: ietf/ENTITY-MIB-entityMIBTrapPrefix.yml -.1.3.6.1.2.1.51.3: ietf/RSVP-MIB-rsvpNotifications.yml -.1.3.6.1.2.1.60.2: ietf/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml -.1.3.6.1.2.1.63.2: ietf/DISMAN-SCHEDULE-MIB-schedTraps.yml -.1.3.6.1.2.1.64.2: ietf/DISMAN-SCRIPT-MIB-smTraps.yml -.1.3.6.1.2.1.80: ietf/DISMAN-PING-MIB-pingNotifications.yml -.1.3.6.1.2.1.81: ietf/DISMAN-TRACEROUTE-MIB-traceRouteNotifications.yml -.1.3.6.1.2.1.83.1.2: ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmTraps.yml -.1.3.6.1.2.1.83.1.3: ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmtsTraps.yml -.1.3.6.1.2.1.8888: ietf/FIBRE-CHANNEL-MGMT-MIB-fcMgmtNotifications.yml .1.3.6.1.3.62.1.1.11: ietf/DVMRP-MIB-dvmrpTraps.yml .1.3.6.1.3.90.2: ietf/XGCP-MIB-xgcpNotifications.yml -.1.3.6.1.3.92.1.1: ietf/MSDP-MIB-msdpTraps.yml -.1.3.6.1.3.94: ietf/FCMGMT-MIB-fcmgmt.yml -.1.3.6.1.3.118: ietf/MPLS-VPN-MIB-mplsVpnNotifications.yml -.1.3.6.1.4.1.2.6.135: ibm/IBMADSM-MIB-ibmAdsm.yml -.1.3.6.1.4.1.2.6.167.2: ibm/IBM-SERVERAID-MIB-ibmServeRaidMIB.yml -.1.3.6.1.4.1.9: cisco/CISCOTRAP-MIB-cisco.yml .1.3.6.1.4.1.9.2.11.1: cisco/CISCO-FASTHUB-MIB-ciscoFastHubMIBObjects.yml -.1.3.6.1.4.1.9.5: cisco/CISCO-STACK-MIB-ciscoStackNotificationsPrefix.yml -.1.3.6.1.4.1.9.5.11.2: cisco/CISCO-RHINO-MIB-ciscoLS1010ChassisMIBNotifications.yml .1.3.6.1.4.1.9.5.14.1.1: cisco/CISCO-ES-STACK-MIB-ciscoEsConfig.yml -.1.3.6.1.4.1.9.5.14.2: cisco/CISCO-ES-STACK-MIB-ciscoEsStack.yml -.1.3.6.1.4.1.9.5.14.4: cisco/CISCO-ES-STACK-MIB-ciscoEsPort.yml -.1.3.6.1.4.1.9.5.14.6: cisco/CISCO-ES-STACK-MIB-ciscoEsEChannel.yml -.1.3.6.1.4.1.9.5.14.8: cisco/CISCO-ES-STACK-MIB-ciscoEsVLANs.yml -.1.3.6.1.4.1.9.5.32.1.1: cisco/CISCO-TS-STACK-MIB-ciscoTsConfig.yml -.1.3.6.1.4.1.9.5.32.2: cisco/CISCO-TS-STACK-MIB-ciscoTsStack.yml -.1.3.6.1.4.1.9.5.32.4: cisco/CISCO-TS-STACK-MIB-ciscoTsPort.yml -.1.3.6.1.4.1.9.5.32.6: cisco/CISCO-TS-STACK-MIB-ciscoTsVLANS.yml -.1.3.6.1.4.1.9.5.32.7: cisco/CISCO-TS-STACK-MIB-ciscoTsTChannel.yml -.1.3.6.1.4.1.9.9.10.1.3: cisco/CISCO-FLASH-MIB-ciscoFlashMIBTraps.yml -.1.3.6.1.4.1.9.9.16.2: cisco/CISCO-PING-MIB-ciscoPingMIBTraps.yml -.1.3.6.1.4.1.9.9.18.2: cisco/CISCO-ISDNU-IF-MIB-ciuIfMIBNotifications.yml -.1.3.6.1.4.1.9.9.20.1.5: cisco/CISCO-CHANNEL-MIB-cipCardTraps.yml -.1.3.6.1.4.1.9.9.22.3: cisco/CISCO-REPEATER-MIB-ciscoRptrMIBTraps.yml -.1.3.6.1.4.1.9.9.24.1.4.4: cisco/CISCO-DSPU-MIB-dspuPuTraps.yml -.1.3.6.1.4.1.9.9.24.1.5.3: cisco/CISCO-DSPU-MIB-dspuLuTraps.yml -.1.3.6.1.4.1.9.9.24.1.6.2: cisco/CISCO-DSPU-MIB-dspuSapTraps.yml -.1.3.6.1.4.1.9.9.26.2: cisco/CISCO-ISDN-MIB-ciscoIsdnMibTraps.yml -.1.3.6.1.4.1.9.9.28.2: cisco/CISCO-SDLLC-MIB-convSdllcNotifications.yml -.1.3.6.1.4.1.9.9.29.2: cisco/CISCO-RSRB-MIB-rsrbNotifications.yml -.1.3.6.1.4.1.9.9.30.2: cisco/CISCO-STUN-MIB-stunNotifications.yml -.1.3.6.1.4.1.9.9.33.2: cisco/CISCO-CIPCSNA-MIB-cipCsnaNotifications.yml -.1.3.6.1.4.1.9.9.35.2: cisco/CISCO-BSTUN-MIB-bstunNotifications.yml -.1.3.6.1.4.1.9.9.41.2: cisco/CISCO-SYSLOG-MIB-ciscoSyslogMIBNotifications.yml -.1.3.6.1.4.1.9.9.42.2: cisco/CISCO-RTTMON-MIB-rttMonNotifications.yml -.1.3.6.1.4.1.9.9.44.3: cisco/CISCO-ICSUDSU-MIB-ciscoICsuDsuMIBNotifications.yml -.1.3.6.1.4.1.9.9.46.2: cisco/CISCO-VTP-MIB-vtpNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.52.2: cisco/CISCO-IP-ENCRYPTION-MIB-cieMIBTraps.yml -.1.3.6.1.4.1.9.9.61.2: cisco/CISCO-ACCESS-ENVMON-MIB-caemMIBNotifications.yml -.1.3.6.1.4.1.9.9.63.2: cisco/CISCO-VOICE-DIAL-CONTROL-MIB-cvdcMIBNotifications.yml .1.3.6.1.4.1.9.9.68.2: cisco/CISCO-VLAN-MEMBERSHIP-MIB-vmNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.72.2: cisco/CISCO-CIPCMPC-MIB-cipCmpcNotifications.yml -.1.3.6.1.4.1.9.9.74.2: cisco/CISCO-DLSW-EXT-MIB-cdeTraps.yml -.1.3.6.1.4.1.9.9.82.2: cisco/CISCO-STP-EXTENSIONS-MIB-stpxNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.86.2: cisco/CISCO-DSP-MGMT-MIB-cdspMIBNotifications.yml -.1.3.6.1.4.1.9.9.87.2: cisco/CISCO-C2900-MIB-c2900MibNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.91.2: cisco/CISCO-ENTITY-SENSOR-MIB-entitySensorMIBNotifications.yml -.1.3.6.1.4.1.9.9.95.2: cisco/CISCO-ALPS-MIB-ciscoAlpsMIBNotifications.yml -.1.3.6.1.4.1.9.9.99.2: cisco/CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorMIBNotifications.yml -.1.3.6.1.4.1.9.9.105.2: cisco/CISCO-C8500-REDUNDANCY-MIB-ccrMIBNotifications.yml -.1.3.6.1.4.1.9.9.106.2: cisco/CISCO-HSRP-MIB-cHsrpMIBNotifications.yml -.1.3.6.1.4.1.9.9.116.2: cisco/CISCO-DOCS-EXT-MIB-ciscoDocsExtNotifications.yml -.1.3.6.1.4.1.9.9.117.2: cisco/CISCO-ENTITY-FRU-CONTROL-MIB-cefcMIBNotifications.yml -.1.3.6.1.4.1.9.9.120.2: cisco/CISCO-NETWORK-REGISTRAR-MIB-ciscoNetRegMIBNotifications.yml -.1.3.6.1.4.1.9.9.126: cisco/CISCO-SONET-MIB-ciscoSonetMIBNotifs.yml .1.3.6.1.4.1.9.9.131.2: cisco/CISCO-SYSTEM-MIB-ciscoSystemMIBNotifications.yml -.1.3.6.1.4.1.9.9.134.2: cisco/CISCO-CLUSTER-MIB-ciscoClusterMIBNotifications.yml -.1.3.6.1.4.1.9.9.136.2.2: cisco/CISCO-WIRELESS-IF-MIB-cwrRadioDevTraps.yml -.1.3.6.1.4.1.9.9.136.2.3: cisco/CISCO-WIRELESS-IF-MIB-cwrRadioThreshTraps.yml .1.3.6.1.4.1.9.9.138.2: cisco/CISCO-ENTITY-ALARM-MIB-ciscoEntityAlarmMIBNotifications.yml -.1.3.6.1.4.1.9.9.147.2: cisco/CISCO-FIREWALL-MIB-ciscoFirewallMIBNotifications.yml -.1.3.6.1.4.1.9.9.156.2: cisco/CISCO-CCM-MIB-ccmMIBNotifications.yml -.1.3.6.1.4.1.9.9.161.2: cisco/CISCO-SLB-MIB-ciscoSlbMIBNotifications.yml -.1.3.6.1.4.1.9.9.163.2: cisco/CISCO-CALL-TRACKER-MIB-cctMIBNotifications.yml -.1.3.6.1.4.1.9.9.169.2: cisco/CISCO-WIRELESS-DOCS-EXT-MIB-ciscoWirelessDocsExtNotifications.yml -.1.3.6.1.4.1.9.9.170.2: cisco/CISCO-WIRELESS-P2MP-PHY-MIB-p2mpPhyMIBNotification.yml -.1.3.6.1.4.1.9.9.171.2: cisco/CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecMIBNotifications.yml -.1.3.6.1.4.1.9.9.174: cisco/CISCO-MOBILE-IP-MIB-ciscoMobileIpMIBNotifications.yml -.1.3.6.1.4.1.9.9.176.2: cisco/CISCO-RF-MIB-ciscoRFMIBNotifications.yml -.1.3.6.1.4.1.9.9.178.2: cisco/CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineMIBNotifications.yml -.1.3.6.1.4.1.9.9.180.3.2: cisco/CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpRfMetricsMIBNotification.yml -.1.3.6.1.4.1.9.9.184.2: cisco/CISCO-PIM-MIB-ciscoPimMIBNotifications.yml -.1.3.6.1.4.1.9.9.187: cisco/CISCO-BGP4-MIB-ciscoBgp4NotifyPrefix.yml -.1.3.6.1.4.1.9.9.190.2: cisco/CISCO-VOICE-APPS-MIB-ciscoVoiceAppsMIBNotifications.yml -.1.3.6.1.4.1.9.9.194.2: cisco/CISCO-PPPOE-MIB-ciscoPppoeMIBNotification.yml -.1.3.6.1.4.1.9.9.202.2: cisco/CISCO-OSCP-MIB-ciscoOscpNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.215.2: cisco/CISCO-MAC-NOTIFICATION-MIB-cmnMIBNotifications.yml .1.3.6.1.4.1.9.9.216.2: cisco/CISCO-CONTENT-NETWORK-MIB-ccnNotifications.yml -.1.3.6.1.4.1.9.9.218.2: cisco/CISCO-IF-THRESHOLD-MIB-cifthMIBNotificationsPrefix.yml -.1.3.6.1.4.1.9.9.232.0: cisco/CISCO-ITP-SP-MIB-cItpSpNotifications.yml -.1.3.6.1.4.1.9.9.233.0: cisco/CISCO-ITP-SCCP-MIB-cItpSccpNotifications.yml -.1.3.6.1.4.1.9.9.259: cisco/CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeMIBNotifs.yml -.1.3.6.1.4.1.9.9.268: cisco/CISCO-WLAN-VLAN-MIB-ciscoWlanVlanMIBNotifications.yml -.1.3.6.1.4.1.9.9.282.1.3: cisco/CISCO-VSAN-MIB-vsanNotifications.yml .1.3.6.1.4.1.9.9.286.1.2.1: cisco/CISCO-WWNMGR-MIB-wwnmNotificationPrefix.yml .1.3.6.1.4.1.9.9.287.3: cisco/CISCO-FSPF-MIB-fspfNotification.yml -.1.3.6.1.4.1.9.9.289.1.3: cisco/CISCO-FC-FE-MIB-cffFcFeNotifications.yml -.1.3.6.1.4.1.9.9.290.1.3: cisco/CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfNotifications.yml -.1.3.6.1.4.1.9.9.292.1.4: cisco/CISCO-RSCN-MIB-rscnNotifications.yml -.1.3.6.1.4.1.9.9.293.1.4: cisco/CISCO-NS-MIB-fcNameServerNotifications.yml -.1.3.6.1.4.1.9.9.294.1.4: cisco/CISCO-ZS-MIB-zoneNotifications.yml -.1.3.6.1.4.1.9.9.295.1.3: cisco/CISCO-FCPING-MIB-fcPingNotifications.yml -.1.3.6.1.4.1.9.9.296.1.3: cisco/CISCO-FCTRACEROUTE-MIB-fcTraceRouteNotifications.yml -.1.3.6.1.4.1.9.9.297.1.4: cisco/CISCO-FCS-MIB-fcsNotifications.yml .1.3.6.1.4.1.9.9.299.1.2: cisco/CISCO-EXT-SCSI-MIB-ciscoExtScsiNotifications.yml -.1.3.6.1.4.1.9.9.300: cisco/CISCO-CALLHOME-MIB-ccmCallHomeNotifications.yml -.1.3.6.1.4.1.9.9.302.1.3: cisco/CISCO-DM-MIB-dmNotification.yml -.1.3.6.1.4.1.9.9.305.1.3.5: cisco/CISCO-SYSTEM-EXT-MIB-cseHaNotificationPrefix.yml -.1.3.6.1.4.1.9.9.305.1.4.3: cisco/CISCO-SYSTEM-EXT-MIB-cseFailNotificationPrefix.yml -.1.3.6.1.4.1.9.9.305.1.7.2: cisco/CISCO-SYSTEM-EXT-MIB-cseMaintModeNotificationPrefix.yml -.1.3.6.1.4.1.9.9.334: cisco/CISCO-ITP-GRT-MIB-ciscoGrtNotifications.yml .1.3.6.1.4.1.9.9.358: cisco/CISCO-BBSM-MIB-ciscoBbsmNotifications.yml .1.3.6.1.4.1.9.9.365: cisco/CISCO-FCC-MIB-ciscoFCCMIBNotifs.yml -.1.3.6.1.4.1.9.9.439.0: cisco/CISCO-CCME-MIB-ccmeMIBNotifications.yml -.1.3.6.1.4.1.9.9.441: cisco/CISCO-SRST-MIB-ciscoSrstMIBNotifications.yml -.1.3.6.1.4.1.9.10.2.3.1: cisco/CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeatsNotifications.yml -.1.3.6.1.4.1.9.10.8.2: cisco/CISCO-SNA-LLC-MIB-snaLlcMIBNotifications.yml -.1.3.6.1.4.1.9.10.9.1.7: cisco/CISCO-DLSW-MIB-ciscoDlswTraps.yml -.1.3.6.1.4.1.9.10.15.2: cisco/CISCO-OAM-MIB-oamLoopbackPingMIBTraps.yml -.1.3.6.1.4.1.9.10.17.3: cisco/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml .1.3.6.1.4.1.9.10.27.2: cisco/CISCO-6400-CHASSIS-MIB-cisco6400ChassisMIBNotification.yml -.1.3.6.1.4.1.9.10.28.3: cisco/CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonMIBNotifications.yml .1.3.6.1.4.1.9.10.29.2.1: cisco/CISCO-IETF-ATM2-PVCTRAP-MIB-atmPvcTrapsPrefix.yml -.1.3.6.1.4.1.9.10.40.2: cisco/CISCO-GATEKEEPER-MIB-ciscoGatekeeperMIBNotifications.yml -.1.3.6.1.4.1.9.10.44.2: cisco/CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubNotificationsPrefix.yml .1.3.6.1.4.1.9.10.46.2: cisco/CISCO-SIBU-MANAGERS-MIB-ciscoSibuManagersNotificationsPrefix.yml .1.3.6.1.4.1.9.10.48.2: cisco/CISCO-GPRS-GTP-MIB-ciscoGprsGtpNotifs.yml -.1.3.6.1.4.1.9.10.56.2: cisco/CISCO-AAA-SERVER-MIB-cAAAServerMIBNotifications.yml .1.3.6.1.4.1.9.10.59.2: cisco/CISCO-DOCS-REMOTE-QUERY-MIB-ciscoDocsRQNotifications.yml .1.3.6.1.4.1.9.10.60.5: cisco/CISCO-SRP-MIB-srpTrapsNotifications.yml -.1.3.6.1.4.1.9.10.62.2: cisco/CISCO-IPSEC-MIB-cipsMIBNotifications.yml -.1.3.6.1.4.1.9.10.65.2: cisco/MPLS-LDP-MIB-mplsLdpNotificationPrefix.yml -.1.3.6.1.4.1.9.10.67.2: cisco/CISCO-OPTICAL-PATCH-MIB-cOPatchMIBNotifications.yml -.1.3.6.1.4.1.9.10.71.2: cisco/CISCO-APS-MIB-cApsNotificationsPrefix.yml -.1.3.6.1.4.1.9.10.73.2: cisco/CISCO-SP-MIB-ciscoSpMIBNotifications.yml -.1.3.6.1.4.1.9.10.93.2: cisco/CISCO-HC-ALARM-MIB-cHcAlarmNotifPrefix.yml -.1.3.6.1.4.1.9.10.94.2: cisco/CISCO-ISCSI-MIB-cIscsiNotificationsPrefix.yml -.1.3.6.1.4.1.9.10.95.2: cisco/CISCO-SCSI-MIB-ciscoScsiNotifications.yml -.1.3.6.1.4.1.9.14.1.2: cisco/CISCOWORKS-MIB-cwTraps.yml -.1.3.6.1.4.1.99.12.39.2: snmpresearch/SIFSMONITOR-MIB-siFsMonNotifications.yml -.1.3.6.1.4.1.106: emc_datageneral/DGCNAS-MIB-dataGeneral.yml -.1.3.6.1.4.1.188.93.1: ascom/UNEM_6_A-SNMP-release1.yml -.1.3.6.1.4.1.207: alliedtelesyn/ATMCCommon-MIB-alliedTelesyn.yml -.1.3.6.1.4.1.207.1.2: alliedtelesyn/ATI-MIB-repeater.yml -.1.3.6.1.4.1.207.8.1.20.3.11: alliedtelesyn/FH800u-MIB-atactDualHubMgt.yml -.1.3.6.1.4.1.207.8.4.4.3.1: alliedtelesyn/ALLIEDTELESYN-MIB-fanAndPs.yml -.1.3.6.1.4.1.207.8.4.4.3.4.1: alliedtelesyn/ALLIEDTELESYN-MIB-generalTemperature.yml -.1.3.6.1.4.1.207.8.4.4.3.4.2: alliedtelesyn/ALLIEDTELESYN-MIB-sbTemperature.yml -.1.3.6.1.4.1.207.8.4.4.3.4.3: alliedtelesyn/ALLIEDTELESYN-MIB-acceleratorTemperature.yml -.1.3.6.1.4.1.207.8.4.4.3.6: alliedtelesyn/ALLIEDTELESYN-MIB-bbrNvs.yml -.1.3.6.1.4.1.207.8.4.4.4.31: alliedtelesyn/ALLIEDTELESYN-MIB-flash.yml -.1.3.6.1.4.1.207.8.4.4.4.49: alliedtelesyn/ALLIEDTELESYN-MIB-install.yml -.1.3.6.1.4.1.207.8.4.4.4.53: alliedtelesyn/ALLIEDTELESYN-MIB-trigger.yml -.1.3.6.1.4.1.207.8.4.4.4.58: alliedtelesyn/ALLIEDTELESYN-MIB-ping.yml -.1.3.6.1.4.1.207.8.4.4.4.70: alliedtelesyn/ALLIEDTELESYN-MIB-dhcp.yml -.1.3.6.1.4.1.207.8.4.4.4.77: alliedtelesyn/ALLIEDTELESYN-MIB-firewall.yml -.1.3.6.1.4.1.207.8.4.4.4.87: alliedtelesyn/ALLIEDTELESYN-MIB-swi.yml -.1.3.6.1.4.1.207.8.4.4.4.109: alliedtelesyn/ALLIEDTELESYN-MIB-ds3module.yml -.1.3.6.1.4.1.207.8.9.2.2.5.6: alliedtelesyn/SWITCH-BRIDGE-MIB-switchBridgeTraps.yml .1.3.6.1.4.1.207.8.12.1.2: alliedtelesyn/ATKKNBSW-MIB-atkknbSwMib.yml -.1.3.6.1.4.1.207.8.12.2: alliedtelesyn/CENTRECOM-TRAP-MIB-extSwitchMIB.yml -.1.3.6.1.4.1.231.7.1.1.2.5: fujitsu_siemens/MLOS-MIB-almTraps.yml -.1.3.6.1.4.1.231.7.99.4: fujitsu_siemens/INC-MIB-AL-tiIncTraps.yml -.1.3.6.1.4.1.232: compaq/CPQHLTH-MIB-compaq.yml -.1.3.6.1.4.1.232.6: compaq/CPQHLTH-MIB-cpqHealth.yml -.1.3.6.1.4.1.232.141.3.2: compaq/CPQCR-MIB-cpqCrCntlrTrap.yml -.1.3.6.1.4.1.232.141.3.3: compaq/CPQCR-MIB-cpqCrLogDrvTrap.yml -.1.3.6.1.4.1.232.141.3.5: compaq/CPQCR-MIB-cpqCrPhyDrvTrap.yml -.1.3.6.1.4.1.232.141.3.7: compaq/CPQCR-MIB-cpqCrEMUTrap.yml -.1.3.6.1.4.1.232.141.3.8: compaq/CPQCR-MIB-cpqCrExpCabTrap.yml -.1.3.6.1.4.1.232.153: compaq/CPQCMC-MIB-cpqCmc.yml -.1.3.6.1.4.1.318: apc/PowerNet-MIB-apc.yml -.1.3.6.1.4.1.368: axis/AXIS-MIB-axis.yml -.1.3.6.1.4.1.637.65.1.1.2: nokia/GENOSALARMNOTIFICATION-MIB-alarmHandoffTraps.yml -.1.3.6.1.4.1.641.1: lexmark/LEXMARK-PVT-MIB-adapter.yml .1.3.6.1.4.1.664.1.1: adtran/ADTRAN-ADVISOR-MIB-adADVISOR.yml .1.3.6.1.4.1.664.1.9: adtran/ADTRAN-ACTDAXL3-MIB-adACTDAXL3.yml .1.3.6.1.4.1.664.1.14: adtran/ADTRAN-DSU3AR-MIB-adDSU3AR.yml -.1.3.6.1.4.1.674.10892.1: dell/MIB-Dell-10892-baseboardGroup.yml -.1.3.6.1.4.1.674.10893.1.1.200: dell/ArrayManager-MIB-aryMgrEvts.yml -.1.3.6.1.4.1.710.4.1: lannair/BREEZECOM-MIB-breezecomAP10.yml -.1.3.6.1.4.1.710.4.2: lannair/BREEZECOM-MIB-breezecomWB10.yml -.1.3.6.1.4.1.710.4.3: lannair/BREEZECOM-MIB-breezecomSA10.yml -.1.3.6.1.4.1.710.4.4: lannair/BREEZECOM-MIB-breezecomSA40.yml -.1.3.6.1.4.1.733: smarts/SMARTS-MIB-smNotificationTrap.yml -.1.3.6.1.4.1.789: netapp/NETWORK-APPLIANCE-MIB-netapp.yml -.1.3.6.1.4.1.898.8.3.1: divicom/DIVICOM-AFA-MIB-afaPlatform.yml -.1.3.6.1.4.1.898.8.3.2: divicom/DIVICOM-AFA-MIB-afaPort.yml -.1.3.6.1.4.1.898.8.3.3: divicom/DIVICOM-AFA-MIB-afaCard.yml -.1.3.6.1.4.1.898.8.3.4: divicom/DIVICOM-AFA-MIB-afaStreamEntity.yml -.1.3.6.1.4.1.898.8.3.5: divicom/DIVICOM-AFA-MIB-afaStreamEntityGroup.yml -.1.3.6.1.4.1.898.8.3.6: divicom/DIVICOM-AFA-MIB-afaStreamMap.yml -.1.3.6.1.4.1.898.8.3.7: divicom/DIVICOM-AFA-MIB-afaCell.yml -.1.3.6.1.4.1.898.8.3.8: divicom/DIVICOM-AFA-MIB-afaNetworkGroup.yml -.1.3.6.1.4.1.898.8.3.9: divicom/DIVICOM-AFA-MIB-afaSimulcryptComponent.yml -.1.3.6.1.4.1.1056.1.1.2: ebs/Access-TRAP-MIB-accNotifications.yml -.1.3.6.1.4.1.1072.3: controlwaretaxi/CWTAXI-MIB-taxi.yml -.1.3.6.1.4.1.1139.1: emc/EMC-MIB-emcSymmetrix.yml -.1.3.6.1.4.1.1139.2: emc/EMC-CELERRA-emcCelerra.yml -.1.3.6.1.4.1.1242.1: halcyon/HALCYON-PRIMEALERT-MIB-traps.yml -.1.3.6.1.4.1.1271.1.5: ciena/CIENA-MIBv2-multiwaveTraps.yml -.1.3.6.1.4.1.1482: barconet/COPERNICUS-MIB-barcoNet.yml -.1.3.6.1.4.1.1539.1.2: geotel/Cisco-ICM-AlarmEx-MIB-alarmsv2.yml -.1.3.6.1.4.1.1718.3.100: servertechnology/Sentry3-MIB-events.yml -.1.3.6.1.4.1.1729.100: genesys/GENESYS-TSERVER-MIB-server.yml -.1.3.6.1.4.1.1872.2.1.13: alteon/ALTEON-TRAP-MIB-altswitchTraps.yml -.1.3.6.1.4.1.1899.1: infovista/INFOVISTA-TRAP-MIB-InfoVista.yml -.1.3.6.1.4.1.1900.2: openwave/UPLINK-MIB-upLink.yml -.1.3.6.1.4.1.1916: extreme/EXTREME-TRAP-MIB-extremeV1Traps.yml -.1.3.6.1.4.1.1977: netcool/harmoniEventsV2.yml -.1.3.6.1.4.1.1981: emc_clariion/CLARIION-MIB-clariion.yml -.1.3.6.1.4.1.2479.1.2: eds/EDS2-MIB-edsTraps.yml .1.3.6.1.4.1.2509.5.5.1: aviat/STXN-PV-TRAPS-MIB-stxnPvTrapsMIB.yml -.1.3.6.1.4.1.2516: vocaltec/VTCOMMON-MIB-vocaltec.yml -.1.3.6.1.4.1.2544.1.7.2.3: adva/FSP2000-R2-MIB-trapMIBPrefix.yml -.1.3.6.1.4.1.2636: juniper/JUNIPER-V1-TRAPS-juniperMIB.yml -.1.3.6.1.4.1.2636.3.2: juniper/MPLS-MIB-mplsLspTraps.yml .1.3.6.1.4.1.2636.3.2.4: juniper/MPLS-MIB-mplsTraps.yml -.1.3.6.1.4.1.2636.3.24.2: juniper/APS-MIB-apsNotificationsPrefix.yml -.1.3.6.1.4.1.2636.3.26: juniper/JUNIPER-VPN-MIB-jnxVpnMIBNotifications.yml -.1.3.6.1.4.1.2636.4.3: juniper/JUNIPER-RMON-MIB-jnxRmonTrapPrefix.yml -.1.3.6.1.4.1.2636.4.6: juniper/JUNIPER-SONET-MIB-jnxSonetNotificationPrefix.yml -.1.3.6.1.4.1.2636.4.7: juniper/JUNIPER-PMon-MIB-jnxPMonNotificationPrefix.yml -.1.3.6.1.4.1.2636.4.8: juniper/JUNIPER-COLLECTOR-MIB-jnxCollNotification.yml -.1.3.6.1.4.1.2636.4.9: juniper/JUNIPER-PING-MIB-jnxPingNotificationPrefix.yml -.1.3.6.1.4.1.2636.5.1.1.1: juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseNotifications.yml -.1.3.6.1.4.1.2684.4.1: viavideo/POLYCOM-GMS-MIB-polycomGMS.yml -.1.3.6.1.4.1.2858.4: clarent/CLARENT-MIB-clarent-traps.yml -.1.3.6.1.4.1.2858.100.20.100: clarent/CLARENT-MIB-clarent-gktraps.yml -.1.3.6.1.4.1.2968.1: allentelecom/ALLENTELECOM-MIB-geometrix.yml -.1.3.6.1.4.1.3142.2.5.1: leitch/LEITCH-ROUTER-MIB-panacea.yml -.1.3.6.1.4.1.3142.2.5.1.10: leitch/LEITCH-ROUTER-MIB-device.yml -.1.3.6.1.4.1.3142.2.5.1.10.35: leitch/LEITCH-ROUTER-MIB-devicePhysicalMatrices.yml -.1.3.6.1.4.1.3142.2.5.1.11: leitch/LEITCH-ROUTER-MIB-routerSys.yml -.1.3.6.1.4.1.3184.1.1.1.6: rle/RLE-FALCON-MIB-falconTraps.yml -.1.3.6.1.4.1.3354.1.1.1.2.3: innomedia/INFOGATE-MIB-trapdescr.yml .1.3.6.1.4.1.3503.1.1: bluelance/BLUELANCE-LTAUDITOR-MIB-traps.yml -.1.3.6.1.4.1.3631.1.5: bridgewater/BW-NOTIFICATION-notificationObjects.yml -.1.3.6.1.4.1.3631.2.1.3: bridgewater/BW-RADIUS-radiusTrap.yml -.1.3.6.1.4.1.4196.1.1.2.100.2.1: siemens_ad/SN-OSM-PRIV-MIB-snOsm.yml -.1.3.6.1.4.1.4329.2.13.7.8: siemens/NORTHBOUND-V2-TRAPS-nbNotifications.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.2: siemens/US-SRX-TRAP-MIB-usSrxSiptFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.3: siemens/US-SRX-TRAP-MIB-usSrxMgcpFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.4: siemens/US-SRX-TRAP-MIB-usSrxAucAuthFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.5: siemens/US-SRX-TRAP-MIB-usSrxAucUscFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.6: siemens/US-SRX-TRAP-MIB-usSrxH323FaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.7: siemens/US-SRX-TRAP-MIB-usSrxUceFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.8: siemens/US-SRX-TRAP-MIB-usSrxOvlFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.9: siemens/US-SRX-TRAP-MIB-usSrxPrmFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.11: siemens/US-SRX-TRAP-MIB-usSrxRtmFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.12: siemens/US-SRX-TRAP-MIB-usSrxIsupFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.13: siemens/US-SRX-TRAP-MIB-usSrxLnpFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.14: siemens/US-SRX-TRAP-MIB-usSrxTcapFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.15: siemens/US-SRX-TRAP-MIB-usSrxCdmFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.16: siemens/US-SRX-TRAP-MIB-usSrxXdmFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.17: siemens/US-SRX-TRAP-MIB-usSrxXlaFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.18: siemens/US-SRX-TRAP-MIB-usSrxOmapFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.19: siemens/US-SRX-TRAP-MIB-usSrxDbFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.20: siemens/US-SRX-TRAP-MIB-usSrxOmapDispFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.21: siemens/US-SRX-TRAP-MIB-usSrxCasFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.22: siemens/US-SRX-TRAP-MIB-usSrxSipFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.23: siemens/US-SRX-TRAP-MIB-usSrxSolarisFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.24: siemens/US-SRX-TRAP-MIB-usSrxSoapServerFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.25: siemens/US-SRX-TRAP-MIB-usSrxCstaFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.26: siemens/US-SRX-TRAP-MIB-usSrxSmdiFaultMgmt.yml -.1.3.6.1.4.1.4329.2.18.2.2.1.15.27: siemens/US-SRX-TRAP-MIB-usSrxIpSecFaultMgmt.yml -.1.3.6.1.4.1.4399.2.1.10.3.1: johnsoncontrols/JCImSeries-MIB-opcN1Traps.yml -.1.3.6.1.4.1.4399.2.1.10.3.2: johnsoncontrols/JCImSeries-MIB-opcBacnetTraps.yml -.1.3.6.1.4.1.4399.2.1.10.3.3: johnsoncontrols/JCImSeries-MIB-opcStandardTraps.yml -.1.3.6.1.4.1.5308.1.1.2: siemens_sa/SPOTSALARMS-MIB-spotsTraps.yml -.1.3.6.1.4.1.5591.1: scte/scteHmsTree.yml -.1.3.6.1.4.1.6110: atrica/ATRICA-V375-MIB-atrEvents.yml -.1.3.6.1.4.1.6110.9: atrica/ATRICA-V375-MIB-atrCesTraps.yml -.1.3.6.1.4.1.6431.1.1.1: broadsoft/BroadworksFault-systemFaults.yml -.1.3.6.1.4.1.6703.2.1.2.1.2: cognitronics/CxErrorEventMib-cxErrorEventNotificationsV2.yml -.1.3.6.1.4.1.6818: tripwire/TRIPWIRE-FOR-SERVERS-MIB-tripwire.yml -.1.3.6.1.4.1.7185.3.1.3: latitude/LATITUDE-MEETINGPLACE-MIB-meetingplaceEventsV2.yml -.1.3.6.1.4.1.7186.3.1.1.20: baypackets/BAY-PACKETS-EMS-MIB-imMediateTraps.yml -.1.3.6.1.4.1.7327.2.1.2: wavesmith/WSTRAP-MIB-wsTrap.yml .1.3.6.1.4.1.7737.6.2.1.3: internetphotonics/IPI-OAMP-MIB-ipiOampEvents.yml .1.3.6.1.4.1.7737.6.2.15.3.2: internetphotonics/IPI-MEMMGMT-MIB-ipiMemMgmtNotifications.yml -.1.3.6.1.4.1.7737.7.2.9.3.2: internetphotonics/IPI-GSLAMAG-MIB-cn4200Notifications.yml -.1.3.6.1.4.1.7737.7.2.9.3.3: internetphotonics/IPI-GSLAMAG-MIB-cn4200DBChangeNotifications.yml -.1.3.6.1.4.1.7737.7.2.9.3.4: internetphotonics/IPI-GSLAMAG-MIB-cn4200SetFailNotifications.yml -.1.3.6.1.4.1.8741.1.1.2: sonicwall/SONICWALL-FIREWALL-TRAP-MIB-sonicwallFwTrapRoot.yml -.1.3.6.1.4.1.9793.3: cloudshield/CLOUDSHIELD-CHASSIS-MIB-csTraps.yml -.1.3.6.1.4.1.12788: bladelogic/BLMIB-bladelogic.yml -.1.3.6.1.4.1.13045.1.1: uptimedevices/UPTIME-ROOT-MIB-sh2.yml -.1.3.6.1.4.1.14223.1.1: talos/SFALERT-sfalertTrap.yml -.1.3.6.1.6.3.2.1.1.3: ietf/SNMPv2-M2M-MIB-snmpAlarmNotifications.yml diff --git a/traps/rules/adtran/ADTRAN-ACTDAXL3-MIB-adACTDAXL3.yml b/traps/rules/adtran/ADTRAN-ACTDAXL3-MIB-adACTDAXL3.yml index 38b128e8..ab00d89d 100644 --- a/traps/rules/adtran/ADTRAN-ACTDAXL3-MIB-adACTDAXL3.yml +++ b/traps/rules/adtran/ADTRAN-ACTDAXL3-MIB-adACTDAXL3.yml @@ -19,7 +19,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemHdwFailureClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemHdwFailureClear" root.out.event.category.name = "System Hardware Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "System Hardware OK ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -39,7 +39,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemHdwFailure" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemHdwFailure" root.out.event.category.name = "System Hardware Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "System Hardware Failure ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -59,7 +59,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemSfwFailureClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemSfwFailureClear" root.out.event.category.name = "System Software Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "System Software OK ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -79,7 +79,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemSfwFailure" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3systemSfwFailure" root.out.event.category.name = "System Software Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "System Software Failure ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -99,7 +99,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3bankAlarmClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3bankAlarmClear" root.out.event.category.name = "ACT 1241 Bank Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "ACT 1241 Bank OK ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -119,7 +119,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3bankAlarm" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3bankAlarm" root.out.event.category.name = "ACT 1241 Bank Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "ACT 1241 Bank Alarm ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -140,7 +140,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxYellowClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxYellowClear" root.out.event.category.name = "DS1 Yellow Alarm Rx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Yellow Alarm Received ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -161,7 +161,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxYellow" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxYellow" root.out.event.category.name = "DS1 Yellow Alarm Rx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Yellow Alarm Received ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -182,7 +182,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxYellowClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxYellowClear" root.out.event.category.name = "DS1 Yellow Alarm Tx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Yellow Alarm Transmitted ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -203,7 +203,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxYellow" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxYellow" root.out.event.category.name = "DS1 Yellow Alarm Tx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Yellow Alarm Transmitted ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -224,7 +224,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxAISclear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxAISclear" root.out.event.category.name = "DS1 AIS Rx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Alarm Indication Signal ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -245,7 +245,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxAIS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RxAIS" root.out.event.category.name = "DS1 AIS Rx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Alarm Indication Signal ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -266,7 +266,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxAISclear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxAISclear" root.out.event.category.name = "DS1 AIS Tx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Alarm Indication Signal Transmitted ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -287,7 +287,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxAIS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3TxAIS" root.out.event.category.name = "DS1 AIS Tx Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Alarm Indication Signal Transmitted ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -308,7 +308,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RedAlarmClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RedAlarmClear" root.out.event.category.name = "DS1 Red Alarm Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Red Alarm ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -329,7 +329,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RedAlarm" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3RedAlarm" root.out.event.category.name = "DS1 Red Alarm Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Red Alarm ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -350,7 +350,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LOSclear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LOSclear" root.out.event.category.name = "DS1 Signal Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Loss of Signal ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -371,7 +371,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LOS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LOS" root.out.event.category.name = "DS1 Signal Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Loss of Signal ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -392,7 +392,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LocalLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LocalLoopClear" root.out.event.category.name = "DS1 Local Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Local Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -413,7 +413,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LocalLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LocalLoop" root.out.event.category.name = "DS1 Local Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Local Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -434,7 +434,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LineLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LineLoopClear" root.out.event.category.name = "DS1 Line Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Line Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -455,7 +455,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LineLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3LineLoop" root.out.event.category.name = "DS1 Line Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -476,7 +476,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3PayloadLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3PayloadLoopClear" root.out.event.category.name = "DS1 Payload Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Payload Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -497,7 +497,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3PayloadLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3PayloadLoop" root.out.event.category.name = "DS1 Payload Loopback Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Payload Loopback ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -518,7 +518,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlLineLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlLineLoopClear" root.out.event.category.name = "DS1 Line Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Line Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -539,7 +539,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlLineLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlLineLoop" root.out.event.category.name = "DS1 Line Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -560,7 +560,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlPayloadLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlPayloadLoopClear" root.out.event.category.name = "DS1 Payload Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Payload Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -581,7 +581,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlPayloadLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3fdlPayloadLoop" root.out.event.category.name = "DS1 Payload Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Payload Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -602,7 +602,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farLineLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farLineLoopClear" root.out.event.category.name = "DS1 FE Line Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Far-End Line Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -623,7 +623,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farLineLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farLineLoop" root.out.event.category.name = "DS1 FE Line Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Line Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -644,7 +644,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farPayloadLoopClear" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farPayloadLoopClear" root.out.event.category.name = "DS1 FE Payload Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "End of DS1 Far-End Payload Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -665,7 +665,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farPayloadLoop" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3farPayloadLoop" root.out.event.category.name = "DS1 FE Payload Loopback via FDL Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Payload Loopback via Facility Data Link ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -686,7 +686,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentES" root.out.event.category.name = "DS1 ES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -707,7 +707,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentSES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentSES" root.out.event.category.name = "DS1 SES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Severely Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -728,7 +728,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentSEFS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentSEFS" root.out.event.category.name = "DS1 SEFS Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Severely Errored Framing Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -749,7 +749,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentUAS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentUAS" root.out.event.category.name = "DS1 US Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Unavailable Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -770,7 +770,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentCSS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentCSS" root.out.event.category.name = "DS1 CCS Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Controlled Slip Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -791,7 +791,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentPCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentPCV" root.out.event.category.name = "DS1 PCV Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Path Code Violations Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -812,7 +812,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentLES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentLES" root.out.event.category.name = "DS1 LES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -833,7 +833,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentBES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentBES" root.out.event.category.name = "DS1 BES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Bursty Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -854,7 +854,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentLCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3CurrentLCV" root.out.event.category.name = "DS1 LCV Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Code Violations Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -875,7 +875,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyES" root.out.event.category.name = "DS1 ES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -896,7 +896,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailySES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailySES" root.out.event.category.name = "DS1 SES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Severely Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -917,7 +917,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailySEFS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailySEFS" root.out.event.category.name = "DS1 SEFS Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Severely Errored Framing Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -938,7 +938,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyUAS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyUAS" root.out.event.category.name = "DS1 US Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Unavailable Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -959,7 +959,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyCSS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyCSS" root.out.event.category.name = "DS1 CSS Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Controlled Slip Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -980,7 +980,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyPCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyPCV" root.out.event.category.name = "DS1 PCV Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Path Code Violations Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1001,7 +1001,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyLES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyLES" root.out.event.category.name = "DS1 LES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1022,7 +1022,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyBES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyBES" root.out.event.category.name = "DS1 BES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Bursty Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1043,7 +1043,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyLCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3DailyLCV" root.out.event.category.name = "DS1 LCV Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Line Code Violations Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1064,7 +1064,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentES" root.out.event.category.name = "DS1 FE ES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1085,7 +1085,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentSES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentSES" root.out.event.category.name = "DS1 FE SES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Severely Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1106,7 +1106,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentSEFS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentSEFS" root.out.event.category.name = "DS1 FE SEFS Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Severely Errored Framing Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1127,7 +1127,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentUAS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentUAS" root.out.event.category.name = "DS1 FE US Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Unavailable Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1148,7 +1148,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentCSS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentCSS" root.out.event.category.name = "DS1 FE CSS Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Controlled Slip Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1169,7 +1169,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentPCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentPCV" root.out.event.category.name = "DS1 FE PCV Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Path Code Violations Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1190,7 +1190,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentLES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentLES" root.out.event.category.name = "DS1 FE LES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Line Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1211,7 +1211,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentBES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarCurrentBES" root.out.event.category.name = "DS1 FE BES Current Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Bursty Errored Seconds Current Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1232,7 +1232,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyES" root.out.event.category.name = "DS1 FE ES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1253,7 +1253,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailySES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailySES" root.out.event.category.name = "DS1 FE SES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Severely Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1274,7 +1274,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailySEFS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailySEFS" root.out.event.category.name = "DS1 FE SEFS Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Severely Errored Framing Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1295,7 +1295,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyUAS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyUAS" root.out.event.category.name = "DS1 FE US Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Unavailable Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1316,7 +1316,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyCSS" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyCSS" root.out.event.category.name = "DS1 FE CSS Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Controlled Slip Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1337,7 +1337,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyPCV" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyPCV" root.out.event.category.name = "DS1 FE PCV Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Path Code Violations Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1358,7 +1358,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyLES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyLES" root.out.event.category.name = "DS1 FE LES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Line Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -1379,7 +1379,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyBES" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ACTDAXL3-MIB-adACTDAXL3FarDailyBES" root.out.event.category.name = "DS1 FE BES Daily Threshold" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() + ", dsx1ConfigEntry." + this.trap.VarBinds.index(1).Value.string() root.out.event.message = "DS1 Far-End Bursty Errored Seconds Daily Threshold Exceeded ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" diff --git a/traps/rules/adtran/ADTRAN-ADVISOR-MIB-adADVISOR.yml b/traps/rules/adtran/ADTRAN-ADVISOR-MIB-adADVISOR.yml index 6ba1727d..47a935cc 100644 --- a/traps/rules/adtran/ADTRAN-ADVISOR-MIB-adADVISOR.yml +++ b/traps/rules/adtran/ADTRAN-ADVISOR-MIB-adADVISOR.yml @@ -19,7 +19,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ADVISOR-MIB-adADVISORPollLinkUp" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ADVISOR-MIB-adADVISORPollLinkUp" root.out.event.category.name = "Link Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "Link Up ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -39,7 +39,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-ADVISOR-MIB-adADVISORPollLinkDown" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-ADVISOR-MIB-adADVISORPollLinkDown" root.out.event.category.name = "Link Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "Link Down ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" diff --git a/traps/rules/adtran/ADTRAN-DSU3AR-MIB-adDSU3AR.yml b/traps/rules/adtran/ADTRAN-DSU3AR-MIB-adDSU3AR.yml index db801edb..908ee160 100644 --- a/traps/rules/adtran/ADTRAN-DSU3AR-MIB-adDSU3AR.yml +++ b/traps/rules/adtran/ADTRAN-DSU3AR-MIB-adDSU3AR.yml @@ -19,7 +19,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARColdStart" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARColdStart" root.out.event.category.name = "DSU III AR Cold Start" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Cold Start ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -39,7 +39,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInTest" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInTest" root.out.event.category.name = "DSU III AR Test Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR In Test Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -59,7 +59,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndTest" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndTest" root.out.event.category.name = "DSU III AR Test Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Exited Test Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -79,7 +79,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInAlarm" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInAlarm" root.out.event.category.name = "DSU III AR Alarm Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR In Alarm Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -99,7 +99,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndAlarm" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndAlarm" root.out.event.category.name = "DSU III AR Alarm Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Exited Alarm Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -119,7 +119,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteCFGDisable" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteCFGDisable" root.out.event.category.name = "DSU III AR Remote CFG Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Cannot Establish Remote Configuration ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -139,7 +139,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteCFGEnable" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteCFGEnable" root.out.event.category.name = "DSU III AR Remote CFG Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Can Establish Remote Configuration ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -159,7 +159,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteMasterOn" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteMasterOn" root.out.event.category.name = "DSU III AR Remote CFG Master Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR In Remote Configuration Master Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -179,7 +179,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteMasterOff" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARRemoteMasterOff" root.out.event.category.name = "DSU III AR Remote CFG Master Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Exited Remote Configuration Master Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -199,7 +199,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInDialBackup" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3ARInDialBackup" root.out.event.category.name = "DSU III AR Dial Backup Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR In Dial Backup Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -219,7 +219,7 @@ root.out.event.class.name = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndDialBackup" root.out.event.id = "SNMPTRAP-adtran-ADTRAN-DSU3AR-MIB-adDSU3AREndDialBackup" root.out.event.category.name = "DSU III AR Dial Backup Status" - root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + root.out.object.name = "Physical Address: " + this.trap.VarBinds.index(0).Value.snmp_mac_address() root.out.event.message = "DSU III AR Exited Dial Backup Mode ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" diff --git a/traps/rules/adva/FSP2000-R2-MIB-trapMIBPrefix.yml b/traps/rules/adva/FSP2000-R2-MIB-trapMIBPrefix.yml deleted file mode 100644 index 8dda70ed..00000000 --- a/traps/rules/adva/FSP2000-R2-MIB-trapMIBPrefix.yml +++ /dev/null @@ -1,3056 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "FSP2000-R2-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ne_trapsink_test_variables - mapping: |- - #!blobl - root = this - - root.out.adva.neTrapsinkAddress = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_trapsink_test_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: equipment_holder_object_creation_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: equipment_holder_object_creation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentHolderObjectCreation" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentHolderObjectCreation" - root.out.event.category.name = "Equipment Holder Object Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Holder Object Created ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: equipment_holder_object_deletion_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: equipment_holder_object_deletion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentHolderObjectDeletion" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentHolderObjectDeletion" - root.out.event.category.name = "Equipment Holder Object Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Holder Object Deleted ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 20 - processors: - - label: ne_trapsink_object_creation_variables - mapping: |- - #!blobl - root = this - - root.out.adva.neTrapsinkAddress = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_trapsink_object_creation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: ne_trapsink_object_deletion_variables - mapping: |- - #!blobl - root = this - - root.out.adva.neTrapsinkAddress = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_trapsink_object_deletion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: ne_snmpwrite_access_object_creation_variables - mapping: |- - #!blobl - root = this - - root.out.adva.snmpWriteAccessNmsAddress = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_snmpwrite_access_object_creation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: ne_snmpwrite_access_object_deletion_variables - mapping: |- - #!blobl - root = this - - root.out.adva.snmpWriteAccessNmsAddress = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_snmpwrite_access_object_deletion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: container_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.containsPhysicalIndex = this.trap.VarBinds.index(1).Value - root.out.adva.containerState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.3.1.1") - root.out.adva.timeStamp = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: container_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-containerStateChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-containerStateChange" - root.out.event.category.name = "Container Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - - label: container_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: container_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Container Empty" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: container_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Container Contains Accepted Unit" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: container_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Container Contains Not Accepted Unit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value == 4 - processors: - - label: container_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Container Contains Unknown Unit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: container_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Container Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: container_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: ne_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.objectId = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neStateChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neStateChange" - root.out.event.category.name = "Network Element Status" - root.out.object.name = "" - root.out.event.message = "Network Element Status Changed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 15 - processors: - - label: interface_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.objectId = this.trap.VarBinds.index(1).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceStateChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceStateChange" - root.out.event.category.name = "Interface Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Status Changed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 16 - processors: - - label: equipment_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.objectId = this.trap.VarBinds.index(1).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentStateChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentStateChange" - root.out.event.category.name = "Equipment Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Status Changed ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ne_attribute_value_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.objectId = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_attribute_value_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neAttributeValueChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neAttributeValueChange" - root.out.event.category.name = "NE Attribute Value Status" - root.out.object.name = "" - root.out.event.message = "Network Element Attribute Value Changed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 6 - processors: - - label: interface_attribute_value_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.objectId = this.trap.VarBinds.index(1).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_attribute_value_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAttributeValueChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAttributeValueChange" - root.out.event.category.name = "Interface Attribute Value Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Attribute Value Changed ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 7 - processors: - - label: equipment_attribute_value_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.objectId = this.trap.VarBinds.index(1).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_attribute_value_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAttributeValueChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAttributeValueChange" - root.out.event.category.name = "Equipment Attribute Value Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Attribute Value Changed ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 8 - processors: - - label: ne_authentification_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.neAlarmAuthFailSource = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.3.1") - root.out.adva.neAlarmAuthFailDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: ne_authentification_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neAuthentificationFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neAuthentificationFail" - root.out.event.category.name = "NE Authentication Status" - root.out.object.name = "" - - label: ne_authentification_fail_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ne_authentification_fail_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Network Element Authentication Failure Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ne_authentification_fail_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SNMP Agent Indicating Wrong Community" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: ne_authentification_fail_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unsuccessful Login Request" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: ne_authentification_fail_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unsuccessful Switch User(su) Request" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: ne_authentification_fail_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Network Element Authentication Failure of Unknown Type" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - label: ne_authentification_fail_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9 - processors: - - label: ne_inncdown_variables - mapping: |- - #!blobl - root = this - - root.out.adva.timeStamp = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: ne_inncdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neINNCDown" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neINNCDown" - root.out.event.category.name = "INNC Status" - root.out.object.name = "" - root.out.event.message = "Inter NEMI Network Connection (INNC) Down" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 10 - processors: - - label: ne_inncup_variables - mapping: |- - #!blobl - root = this - - root.out.adva.timeStamp = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: ne_inncup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neINNCUp" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neINNCUp" - root.out.event.category.name = "INNC Status" - root.out.object.name = "" - root.out.event.message = "Inter NEMI Network Connection (INNC) Up" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 13 - processors: - - label: ne_software_update_variables - mapping: |- - #!blobl - root = this - - root.out.adva.neState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.2.5") - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ne_software_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-neSoftwareUpdate" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-neSoftwareUpdate" - root.out.event.category.name = "NE Software Update Status" - root.out.object.name = "" - - label: ne_software_update_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ne_software_update_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Network Element Running, Normal Operation" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ne_software_update_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Network Element UCM Update, Hardware Access Blocked" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: ne_software_update_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Network Element Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: ne_software_update_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 17 - processors: - - label: reset_all_telemetry_outputs_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: reset_all_telemetry_outputs_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-resetAllTelemetryOutputs" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-resetAllTelemetryOutputs" - root.out.event.category.name = "NEMI Reset" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NEMI Reset ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 18 - processors: - - label: interface_alarm_severity_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.interfaceAlarmSeverityType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.3.1.1") - root.out.adva.interfaceAlarmSeverityValue = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.3.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_severity_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmSeverityChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmSeverityChange" - root.out.object.name = "interfaceAlarmSeverityEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.3.1.1").string() - - label: interface_alarm_severity_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: interface_alarm_severity_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Signal Status" - root.out.event.message = "Interface Loss of Signal" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: interface_alarm_severity_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Link Pulse Status" - root.out.event.message = "Interface Loss of Link Pulse" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: interface_alarm_severity_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Sync Status" - root.out.event.message = "Interface Loss of Sync" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: interface_alarm_severity_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface DMUX Data Status" - root.out.event.message = "Interface DMUX Data not Available" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: interface_alarm_severity_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Partition Status" - root.out.event.message = "Interface Partitioned" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: interface_alarm_severity_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Laser Bias Current Status" - root.out.event.message = "Interface Laser Bias Current End of life" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: interface_alarm_severity_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Laser TEC Status" - root.out.event.message = "Interface Laser Thermoelectric Cooler End of life" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: interface_alarm_severity_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Module Temperature Status" - root.out.event.message = "Interface Module Temperature Out of Range" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: interface_alarm_severity_change_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Laser Temperature Status" - root.out.event.message = "Interface Laser Temperature Out of Range" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: interface_alarm_severity_change_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface OOP Status" - root.out.event.message = "Interface Loss of Optical Output Power" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: interface_alarm_severity_change_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface OIP Status" - root.out.event.message = "Interface Optical Input Power Too High" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: interface_alarm_severity_change_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface OOP Level Status" - root.out.event.message = "Interface Optical Output Power Too Low" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: interface_alarm_severity_change_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Plug R Status" - root.out.event.message = "Interface Plug R Line Attenuation Out of Range" - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: interface_alarm_severity_change_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Plug T Status" - root.out.event.message = "Interface Plug T Line Attenuation Out of Range" - - check: this.trap.VarBinds.index(0).Value == 15 - processors: - - label: interface_alarm_severity_change_rules_2_15 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Signal Transmission Status" - root.out.event.message = "Interface Loss of Signal Transmission" - - check: this.trap.VarBinds.index(0).Value == 16 - processors: - - label: interface_alarm_severity_change_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Telemetry Input 1 Status" - root.out.event.message = "Interface Telemetry Input 1" - - check: this.trap.VarBinds.index(0).Value == 17 - processors: - - label: interface_alarm_severity_change_rules_2_17 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Telemetry Input 2 Status" - root.out.event.message = "Interface Telemetry Input 2" - - check: this.trap.VarBinds.index(0).Value == 18 - processors: - - label: interface_alarm_severity_change_rules_2_18 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Telemetry Input 3 Status" - root.out.event.message = "Interface Telemetry Input 3" - - processors: - - label: interface_alarm_severity_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Interface Alarm Status" - root.out.event.message = "Interface Alarm Status Unknown" - - label: interface_alarm_severity_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_severity_change_rules_3_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_severity_change_rules_4 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 19 - processors: - - label: equipment_alarm_severity_change_variables - mapping: |- - #!blobl - root = this - - root.out.adva.equipmentAlarmSeverityType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.4.1.1") - root.out.adva.equipmentAlarmSeverityValue = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.4.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_severity_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmSeverityChange" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmSeverityChange" - root.out.object.name = "equipmentAlarmSeverityEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.1.4.1.1").string() - - label: equipment_alarm_severity_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: equipment_alarm_severity_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Fan Status" - root.out.event.message = "Equipment Fan Failure" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: equipment_alarm_severity_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Fan Power Status" - root.out.event.message = "Equipment Fan Power Failure" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: equipment_alarm_severity_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Power Status" - root.out.event.message = "Equipment Power Failure" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: equipment_alarm_severity_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Temperature Status" - root.out.event.message = "Equipment Temperature Out of Range" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: equipment_alarm_severity_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Voltage Status" - root.out.event.message = "Equipment Voltage Out of Range" - - processors: - - label: equipment_alarm_severity_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Equipment Alarm Status" - root.out.event.message = "Equipment Alarm Status Unknown" - - label: equipment_alarm_severity_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: equipment_alarm_severity_change_rules_3_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: equipment_alarm_severity_change_rules_4 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 500 - processors: - - label: interface_alarm_loss_of_signal_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_loss_of_signal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSignal" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSignal" - root.out.event.category.name = "Interface Signal Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Loss of Signal ( " + root.out.object.name + " )" - - label: interface_alarm_loss_of_signal_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_loss_of_signal_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_loss_of_signal_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 501 - processors: - - label: interface_alarm_no_loss_of_signal_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_loss_of_signal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSignal" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSignal" - root.out.event.category.name = "Interface Signal Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Loss of Signal ( " + root.out.object.name + " )" - - label: interface_alarm_no_loss_of_signal_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 502 - processors: - - label: interface_alarm_loss_of_link_pulse_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_loss_of_link_pulse_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfLinkPulse" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfLinkPulse" - root.out.event.category.name = "Interface Link Pulse Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Loss of Link Pulse ( " + root.out.object.name + " )" - - label: interface_alarm_loss_of_link_pulse_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_loss_of_link_pulse_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_loss_of_link_pulse_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 503 - processors: - - label: interface_alarm_no_loss_of_link_pulse_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_loss_of_link_pulse_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfLinkPulse" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfLinkPulse" - root.out.event.category.name = "Interface Link Pulse Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Loss of Link Pulse ( " + root.out.object.name + " )" - - label: interface_alarm_no_loss_of_link_pulse_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 504 - processors: - - label: interface_alarm_loss_of_sync_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_loss_of_sync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSync" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSync" - root.out.event.category.name = "Interface Sync Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Loss of Sync ( " + root.out.object.name + " )" - - label: interface_alarm_loss_of_sync_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_loss_of_sync_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_loss_of_sync_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 505 - processors: - - label: interface_alarm_no_loss_of_sync_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_loss_of_sync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSync" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSync" - root.out.event.category.name = "Interface Sync Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Loss of Sync ( " + root.out.object.name + " )" - - label: interface_alarm_no_loss_of_sync_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 506 - processors: - - label: interface_alarm_partitioned_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_partitioned_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmPartitioned" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmPartitioned" - root.out.event.category.name = "Interface Partition Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Partitioned ( " + root.out.object.name + " )" - - label: interface_alarm_partitioned_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_partitioned_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_partitioned_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 507 - processors: - - label: interface_alarm_no_partitioned_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_partitioned_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoPartitioned" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoPartitioned" - root.out.event.category.name = "Interface Partition Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Partitioned ( " + root.out.object.name + " )" - - label: interface_alarm_no_partitioned_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 542 - processors: - - label: if_alarm_laser_bias_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_laser_bias_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 543 - processors: - - label: if_alarm_laser_bias_not_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_laser_bias_not_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 544 - processors: - - label: if_alarm_laser_bias_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_laser_bias_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 545 - processors: - - label: if_alarm_laser_bias_not_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_laser_bias_not_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 510 - processors: - - label: interface_alarm_laser_tec_eo_l_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_tec_eo_l_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTecEoL" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTecEoL" - root.out.event.category.name = "Interface Laser TEC Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Laser Thermoelectric Cooler End of Life ( " + root.out.object.name + " )" - - label: interface_alarm_laser_tec_eo_l_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_laser_tec_eo_l_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_laser_tec_eo_l_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 511 - processors: - - label: interface_alarm_no_laser_tec_eo_l_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_laser_tec_eo_l_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLaserTecEoL" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLaserTecEoL" - root.out.event.category.name = "Interface Laser TEC Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Laser Thermoelectric Cooler End of Life ( " + root.out.object.name + " )" - - label: interface_alarm_no_laser_tec_eo_l_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 512 - processors: - - label: interface_alarm_if_module_temp_oo_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_if_module_temp_oo_r_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmIfModuleTempOoR" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmIfModuleTempOoR" - root.out.event.category.name = "Interface Module Temperature Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Module Temperature Out of Range ( " + root.out.object.name + " )" - - label: interface_alarm_if_module_temp_oo_r_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_if_module_temp_oo_r_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_if_module_temp_oo_r_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 513 - processors: - - label: interface_alarm_if_module_temp_not_oo_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_if_module_temp_not_oo_r_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmIfModuleTempNotOoR" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmIfModuleTempNotOoR" - root.out.event.category.name = "Interface Module Temperature Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Module Temperature Out of Range ( " + root.out.object.name + " )" - - label: interface_alarm_if_module_temp_not_oo_r_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 514 - processors: - - label: interface_alarm_laser_temp_oo_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp_oo_r_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTempOoR" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTempOoR" - root.out.event.category.name = "Interface Laser Temperature Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Laser Temperature Out of Range ( " + root.out.object.name + " )" - - label: interface_alarm_laser_temp_oo_r_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_laser_temp_oo_r_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_laser_temp_oo_r_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 515 - processors: - - label: interface_alarm_laser_temp_not_oo_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp_not_oo_r_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTempNotOoR" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLaserTempNotOoR" - root.out.event.category.name = "Interface Laser Temperature Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Laser Temperature Out of Range ( " + root.out.object.name + " )" - - label: interface_alarm_laser_temp_not_oo_r_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 516 - processors: - - label: interface_alarm_loss_of_oop_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_loss_of_oop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfOOP" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfOOP" - root.out.event.category.name = "Interface OOP Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Loss of Optical Output Power ( " + root.out.object.name + " )" - - label: interface_alarm_loss_of_oop_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_loss_of_oop_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_loss_of_oop_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 517 - processors: - - label: interface_alarm_no_loss_of_oop_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_loss_of_oop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfOOP" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfOOP" - root.out.event.category.name = "Interface OOP Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Loss of Optical Output Power ( " + root.out.object.name + " )" - - label: interface_alarm_no_loss_of_oop_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 546 - processors: - - label: interface_alarm_oiptoo_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oiptoo_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 547 - processors: - - label: interface_alarm_oipnot_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oipnot_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 518 - processors: - - label: interface_alarm_oiptoo_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oiptoo_high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOIPTooHigh" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOIPTooHigh" - root.out.event.category.name = "Interface OIP Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Optical Input Power Too High ( " + root.out.object.name + " )" - - label: interface_alarm_oiptoo_high_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_oiptoo_high_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_oiptoo_high_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 519 - processors: - - label: interface_alarm_oipnot_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oipnot_too_high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOIPNotTooHigh" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOIPNotTooHigh" - root.out.event.category.name = "Interface OIP Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Optical Input Power Too High ( " + root.out.object.name + " )" - - label: interface_alarm_oipnot_too_high_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 520 - processors: - - label: interface_alarm_ooptoo_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_ooptoo_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOOPTooLow" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOOPTooLow" - root.out.event.category.name = "Interface OOP Level Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Optical Ouput Power Too Low ( " + root.out.object.name + " )" - - label: interface_alarm_ooptoo_low_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_ooptoo_low_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_ooptoo_low_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 521 - processors: - - label: interface_alarm_oopnot_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oopnot_too_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOOPNotTooLow" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmOOPNotTooLow" - root.out.event.category.name = "Interface OOP Level Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Interface Optical Ouput Power Too Low ( " + root.out.object.name + " )" - - label: interface_alarm_oopnot_too_low_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 548 - processors: - - label: interface_alarm_ooptoo_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_ooptoo_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 549 - processors: - - label: interface_alarm_oopnot_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oopnot_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 526 - processors: - - label: interface_alarm_loss_of_signal_at_t_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_loss_of_signal_at_t_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSignalAtT" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmLossOfSignalAtT" - root.out.event.category.name = "Interface Signal Transmission Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Interface Loss of Signal Transmission ( " + root.out.object.name + " )" - - label: interface_alarm_loss_of_signal_at_t_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: interface_alarm_loss_of_signal_at_t_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: interface_alarm_loss_of_signal_at_t_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 527 - processors: - - label: interface_alarm_no_loss_of_signal_at_t_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_loss_of_signal_at_t_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSignalAtT" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-interfaceAlarmNoLossOfSignalAtT" - root.out.event.category.name = "Interface Signal Transmission Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Interface Loss of Signal Transmission ( " + root.out.object.name + " )" - - label: interface_alarm_no_loss_of_signal_at_t_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 528 - processors: - - label: telemetry_state_on_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_state_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-telemetryStateOn" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-telemetryStateOn" - root.out.event.category.name = "Telemetry Interface Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Telemetry Interface Error ( " + root.out.object.name + " )" - - label: telemetry_state_on_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: telemetry_state_on_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: telemetry_state_on_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 529 - processors: - - label: telemetry_state_off_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_state_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-telemetryStateOff" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-telemetryStateOff" - root.out.event.category.name = "Telemetry Interface Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Telemetry Interface Error ( " + root.out.object.name + " )" - - label: telemetry_state_off_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 610 - processors: - - label: telemetry_input2state_on_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_input2state_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 611 - processors: - - label: telemetry_input2state_off_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_input2state_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 612 - processors: - - label: telemetry_input3state_on_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_input3state_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 613 - processors: - - label: telemetry_input3state_off_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: telemetry_input3state_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 530 - processors: - - label: interface_alarm_att_at_rtoo_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_rtoo_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 531 - processors: - - label: interface_alarm_att_at_rnot_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_rnot_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 532 - processors: - - label: interface_alarm_att_at_rtoo_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_rtoo_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 533 - processors: - - label: interface_alarm_att_at_rnot_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_rnot_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 534 - processors: - - label: interface_alarm_att_at_ttoo_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_ttoo_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 535 - processors: - - label: interface_alarm_att_at_tnot_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_tnot_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 536 - processors: - - label: interface_alarm_att_at_ttoo_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_ttoo_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 537 - processors: - - label: interface_alarm_att_at_tnot_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_at_tnot_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 538 - processors: - - label: interface_alarm_intrusion_at_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_intrusion_at_r_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 539 - processors: - - label: interface_alarm_no_intrusion_at_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_intrusion_at_r_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 540 - processors: - - label: interface_alarm_intrusion_at_t_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_intrusion_at_t_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 541 - processors: - - label: interface_alarm_no_intrusion_at_t_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_no_intrusion_at_t_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 602 - processors: - - label: interface_alarm_att_rx_mon_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_rx_mon_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 603 - processors: - - label: interface_alarm_att_rx_mon_not_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_rx_mon_not_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 604 - processors: - - label: interface_alarm_att_rx_mon_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_rx_mon_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 605 - processors: - - label: interface_alarm_att_rx_mon_not_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_rx_mon_not_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 606 - processors: - - label: interface_alarm_att_tx_mon_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_tx_mon_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 607 - processors: - - label: interface_alarm_att_tx_mon_not_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_tx_mon_not_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 608 - processors: - - label: interface_alarm_att_tx_mon_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_tx_mon_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 609 - processors: - - label: interface_alarm_att_tx_mon_not_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_att_tx_mon_not_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 614 - processors: - - label: interface_alarm_laser_failure_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 615 - processors: - - label: interface_alarm_laser_no_failure_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_no_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 616 - processors: - - label: interface_alarm_pump_laser_failure_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_pump_laser_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 617 - processors: - - label: interface_alarm_pump_laser_no_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_pump_laser_no_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 618 - processors: - - label: interface_alarm_receiver_failure_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_receiver_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 619 - processors: - - label: interface_alarm_receiver_no_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_receiver_no_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 620 - processors: - - label: interface_alarm_oopoo_r_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oopoo_r_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 621 - processors: - - label: interface_alarm_oopnormal_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_oopnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 622 - processors: - - label: if_alarm_temp_safety_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_temp_safety_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 623 - processors: - - label: if_alarm_temp_safety_shutdown_clear_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: if_alarm_temp_safety_shutdown_clear_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 624 - processors: - - label: interface_alarm_laser_temp2low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp2low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 625 - processors: - - label: interface_alarm_laser_temp_not2low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp_not2low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 626 - processors: - - label: interface_alarm_laser_temp2high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp2high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 627 - processors: - - label: interface_alarm_laser_temp_not2high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.ifIndex = this.trap.VarBinds.index(0).Value - root.out.adva.interfaceCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.1.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: interface_alarm_laser_temp_not2high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 552 - processors: - - label: equipment_alarm_fan_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_fan_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanFail" - root.out.event.category.name = "Equipment Fan Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Fan Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_fan_fail_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: equipment_alarm_fan_fail_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: equipment_alarm_fan_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 553 - processors: - - label: equipment_alarm_fan_no_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_fan_no_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanNoFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanNoFail" - root.out.event.category.name = "Equipment Fan Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Equipment Fan Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_fan_no_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 554 - processors: - - label: equipment_alarm_fan_ps_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_fan_ps_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanPsFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanPsFail" - root.out.event.category.name = "Equipment Fan Power Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Fan Power Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_fan_ps_fail_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: equipment_alarm_fan_ps_fail_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: equipment_alarm_fan_ps_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 555 - processors: - - label: equipment_alarm_fan_ps_no_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_fan_ps_no_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanPsNoFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmFanPsNoFail" - root.out.event.category.name = "Equipment Fan Power Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Equipment Fan Power Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_fan_ps_no_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 556 - processors: - - label: equipment_alarm_ps_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_ps_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmPsFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmPsFail" - root.out.event.category.name = "Equipment Power Supply Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Equipment Power Supply Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_ps_fail_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: equipment_alarm_ps_fail_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: equipment_alarm_ps_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 557 - processors: - - label: equipment_alarm_ps_no_fail_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_ps_no_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmPsNoFail" - root.out.event.id = "SNMPTRAP-adva-FSP2000-R2-MIB-equipmentAlarmPsNoFail" - root.out.event.category.name = "Equipment Power Supply Status" - root.out.object.name = "entPhysicalEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "End of Equipment Power Supply Failure ( " + root.out.object.name + " )" - - label: equipment_alarm_ps_no_fail_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 560 - processors: - - label: equipment_alarm_temp_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_temp_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 561 - processors: - - label: equipment_alarm_temp_not_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_temp_not_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 562 - processors: - - label: equipment_alarm_temp_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_temp_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 563 - processors: - - label: equipment_alarm_temp_not_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_temp_not_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 564 - processors: - - label: equipment_alarm_voltage_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_voltage_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 565 - processors: - - label: equipment_alarm_voltage_not_too_high_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_voltage_not_too_high_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 566 - processors: - - label: equipment_alarm_voltage_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_voltage_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 567 - processors: - - label: equipment_alarm_voltage_not_too_low_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: equipment_alarm_voltage_not_too_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 570 - processors: - - label: eq_alarm_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: eq_alarm_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 571 - processors: - - label: eq_alarm_no_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.adva.entPhysicalIndex = this.trap.VarBinds.index(0).Value - root.out.adva.equipmentCurrentAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2544.1.7.2.1.2.2.1.2") - root.out.adva.timeStamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.adva.indexTranslation = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: eq_alarm_no_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/allentelecom/ALLENTELECOM-MIB-geometrix.yml b/traps/rules/allentelecom/ALLENTELECOM-MIB-geometrix.yml deleted file mode 100644 index 2f20f079..00000000 --- a/traps/rules/allentelecom/ALLENTELECOM-MIB-geometrix.yml +++ /dev/null @@ -1,1817 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLENTELECOM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: err_gpsrom_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsrom_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSROM" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSROM" - root.out.event.category.name = "errGPSROM" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has a ROM").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 2 - processors: - - label: err_gpsram_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsram_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSRAM" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSRAM" - root.out.event.category.name = "errGPSRAM" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has a RAM").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 3 - processors: - - label: err_gpsfpga_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsfpga_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSFPGA" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSFPGA" - root.out.event.category.name = "errGPSFPGA" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 4 - processors: - - label: err_gpspower_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpspower_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSPower" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSPower" - root.out.event.category.name = "errGPSPower" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has a power").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 5 - processors: - - label: err_gpsosc_rail_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsosc_rail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscRail" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscRail" - root.out.event.category.name = "errGPSOscRail" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has an oscillator").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 6 - processors: - - label: err_gpsosc_near_rail_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsosc_near_rail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscNearRail" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscNearRail" - root.out.event.category.name = "errGPSOscNearRail" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has an oscillator").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 7 - processors: - - label: err_gpsopen_ant_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsopen_ant_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOpenAnt" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOpenAnt" - root.out.event.category.name = "errGPSOpenAnt" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 8 - processors: - - label: err_gpsshort_ant_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsshort_ant_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSShortAnt" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSShortAnt" - root.out.event.category.name = "errGPSShortAnt" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) has a shorted").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 9 - processors: - - label: err_gpsnot_tracking_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsnot_tracking_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSNotTracking" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSNotTracking" - root.out.event.category.name = "errGPSNotTracking" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) is not").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 10 - processors: - - label: err_gpsosc_discipline_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsosc_discipline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscDiscipline" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSOscDiscipline" - root.out.event.category.name = "errGPSOscDiscipline" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) is not disciplining").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 11 - processors: - - label: err_gpstest_mode_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpstest_mode_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSTestMode" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSTestMode" - root.out.event.category.name = "errGPSTestMode" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 12 - processors: - - label: err_gpsno_status_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsno_status_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSNoStatus" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSNoStatus" - root.out.event.category.name = "errGPSNoStatus" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 13 - processors: - - label: err_rfdown_fail_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_rfdown_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRFDownFail" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRFDownFail" - root.out.event.category.name = "errRFDownFail" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 14 - processors: - - label: err_rfsynth_unlocked_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_rfsynth_unlocked_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRFSynthUnlocked" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRFSynthUnlocked" - root.out.event.category.name = "errRFSynthUnlocked" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 15 - processors: - - label: err_aoacal_unlocked_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_aoacal_unlocked_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errAOACalUnlocked" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errAOACalUnlocked" - root.out.event.category.name = "errAOACalUnlocked" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 16 - processors: - - label: err_pos7dcfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_pos7dcfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos7DCFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos7DCFailed" - root.out.event.category.name = "errPos7DCFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 17 - processors: - - label: err_neg7dcfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_neg7dcfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNeg7DCFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNeg7DCFailed" - root.out.event.category.name = "errNeg7DCFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 18 - processors: - - label: err_pos5dcfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_pos5dcfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos5DCFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos5DCFailed" - root.out.event.category.name = "errPos5DCFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("power supply in (.*) has failed").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 19 - processors: - - label: err_pos12dcfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_pos12dcfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos12DCFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPos12DCFailed" - root.out.event.category.name = "errPos12DCFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 20 - processors: - - label: err_bpuhwstatus_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_bpuhwstatus_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errBPUHWStatusFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errBPUHWStatusFailed" - root.out.event.category.name = "errBPUHWStatusFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 21 - processors: - - label: err39osc_unlocked_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err39osc_unlocked_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-err39OscUnlocked" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-err39OscUnlocked" - root.out.event.category.name = "err39OscUnlocked" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 22 - processors: - - label: err_no10mhz_ref_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_no10mhz_ref_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNo10MhzRef" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNo10MhzRef" - root.out.event.category.name = "errNo10MhzRef" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 23 - processors: - - label: err_bpuctrl_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_bpuctrl_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errBPUCtrlFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errBPUCtrlFailed" - root.out.event.category.name = "errBPUCtrlFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("status on (.*)$").index(0).index(-1) + ", " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("The (controller processor .*) is not responding").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 24 - processors: - - label: err_mez_load_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_mez_load_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMezLoadFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMezLoadFailed" - root.out.event.category.name = "errMezLoadFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 25 - processors: - - label: err_sharcload_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_sharcload_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errSHARCLoadFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errSHARCLoadFailed" - root.out.event.category.name = "errSHARCLoadFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 26 - processors: - - label: err_flashfull_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_flashfull_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFLASHFull" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFLASHFull" - root.out.event.category.name = "errFLASHFull" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 27 - processors: - - label: err_alg_proc_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_alg_proc_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errAlgProcFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errAlgProcFailed" - root.out.event.category.name = "errAlgProcFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("status on (.*)$").index(0).index(-1) + ", " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("The (algorithm processor .*) is not responding").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 28 - processors: - - label: err_no_watchdog_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_no_watchdog_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoWatchdog" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoWatchdog" - root.out.event.category.name = "errNoWatchdog" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 29 - processors: - - label: err_wlsover_temp_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlsover_temp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSOverTemp" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSOverTemp" - root.out.event.category.name = "errWLSOverTemp" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(WLS .*) has an over temperature alarm").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 30 - processors: - - label: err_wlshwstatus_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlshwstatus_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSHWStatusFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSHWStatusFailed" - root.out.event.category.name = "errWLSHWStatusFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 31 - processors: - - label: err_gcswlscomms_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gcswlscomms_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGCSWLSCommsFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGCSWLSCommsFailed" - root.out.event.category.name = "errGCSWLSCommsFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) cannot communicate").index(0).index(-1) + " to " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("communicate with (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 32 - processors: - - label: err_wlscheck_sum_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlscheck_sum_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSCheckSumFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSCheckSumFailed" - root.out.event.category.name = "errWLSCheckSumFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 33 - processors: - - label: err_del_msg_qfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_del_msg_qfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errDelMsgQFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errDelMsgQFailed" - root.out.event.category.name = "errDelMsgQFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 34 - processors: - - label: err_create_msg_qfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_create_msg_qfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errCreateMsgQFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errCreateMsgQFailed" - root.out.event.category.name = "errCreateMsgQFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 35 - processors: - - label: err_post_msg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_post_msg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPostMsgFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errPostMsgFailed" - root.out.event.category.name = "errPostMsgFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 36 - processors: - - label: err_create_thread_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_create_thread_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errCreateThreadFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errCreateThreadFailed" - root.out.event.category.name = "errCreateThreadFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 37 - processors: - - label: err_run_thread_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_run_thread_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRunThreadFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errRunThreadFailed" - root.out.event.category.name = "errRunThreadFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 38 - processors: - - label: err_fetch_msg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_fetch_msg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFetchMsgFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFetchMsgFailed" - root.out.event.category.name = "errFetchMsgFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 39 - processors: - - label: err_lock_actfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_lock_actfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errLockACTFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errLockACTFailed" - root.out.event.category.name = "errLockACTFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 40 - processors: - - label: err_unlock_actfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_unlock_actfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errUnlockACTFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errUnlockACTFailed" - root.out.event.category.name = "errUnlockACTFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 41 - processors: - - label: err_inv_msg_type_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_inv_msg_type_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvMsgType" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvMsgType" - root.out.event.category.name = "errInvMsgType" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 42 - processors: - - label: err_mem_alloc_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_mem_alloc_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMemAllocFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMemAllocFailed" - root.out.event.category.name = "errMemAllocFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 43 - processors: - - label: err_proc_init_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_proc_init_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errProcInitFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errProcInitFailed" - root.out.event.category.name = "errProcInitFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 44 - processors: - - label: err_mutex_lock_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_mutex_lock_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMutexLockFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMutexLockFailed" - root.out.event.category.name = "errMutexLockFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 45 - processors: - - label: err_mutex_unlock_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_mutex_unlock_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMutexUnlockFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMutexUnlockFailed" - root.out.event.category.name = "errMutexUnlockFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 46 - processors: - - label: err_inv_ptr_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_inv_ptr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvPtr" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvPtr" - root.out.event.category.name = "errInvPtr" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 47 - processors: - - label: err_get_cfg_wlsfailed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_get_cfg_wlsfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGetCfgWLSFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGetCfgWLSFailed" - root.out.event.category.name = "errGetCfgWLSFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 48 - processors: - - label: err_get_cfg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_get_cfg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGetCfgFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGetCfgFailed" - root.out.event.category.name = "errGetCfgFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 49 - processors: - - label: err_unknown_cell_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_unknown_cell_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errUnknownCell" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errUnknownCell" - root.out.event.category.name = "errUnknownCell" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GCS (.*) Unknown cell").index(0).index(-1) + ", " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("Unknown (cell site .*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 50 - processors: - - label: err_no_coverage_for_cell_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_no_coverage_for_cell_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoCoverageForCell" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoCoverageForCell" - root.out.event.category.name = "errNoCoverageForCell" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) Insufficient WLS").index(0).index(-1) + ", " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("WLS coverage for (.*)").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 51 - processors: - - label: err_wlsconnect_refused_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlsconnect_refused_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSConnectRefused" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSConnectRefused" - root.out.event.category.name = "errWLSConnectRefused" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) IO_EXEC_RCV").index(0).index(-1) + ", , From: " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("Connection from (.*) refused").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 52 - processors: - - label: err_max_call_init_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_max_call_init_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMaxCallInit" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMaxCallInit" - root.out.event.category.name = "errMaxCallInit" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 53 - processors: - - label: err_gcsdisk_full_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gcsdisk_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGCSDiskFull" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGCSDiskFull" - root.out.event.category.name = "errGCSDiskFull" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 54 - processors: - - label: err_no_location_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_no_location_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoLocation" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoLocation" - root.out.event.category.name = "errNoLocation" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 55 - processors: - - label: err_file_open_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_file_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFileOpen" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errFileOpen" - root.out.event.category.name = "errFileOpen" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 56 - processors: - - label: err_msg_reg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_msg_reg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMsgRegFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errMsgRegFailed" - root.out.event.category.name = "errMsgRegFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 57 - processors: - - label: err_wlssite_alloc_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlssite_alloc_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSSiteAllocFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSSiteAllocFailed" - root.out.event.category.name = "errWLSSiteAllocFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 58 - processors: - - label: err_no_mobile_idin_table_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_no_mobile_idin_table_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoMobileIDInTable" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errNoMobileIDInTable" - root.out.event.category.name = "errNoMobileIDInTable" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 59 - processors: - - label: err_inv_mpcmsg_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_inv_mpcmsg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvMPCMsg" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errInvMPCMsg" - root.out.event.category.name = "errInvMPCMsg" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GCS (.*) IO_EXEC_RCV_READ_TIC").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 60 - processors: - - label: err_gpsjam_sync_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_gpsjam_sync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSJamSync" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errGPSJamSync" - root.out.event.category.name = "errGPSJamSync" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .* WLS .*): Jam Sync").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 61 - processors: - - label: err_wlsavail_less_min_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlsavail_less_min_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSAvailLessMin" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSAvailLessMin" - root.out.event.category.name = "errWLSAvailLessMin" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) Number of WLS Sites").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 62 - processors: - - label: err_terminating_call_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_terminating_call_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errTerminatingCall" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errTerminatingCall" - root.out.event.category.name = "errTerminatingCall" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 63 - processors: - - label: err_wlsalive_timed_out_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: err_wlsalive_timed_out_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSAliveTimedOut" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-errWLSAliveTimedOut" - root.out.event.category.name = "errWLSAliveTimedOut" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) STATUS_WLS_ALIVE_TIMED_OUT").index(0).index(-1) + ", " + this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("STATUS_WLS_ALIVE_TIMED_OUT (.*)- closing").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 64 - processors: - - label: gcsheart_beat_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gcsheart_beat_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GCSHeartBeat" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GCSHeartBeat" - root.out.event.category.name = "GCSHeartBeat" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("(GCS .*) is alive").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 65 - processors: - - label: wlscoords_out_of_range_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: wlscoords_out_of_range_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-WLSCoordsOutOfRange" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-WLSCoordsOutOfRange" - root.out.event.category.name = "WLSCoordsOutOfRange" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("For (.*), the distance between").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 66 - processors: - - label: pmsite_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsite_reboot_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteReboot" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteReboot" - root.out.event.category.name = "PMSiteReboot" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 67 - processors: - - label: pmsite_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsite_timeout_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteTimeout" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteTimeout" - root.out.event.category.name = "PMSiteTimeout" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 68 - processors: - - label: pmsite_ttag_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsite_ttag_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteTTagMismatch" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSiteTTagMismatch" - root.out.event.category.name = "PMSiteTTagMismatch" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 69 - processors: - - label: pmsharc_problems_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsharc_problems_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSharcProblems" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSharcProblems" - root.out.event.category.name = "PMSharcProblems" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 70 - processors: - - label: pmdflate_early_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmdflate_early_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMDFLateEarly" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMDFLateEarly" - root.out.event.category.name = "PMDFLateEarly" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 71 - processors: - - label: pmlarge_task_result_time_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmlarge_task_result_time_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMLargeTaskResultTime" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMLargeTaskResultTime" - root.out.event.category.name = "PMLargeTaskResultTime" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 72 - processors: - - label: pmprimary_low_qual_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmprimary_low_qual_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryLowQual" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryLowQual" - root.out.event.category.name = "PMPrimaryLowQual" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 73 - processors: - - label: pmprimary_high_errs_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmprimary_high_errs_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryHighErrs" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryHighErrs" - root.out.event.category.name = "PMPrimaryHighErrs" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 74 - processors: - - label: pmprimary_invalid_slot_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmprimary_invalid_slot_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryInvalidSlot" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryInvalidSlot" - root.out.event.category.name = "PMPrimaryInvalidSlot" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 75 - processors: - - label: pmprimary_no_signal_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmprimary_no_signal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryNoSignal" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimaryNoSignal" - root.out.event.category.name = "PMPrimaryNoSignal" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 76 - processors: - - label: pmsecondary_low_qual_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsecondary_low_qual_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSecondaryLowQual" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSecondaryLowQual" - root.out.event.category.name = "PMSecondaryLowQual" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 77 - processors: - - label: pmhigh_icqual_diff_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmhigh_icqual_diff_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMHighICQualDiff" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMHighICQualDiff" - root.out.event.category.name = "PMHighICQualDiff" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 78 - processors: - - label: pmsig_interference_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmsig_interference_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSigInterference" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMSigInterference" - root.out.event.category.name = "PMSigInterference" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 79 - processors: - - label: pmfoarange_edge_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmfoarange_edge_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMFOARangeEdge" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMFOARangeEdge" - root.out.event.category.name = "PMFOARangeEdge" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 80 - processors: - - label: pmbad_cdmachan_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmbad_cdmachan_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMBadCDMAChan" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMBadCDMAChan" - root.out.event.category.name = "PMBadCDMAChan" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 81 - processors: - - label: pmprimary_selection_failed_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmprimary_selection_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimarySelectionFailed" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPrimarySelectionFailed" - root.out.event.category.name = "PMPrimarySelectionFailed" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 82 - processors: - - label: pmpilot_offset_mapping_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmpilot_offset_mapping_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPilotOffsetMapping" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMPilotOffsetMapping" - root.out.event.category.name = "PMPilotOffsetMapping" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 83 - processors: - - label: pmlow_sector_participation_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: pmlow_sector_participation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMLowSectorParticipation" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-PMLowSectorParticipation" - root.out.event.category.name = "PMLowSectorParticipation" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 84 - processors: - - label: gpsbad_ppsqual_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsbad_ppsqual_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadPPSQual" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadPPSQual" - root.out.event.category.name = "GPSBadPPSQual" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 85 - processors: - - label: gpsno_rtcsync_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsno_rtcsync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSNoRTCSync" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSNoRTCSync" - root.out.event.category.name = "GPSNoRTCSync" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("no RTC Sync on (.*)\\.?$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 86 - processors: - - label: gpsself_survey_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsself_survey_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSSelfSurvey" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSSelfSurvey" - root.out.event.category.name = "GPSSelfSurvey" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 87 - processors: - - label: gpsbad_decode_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsbad_decode_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadDecode" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadDecode" - root.out.event.category.name = "GPSBadDecode" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("Bad Decode Status on (.*)\\.?$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 88 - processors: - - label: gpsbad_pps_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsbad_pps_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadPPS" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSBadPPS" - root.out.event.category.name = "GPSBadPPS" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("PPS Error on (.*)\\.?$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 89 - processors: - - label: gpsposition_accuracy_err_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsposition_accuracy_err_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSPositionAccuracyErr" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSPositionAccuracyErr" - root.out.event.category.name = "GPSPositionAccuracyErr" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("GPS receiver on (.*) is using a").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 90 - processors: - - label: gpscorrupt_eepromon_reset_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpscorrupt_eepromon_reset_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSCorruptEEPROMonReset" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSCorruptEEPROMonReset" - root.out.event.category.name = "GPSCorruptEEPROMonReset" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 91 - processors: - - label: gpsalmanac_err_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsalmanac_err_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSAlmanacErr" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSAlmanacErr" - root.out.event.category.name = "GPSAlmanacErr" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("current or complete on (.*)").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 92 - processors: - - label: low_wlscomms_time_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: low_wlscomms_time_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-LowWLScommsTime" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-LowWLScommsTime" - root.out.event.category.name = "LowWLScommsTime" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 93 - processors: - - label: gcsant_change_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gcsant_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GCSAntChange" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GCSAntChange" - root.out.event.category.name = "GCSAntChange" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 94 - processors: - - label: gpsself_survey_complete_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: gpsself_survey_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSSelfSurveyComplete" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-GPSSelfSurveyComplete" - root.out.event.category.name = "GPSSelfSurveyComplete" - root.out.object.name = this.trap.VarBinds.index(1).Value.string().re_find_all_submatch("completed for (.*)\\. [0-9\\.\\-]+ latitude and").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - check: this.trap.SpecificTrap == 95 - processors: - - label: wlsself_survey_reject_variables - mapping: |- - #!blobl - root = this - - root.out.allentelecom.errSeverity = this.trap.VarBinds.index(0).Value - root.out.allentelecom.errText = this.trap.VarBinds.index(1).Value - - label: wlsself_survey_reject_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-UnknownTrapName_95" - root.out.event.id = "SNMPTRAP-allentelecom-ALLENTELECOM-MIB-UnknownTrapName_95" - root.out.event.category.name = "UnknownTrapName ( 95 )" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-acceleratorTemperature.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-acceleratorTemperature.yml deleted file mode 100644 index ca9b19cc..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-acceleratorTemperature.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: accelerator_temperature_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.acceleratorTemperatureStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.4.3.3") - - label: accelerator_temperature_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-bbrNvs.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-bbrNvs.yml deleted file mode 100644 index 00efb586..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-bbrNvs.yml +++ /dev/null @@ -1,26 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: bbr_nvs_reinitialise_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-dhcp.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-dhcp.yml deleted file mode 100644 index 2cf1525f..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-dhcp.yml +++ /dev/null @@ -1,33 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dhcp_range_exhausted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.dhcpRangeExhaustedGateway = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.dhcpRangeExhaustedInterface = this.trap.VarBinds.index(1).Value - - label: dhcp_range_exhausted_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ds3module.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ds3module.yml deleted file mode 100644 index 47907ca7..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ds3module.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: tca_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.ds3TrapError = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.4.109.1.1.2") - root.out.alliedtelesyn.ds3TrapLoc = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.4.109.1.1.3") - root.out.alliedtelesyn.ds3TrapInterval = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.4.109.1.1.4") - - label: tca_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-fanAndPs.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-fanAndPs.yml deleted file mode 100644 index 25103a84..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-fanAndPs.yml +++ /dev/null @@ -1,212 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fan_and_ps_rps_connection_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsRpsConnectionStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.1") - - label: fan_and_ps_rps_connection_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: fan_and_ps_main_psustatus_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsMainPSUStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.2") - - label: fan_and_ps_main_psustatus_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fan_and_ps_redundant_psustatus_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsRedundantPSUStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.3") - - label: fan_and_ps_redundant_psustatus_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: fan_and_ps_main_fan_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsMainFanStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.5") - - label: fan_and_ps_main_fan_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: fan_and_ps_redundant_fan_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsRedundantFanStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.6") - - label: fan_and_ps_redundant_fan_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: fan_and_ps_temperature_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsTemperatureStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.7") - - label: fan_and_ps_temperature_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: fan_and_ps_fan_tray_present_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsFanTrayPresent = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.8") - - label: fan_and_ps_fan_tray_present_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: fan_and_ps_fan_tray_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsFanTrayStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.9") - - label: fan_and_ps_fan_tray_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: fan_and_ps_main_monitoring_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsMainMonitoringStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.10") - - label: fan_and_ps_main_monitoring_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: fan_and_ps_accel_fan_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.fanAndPsAccelFanStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.1.12") - - label: fan_and_ps_accel_fan_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-firewall.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-firewall.yml deleted file mode 100644 index 7cbdf56d..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-firewall.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: firewall_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.firewallTrapMessage = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: firewall_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ALLIEDTELESYN-MIB-firewallTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ALLIEDTELESYN-MIB-firewallTrap" - root.out.event.category.name = "Intrusion/Attack" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-flash.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-flash.yml deleted file mode 100644 index a9d81b79..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-flash.yml +++ /dev/null @@ -1,44 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: flash_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.flashGetFailure = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.flashOpenFailure = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.flashReadFailure = this.trap.VarBinds.index(2).Value - root.out.alliedtelesyn.flashCloseFailure = this.trap.VarBinds.index(3).Value - root.out.alliedtelesyn.flashCompleteFailure = this.trap.VarBinds.index(4).Value - root.out.alliedtelesyn.flashWriteFailure = this.trap.VarBinds.index(5).Value - root.out.alliedtelesyn.flashCreateFailure = this.trap.VarBinds.index(6).Value - root.out.alliedtelesyn.flashPutFailure = this.trap.VarBinds.index(7).Value - root.out.alliedtelesyn.flashDeleteFailure = this.trap.VarBinds.index(8).Value - root.out.alliedtelesyn.flashCheckFailure = this.trap.VarBinds.index(9).Value - root.out.alliedtelesyn.flashEraseFailure = this.trap.VarBinds.index(10).Value - root.out.alliedtelesyn.flashCompactFailure = this.trap.VarBinds.index(11).Value - root.out.alliedtelesyn.flashVerifyFailure = this.trap.VarBinds.index(12).Value - - label: flash_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-generalTemperature.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-generalTemperature.yml deleted file mode 100644 index 3397e43c..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-generalTemperature.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: general_temperature_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.generalTemperatureStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.4.1.3") - root.out.alliedtelesyn.generalTemperatureActualTemp = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.generalTemperatureThreshold = this.trap.VarBinds.index(2).Value - - label: general_temperature_status_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-install.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-install.yml deleted file mode 100644 index e0f40295..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-install.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: config_file_exist_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.configFileExist = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.4.49.6") - - label: config_file_exist_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ping.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ping.yml deleted file mode 100644 index 97dd5612..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-ping.yml +++ /dev/null @@ -1,26 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ping_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-sbTemperature.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-sbTemperature.yml deleted file mode 100644 index ceafcc29..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-sbTemperature.yml +++ /dev/null @@ -1,56 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sb_temp_fixed_threshold_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sbTempFixedThresholdStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.4.2.1.1.3") - root.out.alliedtelesyn.sbTempActualTemperature = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.sbTempFixedThreshold = this.trap.VarBinds.index(2).Value - - label: sb_temp_fixed_threshold_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: sb_temp_settable_threshold_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sbTempSettableThresholdStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.4.4.3.4.2.1.1.4") - root.out.alliedtelesyn.sbTempActualTemperature = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.sbTempSettableThreshold = this.trap.VarBinds.index(2).Value - - label: sb_temp_settable_threshold_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-swi.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-swi.yml deleted file mode 100644 index a541032e..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-swi.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: swi_intrusion_detection_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.ifIndex = this.trap.VarBinds.index(0).Value - - label: swi_intrusion_detection_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-trigger.yml b/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-trigger.yml deleted file mode 100644 index fac11618..00000000 --- a/traps/rules/alliedtelesyn/ALLIEDTELESYN-MIB-trigger.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALLIEDTELESYN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: trigger_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.triggerLastTriggerActivated = this.trap.VarBinds.index(0).Value - - label: trigger_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ATI-MIB-repeater.yml b/traps/rules/alliedtelesyn/ATI-MIB-repeater.yml deleted file mode 100644 index 2d7c737f..00000000 --- a/traps/rules/alliedtelesyn/ATI-MIB-repeater.yml +++ /dev/null @@ -1,107 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ATI-MIB" -- switch: - - check: this.trap.SpecificTrap == 20 - processors: - - label: intruder_protection_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.rptrAddrTrackNewLastSrcAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: intruder_protection_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATI-MIB-intruderProtectionTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATI-MIB-intruderProtectionTrap" - root.out.event.category.name = "Intruder Protection" - root.out.object.name = "rptrAddrTrackEntry.1.2" - root.out.event.message = "Intruder Alert, Unauthorized Source MAC Address: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " ( Group: 1, Port: 2 )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 21 - processors: - - label: ati_intruder_protection_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.atiTrapIntruderModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.atiTrapIntruderPortNumber = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.atiTrapIntruderMacAddress = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ati_intruder_protection_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATI-MIB-atiIntruderProtectionTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATI-MIB-atiIntruderProtectionTrap" - root.out.event.category.name = "Intruder Protection" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() + ", Port: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Intruder Alert, Unauthorized Source MAC Address: " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 22 - processors: - - label: ati_redundant_port_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.atiPortGroupIndex = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.atiPortIndex = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.portRedundantPort = this.trap.VarBinds.index(2).Value - root.out.alliedtelesyn.atiPortChangeDirection = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.207.9.4") - - label: ati_redundant_port_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATI-MIB-atiRedundantPortChangeTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATI-MIB-atiRedundantPortChangeTrap" - root.out.event.category.name = "Redundant Port Change" - root.out.object.name = "atiPortEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() - - label: ati_redundant_port_change_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: ati_redundant_port_change_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Redundant Port, " + this.trap.VarBinds.index(2).Value.string() + ", Changed from Primary to Secondary" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: ati_redundant_port_change_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Redundant Port, " + this.trap.VarBinds.index(2).Value.string() + ", Changed from Secondary to Primary" - - processors: - - label: ati_redundant_port_change_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Redundant Port, " + this.trap.VarBinds.index(2).Value.string() + ", Status Unknown" - - label: ati_redundant_port_change_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Group: " + this.trap.VarBinds.index(0).Value.string() + ", Port: " + this.trap.VarBinds.index(1).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/ATMCCommon-MIB-alliedTelesyn.yml b/traps/rules/alliedtelesyn/ATMCCommon-MIB-alliedTelesyn.yml deleted file mode 100644 index ac7ca8b3..00000000 --- a/traps/rules/alliedtelesyn/ATMCCommon-MIB-alliedTelesyn.yml +++ /dev/null @@ -1,273 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ATMCCommon-MIB" -- switch: - - check: this.trap.SpecificTrap == 101 - processors: - - label: new_root_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-newRoot" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-newRoot" - root.out.event.category.name = "New Root" - root.out.object.name = "" - root.out.event.message = @Node is New Root of Spanning Tree" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 102 - processors: - - label: topology_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-topologyChange" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-topologyChange" - root.out.event.category.name = "Topology Change" - root.out.object.name = "" - root.out.event.message = "Port Transitioned or " - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 103 - processors: - - label: over_temperature_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fstswitchFanStopTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fstswitchFanStopTrap" - root.out.event.category.name = "Fan Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Fan Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2FanStopTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2FanStopTrap" - root.out.event.category.name = "Fan Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Fan Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-overTemperature" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-overTemperature" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "" - root.out.event.message = "Overheat Condition" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 104 - processors: - - label: fan_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fanFailure" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fanFailure" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Temperature Abnormal ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2TemperatureAbnormalTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2TemperatureAbnormalTrap" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Temperature Abnormal ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fanFailure" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fanFailure" - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Failure" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 105 - processors: - - label: intruder_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fstswitchPowerSupplyOutage" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-fstswitchPowerSupplyOutage" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Power Supply Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2PowerSupplyOutage" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2PowerSupplyOutage" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Module: $1 - root.out.event.message = "Power Supply Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-intruderTrap" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-intruderTrap" - root.out.event.category.name = "Intruder Protection" - root.out.object.name = "" - root.out.event.message = "Intruder Detected" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 106 - processors: - - label: powersupply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: powersupply_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2IntruderAlert" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-atiL2IntruderAlert" - root.out.event.category.name = "Intruder Protection" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() + ", Port: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Intruder Detected ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyFailure" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyFailure" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Failure" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 107 - processors: - - label: powersupply_installed_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: powersupply_installed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyInstalled" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyInstalled" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Installed" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 108 - processors: - - label: powersupply_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyRemoved" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-powersupplyRemoved" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Removed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 109 - processors: - - label: module_installed_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: module_installed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-moduleInstalled" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-moduleInstalled" - root.out.event.category.name = "Module Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Module Installed ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 110 - processors: - - label: module_removed_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: module_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-moduleRemoved" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-moduleRemoved" - root.out.event.category.name = "Module Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Module Removed ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 111 - processors: - - label: mc_link_down_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapPortNumber = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: mc_link_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-mcLinkDown" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-mcLinkDown" - root.out.event.category.name = "Link Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() + ", Port: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Link Down ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 112 - processors: - - label: mc_link_up_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.mcTrapModuleNumber = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.mcTrapPortNumber = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.mcTrapDisplayString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: mc_link_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-mcLinkUp" - root.out.event.id = "SNMPTRAP-alliedtelesyn-ATMCCommon-MIB--AtiL2-MIB-mcLinkUp" - root.out.event.category.name = "Link Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(0).Value.string() + ", Port: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Link Up ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/CENTRECOM-TRAP-MIB-extSwitchMIB.yml b/traps/rules/alliedtelesyn/CENTRECOM-TRAP-MIB-extSwitchMIB.yml deleted file mode 100644 index a5103d23..00000000 --- a/traps/rules/alliedtelesyn/CENTRECOM-TRAP-MIB-extSwitchMIB.yml +++ /dev/null @@ -1,148 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CENTRECOM-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: overheat_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: overheat_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "" - root.out.event.message = "Overheat Condition, System Shutting Down" - - check: this.trap.SpecificTrap == 7 - processors: - - label: fanfailed_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fanfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Failed" - - check: this.trap.SpecificTrap == 8 - processors: - - label: fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fan_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan OK" - - check: this.trap.SpecificTrap == 9 - processors: - - label: invalid_login_attempt_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: invalid_login_attempt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Login" - root.out.object.name = "" - root.out.event.message = "Invalid Login Attempt" - - check: this.trap.SpecificTrap == 10 - processors: - - label: power_supply_fail_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Failed" - - check: this.trap.SpecificTrap == 11 - processors: - - label: power_supply_good_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_good_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply OK" - - check: this.trap.SpecificTrap == 12 - processors: - - label: rps_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: rps_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply Alarm" - - check: this.trap.SpecificTrap == 13 - processors: - - label: rps_no_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.alliedtelesyn.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: rps_no_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply OK" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/FH800u-MIB-atactDualHubMgt.yml b/traps/rules/alliedtelesyn/FH800u-MIB-atactDualHubMgt.yml deleted file mode 100644 index de6fe1c0..00000000 --- a/traps/rules/alliedtelesyn/FH800u-MIB-atactDualHubMgt.yml +++ /dev/null @@ -1,30 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "FH800u-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fh800u_intrusion_happen_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.securityPortIntrusion = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.1.20.3.11.1.5.3.3.1.6") - root.out.alliedtelesyn.securityPortGroupID = this.trap.VarBinds.index(1).Value - root.out.alliedtelesyn.securityPortID = this.trap.VarBinds.index(2).Value - - label: fh800u_intrusion_happen_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Intruder" - root.out.object.name = "securityPortEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Intruder Detected ( Group " + this.trap.VarBinds.index(1).Value.string() + ", Port " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alliedtelesyn/SWITCH-BRIDGE-MIB-switchBridgeTraps.yml b/traps/rules/alliedtelesyn/SWITCH-BRIDGE-MIB-switchBridgeTraps.yml deleted file mode 100644 index 062e53cd..00000000 --- a/traps/rules/alliedtelesyn/SWITCH-BRIDGE-MIB-switchBridgeTraps.yml +++ /dev/null @@ -1,104 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SWITCH-BRIDGE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: switch_new_root_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.switchBridgeStpDesignatedRoot = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: switch_new_root_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "New Root" - root.out.object.name = "switchBridgeStpEntry.6" - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " is New Root of Spanning Tree ( VLAN 6 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: switch_topology_change_variables - mapping: |- - #!blobl - root = this - - root.out.alliedtelesyn.switchBridgeStpPortState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.207.8.9.2.2.5.2.15.1.3") - - label: switch_topology_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Topology Change" - root.out.object.name = "switchBridgeStpPortEntry.5.6" - - label: switch_topology_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: switch_topology_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Disabled ( VLAN 5, Port 6 )" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: switch_topology_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Blocking ( VLAN 5, Port 6 )" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: switch_topology_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Listening ( VLAN 5, Port 6 )" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: switch_topology_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Learning ( VLAN 5, Port 6 )" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: switch_topology_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Forwarding ( VLAN 5, Port 6 )" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: switch_topology_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Broken ( VLAN 5, Port 6 )" - - processors: - - label: switch_topology_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Bridge Port Unknown ( VLAN 5, Port 6 )" - - label: switch_topology_change_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/alteon/ALTEON-TRAP-MIB-altswitchTraps.yml b/traps/rules/alteon/ALTEON-TRAP-MIB-altswitchTraps.yml deleted file mode 100644 index d6f3e0f8..00000000 --- a/traps/rules/alteon/ALTEON-TRAP-MIB-altswitchTraps.yml +++ /dev/null @@ -1,363 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ALTEON-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: alt_sw_primary_power_suppyl_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Primary Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Primary Power Supply Failed" - - check: this.trap.SpecificTrap == 2 - processors: - - label: alt_sw_redun_power_suppyl_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply Failed" - - check: this.trap.SpecificTrap == 3 - processors: - - label: alt_sw_def_gw_up_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.ipCurCfgGwIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.ipCurCfgGwAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alt_sw_def_gw_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Default Gateway Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ")" - root.out.event.message = "Default Gateway is Alive" - - check: this.trap.SpecificTrap == 4 - processors: - - label: alt_sw_def_gw_down_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.ipCurCfgGwIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.ipCurCfgGwAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alt_sw_def_gw_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Default Gateway Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ")" - root.out.event.message = "Default Gateway is Down" - - check: this.trap.SpecificTrap == 5 - processors: - - label: alt_sw_def_gw_in_service_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.ipCurCfgGwIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.ipCurCfgGwAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alt_sw_def_gw_in_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Default Gateway Service Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ")" - root.out.event.message = "Default Gateway is Up and In-Service" - - check: this.trap.SpecificTrap == 6 - processors: - - label: alt_sw_def_gw_not_in_service_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.ipCurCfgGwIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.ipCurCfgGwAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alt_sw_def_gw_not_in_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Default Gateway Service Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ")" - root.out.event.message = "Default Gateway is Alive but NOT In-Service" - - check: this.trap.SpecificTrap == 7 - processors: - - label: alt_sw_slb_real_server_up_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_real_server_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Real Server is Up and Operational" - - check: this.trap.SpecificTrap == 8 - processors: - - label: alt_sw_slb_real_server_down_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_real_server_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Real Server is Down and Out-of-Service" - - check: this.trap.SpecificTrap == 9 - processors: - - label: alt_sw_slb_real_server_max_conn_reached_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_real_server_max_conn_reached_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Connection Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Real Server has reached maximum connections" - - check: this.trap.SpecificTrap == 10 - processors: - - label: alt_sw_slb_bkup_real_server_act_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_bkup_real_server_act_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Failover Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Backup Real Server Active, Primary Real Server Unavailable" - - check: this.trap.SpecificTrap == 11 - processors: - - label: alt_sw_slb_bkup_real_server_deact_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_bkup_real_server_deact_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Failover Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Backup Real Server deactived, Primary Real Server available" - - check: this.trap.SpecificTrap == 12 - processors: - - label: alt_sw_slb_bkup_real_server_act_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_bkup_real_server_act_overflow_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Failover Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Backup Real Server is activated, Primary Real Server is overflowed" - - check: this.trap.SpecificTrap == 13 - processors: - - label: alt_sw_slb_bkup_real_server_deact_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: alt_sw_slb_bkup_real_server_deact_overflow_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Failover Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ")" - root.out.event.message = "Backup Real Server is deactivated, Primary Real Server is out of overflow situation" - - check: this.trap.SpecificTrap == 14 - processors: - - label: alt_sw_slb_failover_standby_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Failover Role" - root.out.object.name = $1($2, $3)" - root.out.event.message = "Switch is now a standby switch" - - check: this.trap.SpecificTrap == 15 - processors: - - label: alt_sw_slb_failover_active_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Failover Role" - root.out.object.name = $1($2, $3)" - root.out.event.message = "Switch is now an active switch" - - check: this.trap.SpecificTrap == 16 - processors: - - label: alt_sw_slb_failover_switch_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Failover Switch Status" - root.out.object.name = $1($2, $3)" - root.out.event.message = "Failover switch is Alive" - - check: this.trap.SpecificTrap == 17 - processors: - - label: alt_sw_slb_failover_switch_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Failover Switch Status" - root.out.object.name = $1($2, $3)" - root.out.event.message = "Failover switch is Down" - - check: this.trap.SpecificTrap == 18 - processors: - - label: alt_swflt_filter_fired_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.fltCurCfgIndx = this.trap.VarBinds.index(0).Value - root.out.alteon.fltCurCfgPortIndx = this.trap.VarBinds.index(1).Value - root.out.alteon.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alt_swflt_filter_fired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Packet Filtered" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + " " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Packet received on switch port ( PortIndx - - check: this.trap.SpecificTrap == 19 - processors: - - label: alt_sw_slb_real_server_service_up_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.slbCurCfgVirtServiceRealPort = this.trap.VarBinds.index(3).Value - root.out.alteon.sysName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: alt_sw_slb_real_server_service_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Service Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", L4Port - root.out.event.message = "Service Port of the Real Server is Up and Operational" - - check: this.trap.SpecificTrap == 20 - processors: - - label: alt_sw_slb_real_server_service_down_variables - mapping: |- - #!blobl - root = this - - root.out.alteon.slbCurCfgRealServerIndex = this.trap.VarBinds.index(0).Value - root.out.alteon.slbCurCfgRealServerIpAddr = this.trap.VarBinds.index(1).Value - root.out.alteon.slbCurCfgRealServerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.alteon.slbCurCfgVirtServiceRealPort = this.trap.VarBinds.index(3).Value - root.out.alteon.sysName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.alteon.sysLocation = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.alteon.sysContact = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: alt_sw_slb_real_server_service_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Real Server Service Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "(" + this.trap.VarBinds.index(1).Value.string() + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", L4Port - root.out.event.message = "Service Port of the Real Server is Down and Out-of-Service" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/apc/PowerNet-MIB-apc.yml b/traps/rules/apc/PowerNet-MIB-apc.yml deleted file mode 100644 index 5dc26ea0..00000000 --- a/traps/rules/apc/PowerNet-MIB-apc.yml +++ /dev/null @@ -1,16850 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "PowerNet-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: communication_lost_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Communication" - root.out.object.name = "" - root.out.event.message = "Communication to the UPS has been lost" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ups_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_overload_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Overload" - root.out.object.name = "" - root.out.event.message = "The UPS has sensed a load greater than 100 percent of its rated capacity" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ups_diagnostics_failed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_diagnostics_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Diagnostics" - root.out.object.name = "" - root.out.event.message = "UPS failed its internal diagnostic self-test" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ups_discharged_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_discharged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Discharged" - root.out.object.name = "" - root.out.event.message = "The UPS batteries are discharged" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ups_on_battery_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_on_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Power" - root.out.object.name = "" - root.out.event.message = "UPS has switched to battery backup power" - - check: this.trap.SpecificTrap == 6 - processors: - - label: smart_boost_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_boost_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Smart" - root.out.object.name = "" - root.out.event.message = "UPS has enabled SmartBoost" - - check: this.trap.SpecificTrap == 7 - processors: - - label: low_battery_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: low_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Battery Status" - root.out.object.name = "" - root.out.event.message = "UPS batteries are low and will soon be exhausted" - - check: this.trap.SpecificTrap == 8 - processors: - - label: communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: communication_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Communication" - root.out.object.name = "" - root.out.event.message = "Communication with the UPS has been established" - - check: this.trap.SpecificTrap == 9 - processors: - - label: power_restored_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: power_restored_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Power" - root.out.object.name = "" - root.out.event.message = "Utility power has been restored" - - check: this.trap.SpecificTrap == 10 - processors: - - label: ups_diagnostics_passed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_diagnostics_passed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Diagnostics" - root.out.object.name = "" - root.out.event.message = "UPS passed its internal diagnostic self-test" - - check: this.trap.SpecificTrap == 11 - processors: - - label: return_from_low_battery_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: return_from_low_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Battery Status" - root.out.object.name = "" - root.out.event.message = "UPS has returned from a low battery condition" - - check: this.trap.SpecificTrap == 12 - processors: - - label: ups_turned_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_turned_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS On/Off" - root.out.object.name = "" - root.out.event.message = "The UPS has been turned 'off' by the management station" - - check: this.trap.SpecificTrap == 13 - processors: - - label: ups_sleeping_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_sleeping_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Sleep" - root.out.object.name = "" - root.out.event.message = "UPS is entering 'sleep' mode (Power to the load will be cut off)" - - check: this.trap.SpecificTrap == 14 - processors: - - label: ups_woke_up_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_woke_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Sleep" - root.out.object.name = "" - root.out.event.message = "UPS has returned from 'sleep' mode (Power to the load has been restored)" - - check: this.trap.SpecificTrap == 15 - processors: - - label: ups_reboot_started_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_reboot_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Reboot" - root.out.object.name = "" - root.out.event.message = "The UPS has started its reboot sequence" - - check: this.trap.SpecificTrap == 16 - processors: - - label: ups_dip_switch_changed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_dip_switch_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Config" - root.out.object.name = "" - root.out.event.message = "dip switch settings on the UPS have been changed" - - check: this.trap.SpecificTrap == 17 - processors: - - label: ups_battery_needs_replacement_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_needs_replacement_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Battery Status" - root.out.object.name = "" - root.out.event.message = "The batteries of the UPS need immediate replacement" - - check: this.trap.SpecificTrap == 18 - processors: - - label: contact_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: contact_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Contact Fault" - root.out.object.name = "" - root.out.event.message = "One of the contacts on the Measure-UPS has changed from its default position" - - check: this.trap.SpecificTrap == 19 - processors: - - label: contact_fault_resolved_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: contact_fault_resolved_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Contact Fault" - root.out.object.name = "" - root.out.event.message = "A fault on one of the Measure-UPS contacts has been resolved" - - check: this.trap.SpecificTrap == 20 - processors: - - label: hardware_failure_bypass_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: hardware_failure_bypass_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Bypass" - root.out.object.name = "" - root.out.event.message = "UPS on bypass due to hardware failure" - - check: this.trap.SpecificTrap == 21 - processors: - - label: software_bypass_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: software_bypass_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Bypass" - root.out.object.name = "" - root.out.event.message = "UPS on bypass - user set via software or panel" - - check: this.trap.SpecificTrap == 22 - processors: - - label: switched_bypass_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: switched_bypass_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Bypass" - root.out.object.name = "" - root.out.event.message = "UPS on bypass - user set via rear switch" - - check: this.trap.SpecificTrap == 23 - processors: - - label: return_from_bypass_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: return_from_bypass_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Bypass" - root.out.object.name = "" - root.out.event.message = "UPS has returned from bypass" - - check: this.trap.SpecificTrap == 24 - processors: - - label: bypass_power_supply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: bypass_power_supply_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Base Module" - root.out.object.name = "" - root.out.event.message = "Base module bypass power supply needs repair" - - check: this.trap.SpecificTrap == 25 - processors: - - label: base_fan_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: base_fan_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Base Module" - root.out.object.name = "" - root.out.event.message = "Base module fan needs repair" - - check: this.trap.SpecificTrap == 26 - processors: - - label: battery_pack_comm_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_pack_comm_lost_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Battery Pack Comm" - root.out.object.name = "" - root.out.event.message = "UPS is not communicating with the external battery packs" - - check: this.trap.SpecificTrap == 27 - processors: - - label: battery_pack_comm_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_pack_comm_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Battery Pack Comm" - root.out.object.name = "" - root.out.event.message = "UPS is communicating with the external battery packs" - - check: this.trap.SpecificTrap == 28 - processors: - - label: calibration_start_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: calibration_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Calibration" - root.out.object.name = "" - root.out.event.message = "battery calibration test has been initiated on the UPS" - - check: this.trap.SpecificTrap == 29 - processors: - - label: restart_agent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: restart_agent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Agent" - root.out.object.name = "" - root.out.event.message = "Agent restarting as commanded by manager" - - check: this.trap.SpecificTrap == 30 - processors: - - label: ups_turned_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_turned_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS On/Off" - root.out.object.name = "" - root.out.event.message = "UPS is turned on" - - check: this.trap.SpecificTrap == 31 - processors: - - label: smart_avr_reducing_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_avr_reducing_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Smart" - root.out.object.name = "" - root.out.event.message = "UPS is reducing the line voltage via Smart-AVR" - - check: this.trap.SpecificTrap == 32 - processors: - - label: code_authentication_done_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mconfigTFTPServerIP = this.trap.VarBinds.index(0).Value - root.out.apc.newCodeAuthentViaTFTP = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.318.2.1.5") - - label: code_authentication_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Code Authentication" - root.out.object.name = "" - root.out.event.message = "Authentication on agent code image is done" - - check: this.trap.SpecificTrap == 33 - processors: - - label: ups_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: smart_boost_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_boost_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: smart_avr_reducing_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_avr_reducing_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: ups_battery_replaced_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_replaced_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: calibration_end_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: calibration_end_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: discharge_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: discharge_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: graceful_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: graceful_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: outlet_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUOutletControlIndex = this.trap.VarBinds.index(0).Value - - label: outlet_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: outlet_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUOutletControlIndex = this.trap.VarBinds.index(0).Value - - label: outlet_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: outlet_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUOutletControlIndex = this.trap.VarBinds.index(0).Value - - label: outlet_reboot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: config_change_snmp_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: config_change_snmp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: config_change_outlet_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUOutletConfigIndex = this.trap.VarBinds.index(0).Value - - label: config_change_outlet_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: access_violation_console_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: access_violation_console_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: access_violation_http_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: access_violation_http_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: password_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: password_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: bad_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: bad_voltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: bad_voltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: bad_voltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: charger_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: charger_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 52 - processors: - - label: charger_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: charger_failure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 53 - processors: - - label: battery_over_temperature_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_over_temperature_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 54 - processors: - - label: battery_over_temperature_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_over_temperature_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 55 - processors: - - label: smart_relay_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_relay_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 56 - processors: - - label: smart_relay_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: smart_relay_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 57 - processors: - - label: humidity_threshold_violation1_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: humidity_threshold_violation1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 58 - processors: - - label: humidity_threshold_violation_cleared1_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: humidity_threshold_violation_cleared1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 59 - processors: - - label: temperature_threshold_violation1_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: temperature_threshold_violation1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 60 - processors: - - label: temperature_threshold_violation_cleared1_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: temperature_threshold_violation_cleared1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 61 - processors: - - label: humidity_threshold_violation2_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: humidity_threshold_violation2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 62 - processors: - - label: humidity_threshold_violation_cleared2_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: humidity_threshold_violation_cleared2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 63 - processors: - - label: temperature_threshold_violation2_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: temperature_threshold_violation2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 64 - processors: - - label: temperature_threshold_violation_cleared2_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: temperature_threshold_violation_cleared2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 65 - processors: - - label: mups_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: mups_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 66 - processors: - - label: mups_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: mups_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 67 - processors: - - label: battery_increase_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_increase_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 68 - processors: - - label: battery_decrease_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: battery_decrease_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 69 - processors: - - label: power_module_increase_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: power_module_increase_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 70 - processors: - - label: power_module_decrease_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: power_module_decrease_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 71 - processors: - - label: intelligence_module_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: intelligence_module_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 72 - processors: - - label: intelligence_module_removed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: intelligence_module_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 73 - processors: - - label: rintelligence_module_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: rintelligence_module_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 74 - processors: - - label: rintelligence_module_removed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: rintelligence_module_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 75 - processors: - - label: ext_battery_frame_incease_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ext_battery_frame_incease_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 76 - processors: - - label: ext_battery_frame_decrease_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ext_battery_frame_decrease_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 77 - processors: - - label: abnormal_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: abnormal_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 78 - processors: - - label: abnormal_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: abnormal_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 79 - processors: - - label: device_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_status_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 80 - processors: - - label: no_batteries_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: no_batteries_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 81 - processors: - - label: no_batteries_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: no_batteries_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 82 - processors: - - label: user_added_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: user_added_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 83 - processors: - - label: user_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: user_deleted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 84 - processors: - - label: user_modified_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: user_modified_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 85 - processors: - - label: msvm_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 86 - processors: - - label: msvm_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 87 - processors: - - label: msvm_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 88 - processors: - - label: msvm_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 89 - processors: - - label: msvm_outlet_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlVMOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlVMOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msvm_outlet_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 90 - processors: - - label: msvm_outlet_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlVMOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlVMOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msvm_outlet_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 91 - processors: - - label: msvm_device_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_device_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 92 - processors: - - label: msvm_outlet_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlVMOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlVMOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msvm_outlet_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 93 - processors: - - label: msvm_low_load_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_low_load_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 94 - processors: - - label: msvm_low_load_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_low_load_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 95 - processors: - - label: msvm_near_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_near_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 96 - processors: - - label: msvm_near_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msvm_near_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 97 - processors: - - label: msvm_power_supply_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlVMIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlVMName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: msvm_power_supply_status_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 98 - processors: - - label: msp_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msp_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 99 - processors: - - label: msp_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msp_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 100 - processors: - - label: msp_outlet_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlMSPOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlMSPOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msp_outlet_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 101 - processors: - - label: msp_outlet_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlMSPOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlMSPOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msp_outlet_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 102 - processors: - - label: msp_device_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: msp_device_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 103 - processors: - - label: msp_outlet_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.sPDUMasterControlMSPIndex = this.trap.VarBinds.index(0).Value - root.out.apc.sPDUMasterControlMSPName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.sPDUOutletControlMSPOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.sPDUOutletControlMSPOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: msp_outlet_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 104 - processors: - - label: rs_source_switched_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: rs_source_switched_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 105 - processors: - - label: rs_lost_redundancy_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: rs_lost_redundancy_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 106 - processors: - - label: rs_redundancy_restored_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: rs_redundancy_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 107 - processors: - - label: rs_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: rs_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 108 - processors: - - label: rs_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: rs_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 109 - processors: - - label: rs_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: rs_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 110 - processors: - - label: dc_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 111 - processors: - - label: dc_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 112 - processors: - - label: dc_pinchanged_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_pinchanged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 113 - processors: - - label: dc_major_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_major_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 114 - processors: - - label: dc_major_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_major_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 115 - processors: - - label: dc_minor_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_minor_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 116 - processors: - - label: dc_minor_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_minor_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 117 - processors: - - label: dc_output_relay_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.dm3StatusOutRlyIndex = this.trap.VarBinds.index(0).Value - root.out.apc.dm3StatusOutRlyName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dc_output_relay_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 118 - processors: - - label: dc_output_relay_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.dm3StatusOutRlyIndex = this.trap.VarBinds.index(0).Value - root.out.apc.dm3StatusOutRlyName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dc_output_relay_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 119 - processors: - - label: dc_input_relay_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.dm3StatusInRlyIndex = this.trap.VarBinds.index(0).Value - root.out.apc.dm3StatusInRlyName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dc_input_relay_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 120 - processors: - - label: dc_input_relay_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.dm3StatusInRlyIndex = this.trap.VarBinds.index(0).Value - root.out.apc.dm3StatusInRlyName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dc_input_relay_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 121 - processors: - - label: logic_power_supplies_increased_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: logic_power_supplies_increased_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 122 - processors: - - label: logic_power_supplies_decreased_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: logic_power_supplies_decreased_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 123 - processors: - - label: external_switch_gear_closed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: external_switch_gear_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 124 - processors: - - label: external_switch_gear_opened_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: external_switch_gear_opened_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 125 - processors: - - label: general_device_event_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: general_device_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 126 - processors: - - label: ats_source_switched_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ats_source_switched_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 127 - processors: - - label: ats_lost_redundancy_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ats_lost_redundancy_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 128 - processors: - - label: ats_redundancy_restored_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ats_redundancy_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 129 - processors: - - label: ats_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ats_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 130 - processors: - - label: ats_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ats_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 131 - processors: - - label: ats_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ats_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 132 - processors: - - label: ats_over_current_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ats_over_current_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 133 - processors: - - label: ats_over_current_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ats_over_current_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 134 - processors: - - label: ats_power_supply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ats_power_supply_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 135 - processors: - - label: ats_power_supply_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ats_power_supply_failure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 136 - processors: - - label: dc_mains_fail_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_mains_fail_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 137 - processors: - - label: dc_mains_fail_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_mains_fail_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 138 - processors: - - label: dc_fan_fail_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_fan_fail_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 139 - processors: - - label: dc_fan_fail_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_fan_fail_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 140 - processors: - - label: dc_rectifier_overtemp_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_overtemp_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 141 - processors: - - label: dc_rectifier_overtemp_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_overtemp_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 142 - processors: - - label: dc_current_limit_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_current_limit_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 143 - processors: - - label: dc_current_limit_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_current_limit_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 144 - processors: - - label: dc_rectifier_fail_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_fail_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 145 - processors: - - label: dc_rectifier_fail_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_fail_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 146 - processors: - - label: dc_mult_rect_fail_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_mult_rect_fail_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 147 - processors: - - label: dc_mult_rect_fail_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_mult_rect_fail_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 148 - processors: - - label: dc_battery_breaker_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_battery_breaker_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 149 - processors: - - label: dc_battery_breaker_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_battery_breaker_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 150 - processors: - - label: dc_rectifier_ovpalarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_ovpalarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 151 - processors: - - label: dc_rectifier_ovpalarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_rectifier_ovpalarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 152 - processors: - - label: dc_lvdimminent_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_lvdimminent_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 153 - processors: - - label: dc_lvdimminent_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_lvdimminent_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 154 - processors: - - label: dc_fuse_cbalarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_fuse_cbalarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 155 - processors: - - label: dc_fuse_cbalarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_fuse_cbalarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 156 - processors: - - label: dc_battery_test_fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_battery_test_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 157 - processors: - - label: dc_temperature_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_temperature_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 158 - processors: - - label: dc_temperature_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_temperature_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 159 - processors: - - label: dc_humidity_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_humidity_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 160 - processors: - - label: dc_humidity_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_humidity_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 161 - processors: - - label: dc_bbcommunication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_bbcommunication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 162 - processors: - - label: dc_bbcommunication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dc_bbcommunication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 163 - processors: - - label: iem_high_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeCurrentTemp = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeTempUnits = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.2.3.2.1.5") - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(2).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: iem_high_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 164 - processors: - - label: iem_high_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_high_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 165 - processors: - - label: iem_low_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeCurrentTemp = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeTempUnits = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.2.3.2.1.5") - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(2).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: iem_low_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 166 - processors: - - label: iem_low_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_low_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 167 - processors: - - label: iem_high_humid_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeCurrentHumid = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(1).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: iem_high_humid_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 168 - processors: - - label: iem_high_humid_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_high_humid_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 169 - processors: - - label: iem_low_humid_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeCurrentHumid = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(1).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: iem_low_humid_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 170 - processors: - - label: iem_low_humid_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusProbeNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusProbeName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_low_humid_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 171 - processors: - - label: iem_probe_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: iem_probe_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 172 - processors: - - label: iem_probe_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: iem_probe_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 173 - processors: - - label: iem_contact_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusContactNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusContactName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_contact_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 174 - processors: - - label: iem_contact_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusContactNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusContactName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_contact_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 175 - processors: - - label: iem_relay_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusRelayNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusRelayName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: iem_relay_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 176 - processors: - - label: iem_relay_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.iemStatusRelayNumber = this.trap.VarBinds.index(0).Value - root.out.apc.iemStatusRelayName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: iem_relay_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 177 - processors: - - label: bm_bat_man_comm_estab_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_comm_estab_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 178 - processors: - - label: bm_bat_man_comm_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_comm_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 179 - processors: - - label: bm_bat_man_knee_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_knee_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 180 - processors: - - label: bm_bat_man_knee_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_knee_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 181 - processors: - - label: bm_bat_man_charger_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_charger_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 182 - processors: - - label: bm_bat_man_charger_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_charger_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 183 - processors: - - label: bm_bat_man_battery_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_battery_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 184 - processors: - - label: bm_bat_man_battery_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_battery_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 185 - processors: - - label: bm_bat_man_environment_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_environment_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 186 - processors: - - label: bm_bat_man_environment_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_environment_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 187 - processors: - - label: bm_bat_man_maintenance_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_maintenance_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 188 - processors: - - label: bm_bat_man_maintenance_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: bm_bat_man_maintenance_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 189 - processors: - - label: pdu_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 190 - processors: - - label: pdu_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 191 - processors: - - label: pdu_utility_line_undervoltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_utility_line_undervoltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 192 - processors: - - label: pdu_utility_line_undervoltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_utility_line_undervoltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 193 - processors: - - label: pdu_utility_line_overvoltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_utility_line_overvoltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 194 - processors: - - label: pdu_utility_line_overvoltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_utility_line_overvoltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 195 - processors: - - label: pdu_ground_overcurrent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_ground_overcurrent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 196 - processors: - - label: pdu_ground_overcurrent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_ground_overcurrent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 197 - processors: - - label: pdu_circuit_panel_input_undervoltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_undervoltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 198 - processors: - - label: pdu_circuit_panel_input_undervoltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_undervoltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 199 - processors: - - label: pdu_circuit_panel_input_overvoltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_overvoltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 200 - processors: - - label: pdu_circuit_panel_input_overvoltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_overvoltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 201 - processors: - - label: pdu_circuit_panel_input_undercurrent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_undercurrent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 202 - processors: - - label: pdu_circuit_panel_input_undercurrent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_undercurrent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 203 - processors: - - label: pdu_circuit_panel_input_overcurrent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_overcurrent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 204 - processors: - - label: pdu_circuit_panel_input_overcurrent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_circuit_panel_input_overcurrent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 205 - processors: - - label: pdu_circuit_panel_frequency_out_of_range_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_circuit_panel_frequency_out_of_range_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 206 - processors: - - label: pdu_circuit_panel_frequency_outof_range_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_circuit_panel_frequency_outof_range_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 207 - processors: - - label: pdu_circuit_panel_neutral_overcurrent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_circuit_panel_neutral_overcurrent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 208 - processors: - - label: pdu_circuit_panel_neutral_overcurrent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_circuit_panel_neutral_overcurrent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 209 - processors: - - label: pdu_system_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_system_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 210 - processors: - - label: pdu_on_battery_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_on_battery_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 211 - processors: - - label: pdu_maintenance_bypass_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_maintenance_bypass_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 212 - processors: - - label: pdu_atypical_bypass_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_atypical_bypass_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 213 - processors: - - label: pdu_no_panel_feed_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_no_panel_feed_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 214 - processors: - - label: pdu_ups_operation_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_ups_operation_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 215 - processors: - - label: pdu_forced_bypass_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_forced_bypass_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 216 - processors: - - label: pdu_input_transformer_over_temperature_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_input_transformer_over_temperature_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 217 - processors: - - label: pdu_input_transformer_over_temperature_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: pdu_input_transformer_over_temperature_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 218 - processors: - - label: pdu_upsinput_voltage_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_upsinput_voltage_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 219 - processors: - - label: pdu_upsinput_voltage_restored_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_upsinput_voltage_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 220 - processors: - - label: pdu_contact_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_contact_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 221 - processors: - - label: pdu_contact_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: pdu_contact_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 222 - processors: - - label: r_pdubank_phase_low_load_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_low_load_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 223 - processors: - - label: r_pdubank_phase_low_load_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_low_load_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 224 - processors: - - label: r_pdubank_phase_near_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_near_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 225 - processors: - - label: r_pdubank_phase_near_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_near_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 226 - processors: - - label: r_pdubank_phase_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 227 - processors: - - label: r_pdubank_phase_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusBankNumber = this.trap.VarBinds.index(2).Value - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pdubank_phase_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 228 - processors: - - label: aru_device_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_device_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 229 - processors: - - label: rm_pducommunication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: rm_pducommunication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 230 - processors: - - label: ems_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 231 - processors: - - label: ems_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 232 - processors: - - label: ems_probe_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_probe_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 233 - processors: - - label: ems_probe_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_probe_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 234 - processors: - - label: ems_sensor_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsSensorStatusSensorIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsSensorStatusSensorName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_sensor_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 235 - processors: - - label: ems_sensor_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsSensorStatusSensorIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsSensorStatusSensorName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_sensor_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 236 - processors: - - label: ems_sensor_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsSensorStatusSensorIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsSensorStatusSensorName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_sensor_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 237 - processors: - - label: ems_sensor_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsSensorStatusSensorIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsSensorStatusSensorName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ems_sensor_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 238 - processors: - - label: ems_beacon_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_beacon_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 239 - processors: - - label: ems_beacon_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_beacon_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 240 - processors: - - label: ems_beacon_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_beacon_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 241 - processors: - - label: ems_beacon_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_beacon_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 242 - processors: - - label: ems_major_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_major_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 243 - processors: - - label: ems_major_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_major_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 244 - processors: - - label: ems_minor_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_minor_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 245 - processors: - - label: ems_minor_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_minor_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 246 - processors: - - label: ems_outlet_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsOutletStatusOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsOutletStatusOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsOutletStatusOutletState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.16.1.1.3") - root.out.apc.emsOutletStatusOutletNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.16.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_outlet_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 247 - processors: - - label: ems_outlet_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsOutletStatusOutletIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsOutletStatusOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsOutletStatusOutletState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.16.1.1.3") - root.out.apc.emsOutletStatusOutletNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.16.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_outlet_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 248 - processors: - - label: ems_input_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsInputContactStatusInputContactIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsInputContactStatusInputContactName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsInputContactStatusInputContactState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.14.1.1.3") - root.out.apc.emsInputContactStatusInputContactNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.14.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_input_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 249 - processors: - - label: ems_input_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsInputContactStatusInputContactIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsInputContactStatusInputContactName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsInputContactStatusInputContactState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.14.1.1.3") - root.out.apc.emsInputContactStatusInputContactNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.14.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_input_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 250 - processors: - - label: ems_output_relay_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsOutputRelayStatusOutputRelayIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsOutputRelayStatusOutputRelayName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsOutputRelayStatusOutputRelayState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.15.1.1.3") - root.out.apc.emsOutputRelayStatusOutputRelayNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.15.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_output_relay_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 251 - processors: - - label: ems_output_relay_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsOutputRelayStatusOutputRelayIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsOutputRelayStatusOutputRelayName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.emsOutputRelayStatusOutputRelayState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.15.1.1.3") - root.out.apc.emsOutputRelayStatusOutputRelayNormalState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.15.1.1.4") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: ems_output_relay_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 252 - processors: - - label: ems_device_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_device_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 253 - processors: - - label: env_high_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_high_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 254 - processors: - - label: env_high_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_high_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 255 - processors: - - label: env_low_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_low_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 256 - processors: - - label: env_low_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_low_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 257 - processors: - - label: env_high_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_high_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 258 - processors: - - label: env_high_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_high_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 259 - processors: - - label: env_low_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_low_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 260 - processors: - - label: env_low_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_low_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 266 - processors: - - label: r_pducommunication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pducommunication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 267 - processors: - - label: r_pducommunication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pducommunication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 268 - processors: - - label: r_pduoutlet_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletControlIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rPDUOutletControlOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pduoutlet_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 269 - processors: - - label: r_pduoutlet_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletControlIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rPDUOutletControlOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pduoutlet_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 270 - processors: - - label: r_pdudevice_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pdudevice_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 271 - processors: - - label: r_pduoutlet_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletControlIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rPDUOutletControlOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pduoutlet_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 272 - processors: - - label: r_pdulow_load_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pdulow_load_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 273 - processors: - - label: r_pdulow_load_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pdulow_load_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 274 - processors: - - label: r_pdunear_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pdunear_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 275 - processors: - - label: r_pdunear_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pdunear_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 276 - processors: - - label: r_pduoverload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoverload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 277 - processors: - - label: r_pduoverload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadStatusPhaseNumber = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoverload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 278 - processors: - - label: r_pdupower_supply1fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pdupower_supply1fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 279 - processors: - - label: r_pdupower_supply1ok_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pdupower_supply1ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 280 - processors: - - label: r_pdupower_supply2fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pdupower_supply2fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 281 - processors: - - label: r_pdupower_supply2ok_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: r_pdupower_supply2ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 282 - processors: - - label: r_pduphase_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDULoadPhaseConfigIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.12.2.2.1.1.1") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduphase_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 283 - processors: - - label: r_pducancel_pending_command_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletControlIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rPDUOutletControlOutletName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: r_pducancel_pending_command_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 284 - processors: - - label: aru_alink_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_alink_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 285 - processors: - - label: aru_alink_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_alink_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 286 - processors: - - label: aru_fan_fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_fan_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 287 - processors: - - label: aru_fan_fail_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_fan_fail_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 288 - processors: - - label: aru_smoke_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_smoke_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 289 - processors: - - label: aru_smoke_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_smoke_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 290 - processors: - - label: aru_high_temperature_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_high_temperature_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 291 - processors: - - label: aru_high_temperature_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_high_temperature_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 292 - processors: - - label: aru_exhaust_temperature_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_exhaust_temperature_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 293 - processors: - - label: aru_exhaust_temperature_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_exhaust_temperature_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 294 - processors: - - label: env_alink_communication_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: env_alink_communication_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 295 - processors: - - label: env_alink_communication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: env_alink_communication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 296 - processors: - - label: ems_alink_power_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_alink_power_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 297 - processors: - - label: ems_alink_power_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_alink_power_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 298 - processors: - - label: ups_outlet_group_turned_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.upsOutletGroupControlIndex = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_outlet_group_turned_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 299 - processors: - - label: ups_outlet_group_turned_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.upsOutletGroupControlIndex = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_outlet_group_turned_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 300 - processors: - - label: smw_critical_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_critical_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 301 - processors: - - label: smw_critical_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_critical_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 302 - processors: - - label: smw_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 303 - processors: - - label: smw_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 304 - processors: - - label: smw_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 305 - processors: - - label: smw_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsGauge = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: smw_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 306 - processors: - - label: air_critical_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_critical_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 307 - processors: - - label: air_critical_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_critical_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 308 - processors: - - label: air_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 309 - processors: - - label: air_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 310 - processors: - - label: air_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 311 - processors: - - label: air_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: air_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 312 - processors: - - label: x_pduinput_voltage_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduinput_voltage_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 313 - processors: - - label: x_pduinput_voltage_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduinput_voltage_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 314 - processors: - - label: x_pduinput_voltage_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduinput_voltage_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 315 - processors: - - label: x_pduinput_voltage_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduinput_voltage_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 316 - processors: - - label: x_pdubypass_voltage_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubypass_voltage_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 317 - processors: - - label: x_pdubypass_voltage_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubypass_voltage_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 318 - processors: - - label: x_pdubypass_voltage_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubypass_voltage_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 319 - processors: - - label: x_pdubypass_voltage_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubypass_voltage_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 320 - processors: - - label: x_pduoutput_voltage_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduoutput_voltage_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 321 - processors: - - label: x_pduoutput_voltage_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduoutput_voltage_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 322 - processors: - - label: x_pduoutput_voltage_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduoutput_voltage_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 323 - processors: - - label: x_pduoutput_voltage_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduoutput_voltage_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 324 - processors: - - label: x_pduoutput_current_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduoutput_current_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 325 - processors: - - label: x_pduoutput_current_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduoutput_current_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 326 - processors: - - label: x_pduoutput_current_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pduoutput_current_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 327 - processors: - - label: x_pduoutput_current_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduoutput_current_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 328 - processors: - - label: x_pduoutput_frequency_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pduoutput_frequency_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 329 - processors: - - label: x_pduoutput_frequency_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pduoutput_frequency_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 330 - processors: - - label: x_pdusystem_ground_current_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdusystem_ground_current_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 331 - processors: - - label: x_pdusystem_ground_current_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdusystem_ground_current_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 332 - processors: - - label: x_pduinput_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: x_pduinput_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 333 - processors: - - label: x_pduinput_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: x_pduinput_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 334 - processors: - - label: x_pduoutput_neutral_current_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pduoutput_neutral_current_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 335 - processors: - - label: x_pduoutput_neutral_current_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pduoutput_neutral_current_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 336 - processors: - - label: x_pducooling_fan_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pducooling_fan_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 337 - processors: - - label: x_pducooling_fan_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pducooling_fan_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 338 - processors: - - label: x_pdutransformer_temp_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdutransformer_temp_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 339 - processors: - - label: x_pdutransformer_temp_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdutransformer_temp_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 340 - processors: - - label: x_pdubranch_current_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubranch_current_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 341 - processors: - - label: x_pdubranch_current_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubranch_current_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 342 - processors: - - label: x_pdubranch_current_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubranch_current_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 343 - processors: - - label: x_pdubranch_current_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubranch_current_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 344 - processors: - - label: x_pduinternal_comm_error_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pduinternal_comm_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 345 - processors: - - label: ems_hardware_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_hardware_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 346 - processors: - - label: ems_hardware_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ems_hardware_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 347 - processors: - - label: ce_severe_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_severe_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 348 - processors: - - label: ce_severe_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_severe_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 349 - processors: - - label: ce_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 350 - processors: - - label: ce_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 351 - processors: - - label: ce_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 352 - processors: - - label: ce_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ce_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 353 - processors: - - label: ups_internal_over_temperature_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_internal_over_temperature_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 354 - processors: - - label: ups_internal_over_temperature_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_internal_over_temperature_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 355 - processors: - - label: ups_mpu_reset_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_mpu_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 356 - processors: - - label: ups_output_switch_closed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_output_switch_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 357 - processors: - - label: ups_output_switch_opened_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_output_switch_opened_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 358 - processors: - - label: ups_calibration_stack_changed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_calibration_stack_changed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 359 - processors: - - label: env_max_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_max_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 360 - processors: - - label: env_max_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_max_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 361 - processors: - - label: env_min_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_min_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 362 - processors: - - label: env_min_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_min_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 363 - processors: - - label: env_max_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_max_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 364 - processors: - - label: env_max_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_max_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 365 - processors: - - label: env_min_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_min_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 366 - processors: - - label: env_min_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeHumidity = this.trap.VarBinds.index(2).Value - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(3).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: env_min_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 367 - processors: - - label: env_stinc_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_stinc_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 368 - processors: - - label: env_stinc_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_stinc_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 369 - processors: - - label: env_stdec_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_stdec_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 370 - processors: - - label: env_stdec_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_stdec_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 371 - processors: - - label: env_ltinc_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_ltinc_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 372 - processors: - - label: env_ltinc_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_ltinc_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 373 - processors: - - label: env_ltdec_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_ltdec_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 374 - processors: - - label: env_ltdec_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.emsProbeStatusProbeTemperature = this.trap.VarBinds.index(2).Value - root.out.apc.emsStatusSysTempUnits = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.10.3.12.11") - root.out.apc.emsProbeStatusProbeIndex = this.trap.VarBinds.index(4).Value - root.out.apc.emsProbeStatusProbeName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: env_ltdec_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 375 - processors: - - label: bms_critical_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_critical_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 376 - processors: - - label: bms_critical_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_critical_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 377 - processors: - - label: bms_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 378 - processors: - - label: bms_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 379 - processors: - - label: bms_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 380 - processors: - - label: bms_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: bms_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 381 - processors: - - label: x_atsoutput_voltage_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_atsoutput_voltage_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 382 - processors: - - label: x_atsoutput_voltage_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsoutput_voltage_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 383 - processors: - - label: x_atsoutput_voltage_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_atsoutput_voltage_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 384 - processors: - - label: x_atsoutput_voltage_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsoutput_voltage_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 385 - processors: - - label: x_atsoutput_current_low_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_atsoutput_current_low_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 386 - processors: - - label: x_atsoutput_current_low_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsoutput_current_low_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 387 - processors: - - label: x_atsoutput_current_high_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_atsoutput_current_high_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 388 - processors: - - label: x_atsoutput_current_high_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsoutput_current_high_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 389 - processors: - - label: x_atsoutput_frequency_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsoutput_frequency_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 390 - processors: - - label: x_atsoutput_frequency_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsoutput_frequency_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 391 - processors: - - label: x_atsinternal_comm_error_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsinternal_comm_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 392 - processors: - - label: x_atsinternal_comm_error_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsinternal_comm_error_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 393 - processors: - - label: x_atsdata_comm_mismatch_error_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdata_comm_mismatch_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 394 - processors: - - label: x_atsdata_comm_mismatch_error_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdata_comm_mismatch_error_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 395 - processors: - - label: x_atsgen_comm_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgen_comm_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 396 - processors: - - label: x_atsgen_comm_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgen_comm_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 397 - processors: - - label: x_atsneutral_position_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsneutral_position_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 398 - processors: - - label: x_atsswitch_transfer_event_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_atsswitch_transfer_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 399 - processors: - - label: x_atsinternal_atsfault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsinternal_atsfault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 400 - processors: - - label: x_atsinternal_atsfault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsinternal_atsfault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 401 - processors: - - label: x_atsengine_start_asserted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsengine_start_asserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 402 - processors: - - label: x_atsengine_stop_asserted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsengine_stop_asserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 403 - processors: - - label: x_atsstart_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsstart_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 404 - processors: - - label: x_atsstop_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsstop_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 405 - processors: - - label: x_atsnot_in_automatic_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsnot_in_automatic_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 406 - processors: - - label: x_atsnot_in_automatic_mode_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsnot_in_automatic_mode_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 407 - processors: - - label: x_atsepo_tripped_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsepo_tripped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 408 - processors: - - label: x_atsepo_reset_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsepo_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 409 - processors: - - label: x_atsepo_test_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsepo_test_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 410 - processors: - - label: x_atsepo_armed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsepo_armed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 411 - processors: - - label: x_atstest_initiated_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atstest_initiated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 412 - processors: - - label: x_atstest_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atstest_canceled_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 413 - processors: - - label: x_atstest_failed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atstest_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 414 - processors: - - label: x_atstest_passed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atstest_passed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 415 - processors: - - label: x_atsinput_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: x_atsinput_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 416 - processors: - - label: x_atsinput_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: x_atsinput_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 417 - processors: - - label: x_atsremote_start_contact_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsremote_start_contact_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 418 - processors: - - label: x_atsremote_start_contact_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsremote_start_contact_mismatch_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 419 - processors: - - label: x_atsdoor_open_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdoor_open_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 420 - processors: - - label: x_atsdoor_open_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdoor_open_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 421 - processors: - - label: x_atsdcbackup_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdcbackup_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 422 - processors: - - label: x_atsdcbackup_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsdcbackup_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 423 - processors: - - label: x_atsgenerator_low_coolant_level_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_coolant_level_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 424 - processors: - - label: x_atsgenerator_low_coolant_level_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_coolant_level_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 425 - processors: - - label: x_atsgenerator_very_low_coolant_level_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_coolant_level_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 426 - processors: - - label: x_atsgenerator_very_low_coolant_level_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_coolant_level_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 427 - processors: - - label: x_atsgenerator_high_coolant_temp_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_coolant_temp_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 428 - processors: - - label: x_atsgenerator_high_coolant_temp_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_coolant_temp_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 429 - processors: - - label: x_atsgenerator_very_high_coolant_temp_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_high_coolant_temp_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 430 - processors: - - label: x_atsgenerator_very_high_coolant_temp_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_high_coolant_temp_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 431 - processors: - - label: x_atsgenerator_low_coolant_temp_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_coolant_temp_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 432 - processors: - - label: x_atsgenerator_low_coolant_temp_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_coolant_temp_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 433 - processors: - - label: x_atsgenerator_low_oil_level_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_oil_level_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 434 - processors: - - label: x_atsgenerator_low_oil_level_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_oil_level_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 435 - processors: - - label: x_atsgenerator_low_battery_volt_during_crank_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_battery_volt_during_crank_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 436 - processors: - - label: x_atsgenerator_low_battery_volt_during_crank_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_battery_volt_during_crank_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 437 - processors: - - label: x_atsgenerator_very_low_battery_volt_during_crank_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_battery_volt_during_crank_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 438 - processors: - - label: x_atsgenerator_very_low_battery_volt_during_crank_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_battery_volt_during_crank_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 439 - processors: - - label: x_atsgenerator_estop_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsgenerator_estop_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 440 - processors: - - label: x_atsgenerator_estop_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_atsgenerator_estop_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 441 - processors: - - label: x_atsgenerator_high_battery_volt_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_battery_volt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 442 - processors: - - label: x_atsgenerator_high_battery_volt_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_battery_volt_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 443 - processors: - - label: x_atsgenerator_low_battery_volt_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_battery_volt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 444 - processors: - - label: x_atsgenerator_low_battery_volt_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_battery_volt_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 445 - processors: - - label: x_atsgenerator_control_switch_not_auto_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_control_switch_not_auto_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 446 - processors: - - label: x_atsgenerator_control_switch_not_auto_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_control_switch_not_auto_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 447 - processors: - - label: x_atsgenerator_low_oil_pressure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_oil_pressure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 448 - processors: - - label: x_atsgenerator_low_oil_pressure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_oil_pressure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 449 - processors: - - label: x_atsgenerator_very_low_oil_pressure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_oil_pressure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 450 - processors: - - label: x_atsgenerator_very_low_oil_pressure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_oil_pressure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 451 - processors: - - label: x_atsgenerator_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 452 - processors: - - label: x_atsgenerator_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 453 - processors: - - label: x_atsgenerator_low_acvevent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_acvevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 454 - processors: - - label: x_atsgenerator_low_acvevent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_acvevent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 455 - processors: - - label: x_atsgenerator_high_acvevent_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_acvevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 456 - processors: - - label: x_atsgenerator_high_acvevent_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_high_acvevent_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 457 - processors: - - label: x_atsgenerator_overspeed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_overspeed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 458 - processors: - - label: x_atsgenerator_overspeed_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_overspeed_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 459 - processors: - - label: x_atsgenerator_engine_cold_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_engine_cold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 460 - processors: - - label: x_atsgenerator_engine_cold_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_engine_cold_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 461 - processors: - - label: x_atsgenerator_output_breaker_open_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_output_breaker_open_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 462 - processors: - - label: x_atsgenerator_output_breaker_open_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_output_breaker_open_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 463 - processors: - - label: x_atsgenerator_low_fuel_level_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_fuel_level_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 464 - processors: - - label: x_atsgenerator_low_fuel_level_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_low_fuel_level_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 465 - processors: - - label: x_atsgenerator_very_low_fuel_level_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_fuel_level_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 466 - processors: - - label: x_atsgenerator_very_low_fuel_level_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_very_low_fuel_level_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 467 - processors: - - label: x_atsgenerator_low_run_time_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_low_run_time_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 468 - processors: - - label: x_atsgenerator_low_run_time_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_low_run_time_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 469 - processors: - - label: x_atsgenerator_very_low_run_time_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_very_low_run_time_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 470 - processors: - - label: x_atsgenerator_very_low_run_time_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_very_low_run_time_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 471 - processors: - - label: x_atsgenerator_service_due_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_service_due_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 472 - processors: - - label: x_atsgenerator_service_due_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsgenerator_service_due_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 473 - processors: - - label: x_atsgenerator_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 474 - processors: - - label: x_atsgenerator_shutdown_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_shutdown_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 475 - processors: - - label: x_atsgenerator_battery_charger_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_battery_charger_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 476 - processors: - - label: x_atsgenerator_battery_charger_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_battery_charger_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 477 - processors: - - label: x_atsgenerator_generic_event_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_generic_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 478 - processors: - - label: x_atsgenerator_generic_event_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_generic_event_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 479 - processors: - - label: x_pduinternal_comm_error_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pduinternal_comm_error_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 480 - processors: - - label: x_pdusystem_state_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdusystem_state_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 481 - processors: - - label: x_pdusystem_state_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdusystem_state_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 482 - processors: - - label: x_pduepo_test_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pduepo_test_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 483 - processors: - - label: x_pduepo_armed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pduepo_armed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 484 - processors: - - label: x_pdufuse_blown_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdufuse_blown_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 485 - processors: - - label: x_pdufuse_blown_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdufuse_blown_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 486 - processors: - - label: x_pdubreaker_position_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubreaker_position_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 487 - processors: - - label: x_pdubreaker_position_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_pdubreaker_position_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 488 - processors: - - label: x_pdubreaker_change_event_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubreaker_change_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 489 - processors: - - label: x_pdudata_comm_mismatch_error_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdudata_comm_mismatch_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 490 - processors: - - label: x_pdudata_comm_mismatch_error_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdudata_comm_mismatch_error_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 491 - processors: - - label: x_pdusystem_in_maintenance_bypass_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdusystem_in_maintenance_bypass_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 492 - processors: - - label: x_pdusystem_in_upsoperational_mode_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_pdusystem_in_upsoperational_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 493 - processors: - - label: x_atsgenerator_fuel_tank_rupture_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_fuel_tank_rupture_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 494 - processors: - - label: x_atsgenerator_fuel_tank_rupture_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_fuel_tank_rupture_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 495 - processors: - - label: x_atsgenerator_ground_fault_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_ground_fault_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 496 - processors: - - label: x_atsgenerator_ground_fault_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsgenerator_ground_fault_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 497 - processors: - - label: x_atsoutput_load_powered_by_generator_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atsoutput_load_powered_by_generator_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 498 - processors: - - label: x_atsoutput_load_powered_by_generator_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atsoutput_load_powered_by_generator_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 499 - processors: - - label: x_apccontroller_firmware_update_transfer_start_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_apccontroller_firmware_update_transfer_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 500 - processors: - - label: x_apccontroller_firmware_update_transfer_complete_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_apccontroller_firmware_update_transfer_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 501 - processors: - - label: x_apccontroller_firmware_update_transfer_failed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_apccontroller_firmware_update_transfer_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 502 - processors: - - label: ups_pfc_input_relay_failure_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_pfc_input_relay_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 503 - processors: - - label: ups_pfc_input_relay_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_pfc_input_relay_failure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 504 - processors: - - label: ups_inverter_over_temperature_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_inverter_over_temperature_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 505 - processors: - - label: ups_inverter_over_temperature_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_inverter_over_temperature_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 506 - processors: - - label: ups_battery_over_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_over_voltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 507 - processors: - - label: ups_battery_over_voltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_over_voltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 508 - processors: - - label: ups_eeprom_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_eeprom_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 509 - processors: - - label: ups_eeprom_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_eeprom_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 510 - processors: - - label: aru_fan_runtime_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: aru_fan_runtime_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 511 - processors: - - label: aru_fan_runtime_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: aru_fan_runtime_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 512 - processors: - - label: aru_fan_poor_performance_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: aru_fan_poor_performance_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 513 - processors: - - label: aru_fan_poor_performance_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: aru_fan_poor_performance_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 514 - processors: - - label: aru_redundant_power_lost_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_redundant_power_lost_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 515 - processors: - - label: aru_redundant_power_lost_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.emsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.emsIdentEMSName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rARUStatusAruIndex = this.trap.VarBinds.index(2).Value - root.out.apc.rARUStatusAruName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: aru_redundant_power_lost_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 516 - processors: - - label: apc_device_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_device_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 517 - processors: - - label: apc_env_sensor_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_sensor_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 518 - processors: - - label: apc_env_sensor_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_sensor_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 519 - processors: - - label: apc_env_max_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_max_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 520 - processors: - - label: apc_env_max_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_max_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 521 - processors: - - label: apc_env_high_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_high_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 522 - processors: - - label: apc_env_high_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_high_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 523 - processors: - - label: apc_env_low_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_low_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 524 - processors: - - label: apc_env_low_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_low_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 525 - processors: - - label: apc_env_min_temp_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_min_temp_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 526 - processors: - - label: apc_env_min_temp_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_min_temp_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 527 - processors: - - label: apc_env_stinc_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_stinc_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 528 - processors: - - label: apc_env_stinc_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_stinc_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 529 - processors: - - label: apc_env_stdec_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_stdec_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 530 - processors: - - label: apc_env_stdec_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_stdec_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 531 - processors: - - label: apc_env_ltinc_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_ltinc_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 532 - processors: - - label: apc_env_ltinc_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_ltinc_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 533 - processors: - - label: apc_env_ltdec_temp_rate_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_ltdec_temp_rate_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 534 - processors: - - label: apc_env_ltdec_temp_rate_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_ltdec_temp_rate_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 535 - processors: - - label: apc_env_max_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_max_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 536 - processors: - - label: apc_env_max_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_max_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 537 - processors: - - label: apc_env_high_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_high_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 538 - processors: - - label: apc_env_high_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_high_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 539 - processors: - - label: apc_env_low_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_low_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 540 - processors: - - label: apc_env_low_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_low_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 541 - processors: - - label: apc_env_min_humidity_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_min_humidity_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 542 - processors: - - label: apc_env_min_humidity_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_env_min_humidity_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 543 - processors: - - label: apc_beacon_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_beacon_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 544 - processors: - - label: apc_beacon_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_beacon_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 545 - processors: - - label: apc_beacon_on_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_beacon_on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 546 - processors: - - label: apc_beacon_off_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_beacon_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 547 - processors: - - label: apc_outlet_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_outlet_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 548 - processors: - - label: apc_outlet_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_outlet_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 549 - processors: - - label: apc_output_relay_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_output_relay_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 550 - processors: - - label: apc_output_relay_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_output_relay_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 551 - processors: - - label: apc_hardware_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_hardware_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 552 - processors: - - label: apc_hardware_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_hardware_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 553 - processors: - - label: apc_critical_discrete_input_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_critical_discrete_input_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 554 - processors: - - label: apc_critical_discrete_input_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_critical_discrete_input_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 555 - processors: - - label: apc_warning_discrete_input_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_warning_discrete_input_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 556 - processors: - - label: apc_warning_discrete_input_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_warning_discrete_input_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 557 - processors: - - label: apc_informational_discrete_input_contact_state_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_informational_discrete_input_contact_state_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 558 - processors: - - label: apc_informational_discrete_input_contact_state_normal_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(6).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: apc_informational_discrete_input_contact_state_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 559 - processors: - - label: apc_analog_input_max_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_max_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 560 - processors: - - label: apc_analog_input_max_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_max_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 561 - processors: - - label: apc_analog_input_high_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_high_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 562 - processors: - - label: apc_analog_input_high_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_high_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 563 - processors: - - label: apc_analog_input_low_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_low_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 564 - processors: - - label: apc_analog_input_low_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_low_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 565 - processors: - - label: apc_analog_input_min_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_min_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 566 - processors: - - label: apc_analog_input_min_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_analog_input_min_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 567 - processors: - - label: apc_device_clear_lost_comms_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_device_clear_lost_comms_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 568 - processors: - - label: apc_device_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_device_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 569 - processors: - - label: apc_device_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_device_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 570 - processors: - - label: apc_unregistered_user_access_denied_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_unregistered_user_access_denied_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 571 - processors: - - label: apc_registered_user_access_denied_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: apc_registered_user_access_denied_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 572 - processors: - - label: apc_registered_user_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_registered_user_config_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 573 - processors: - - label: apc_door_unlocked_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: apc_door_unlocked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 574 - processors: - - label: apc_door_locked_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(5).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: apc_door_locked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 575 - processors: - - label: apc_handle_opened_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_handle_opened_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 576 - processors: - - label: apc_handle_closed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_handle_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 577 - processors: - - label: apc_door_opened_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_opened_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 578 - processors: - - label: apc_door_closed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 580 - processors: - - label: apc_key_override_unlocked_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_key_override_unlocked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 581 - processors: - - label: apc_key_override_locked_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_key_override_locked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 582 - processors: - - label: apc_forced_entry_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_forced_entry_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 583 - processors: - - label: apc_forced_entry_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_forced_entry_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 584 - processors: - - label: apc_relock_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_relock_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 585 - processors: - - label: apc_relock_timeout_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_relock_timeout_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 586 - processors: - - label: apc_door_sense_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_sense_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 587 - processors: - - label: apc_door_sense_connected_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_sense_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 588 - processors: - - label: apc_door_lost_comms_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_lost_comms_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 589 - processors: - - label: apc_door_established_comms_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_established_comms_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 590 - processors: - - label: apc_registered_user_access_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_registered_user_access_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 591 - processors: - - label: apc_unregistered_user_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_unregistered_user_status_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 592 - processors: - - label: apc_device_clear_user_configs_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger04 = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: apc_device_clear_user_configs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 600 - processors: - - label: ups_battery_temp_sensor_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_temp_sensor_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 601 - processors: - - label: ups_battery_temp_sensor_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_temp_sensor_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 602 - processors: - - label: ups_battery_soft_bus_start_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_soft_bus_start_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 603 - processors: - - label: ups_battery_soft_bus_start_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_battery_soft_bus_start_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 604 - processors: - - label: apc_output_short_circuit_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_output_short_circuit_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 605 - processors: - - label: apc_output_short_circuit_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_output_short_circuit_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 606 - processors: - - label: apc_output_relay_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_output_relay_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 607 - processors: - - label: apc_output_relay_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_output_relay_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 608 - processors: - - label: ups_pfc_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_pfc_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 609 - processors: - - label: ups_pfc_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_pfc_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 610 - processors: - - label: apc_dc_bus_over_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_dc_bus_over_voltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 611 - processors: - - label: apc_dc_bus_over_voltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_dc_bus_over_voltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 612 - processors: - - label: ups_inverter_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_inverter_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 613 - processors: - - label: ups_inverter_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_inverter_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 614 - processors: - - label: apc_ad_converter_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_ad_converter_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 615 - processors: - - label: apc_ad_converter_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_ad_converter_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 616 - processors: - - label: apc_logic_power_supply_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_logic_power_supply_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 617 - processors: - - label: apc_logic_power_supply_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_logic_power_supply_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 618 - processors: - - label: apc_transformer_dcimbalance_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_transformer_dcimbalance_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 619 - processors: - - label: apc_transformer_dcimbalance_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_transformer_dcimbalance_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 620 - processors: - - label: ups_backfeed_relay_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_backfeed_relay_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 621 - processors: - - label: ups_backfeed_relay_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_backfeed_relay_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 622 - processors: - - label: ups_bypass_relay_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_bypass_relay_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 623 - processors: - - label: ups_bypass_relay_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_bypass_relay_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 626 - processors: - - label: x_pdubranch_current_min_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubranch_current_min_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 627 - processors: - - label: x_pdubranch_current_min_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubranch_current_min_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 628 - processors: - - label: x_pdubranch_current_max_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: x_pdubranch_current_max_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 629 - processors: - - label: x_pdubranch_current_max_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xPDUIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: x_pdubranch_current_max_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 630 - processors: - - label: r_pduoutlet_low_load_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_low_load_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 631 - processors: - - label: r_pduoutlet_low_load_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_low_load_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 632 - processors: - - label: r_pduoutlet_near_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_near_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 633 - processors: - - label: r_pduoutlet_near_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_near_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 634 - processors: - - label: r_pduoutlet_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 635 - processors: - - label: r_pduoutlet_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.rPDUIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.rPDUIdentName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.rPDUOutletStatusIndex = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: r_pduoutlet_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 636 - processors: - - label: apc_test_trap_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: apc_test_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 637 - processors: - - label: base_fan_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: base_fan_failure_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 638 - processors: - - label: ats_low_load_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_low_load_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 639 - processors: - - label: ats_low_load_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_low_load_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 640 - processors: - - label: ats_near_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_near_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 641 - processors: - - label: ats_near_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_near_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 642 - processors: - - label: ats_overload_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 643 - processors: - - label: ats_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.atsOutputPhaseIndex = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.3.1.2") - root.out.apc.atsOutputBank = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.318.1.1.8.5.4.5.1.3") - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: ats_overload_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 644 - processors: - - label: ats_rmsover_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsover_voltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 645 - processors: - - label: ats_rmsover_voltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsover_voltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 646 - processors: - - label: ats_rmsunder_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsunder_voltage_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 647 - processors: - - label: ats_rmsunder_voltage_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsunder_voltage_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 648 - processors: - - label: ats_rmsover_frequency_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsover_frequency_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 649 - processors: - - label: ats_rmsover_frequency_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsover_frequency_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 650 - processors: - - label: ats_rmsunder_frequency_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsunder_frequency_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 651 - processors: - - label: ats_rmsunder_frequency_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_rmsunder_frequency_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 652 - processors: - - label: isx_modular_distribution_comm_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_distribution_comm_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 653 - processors: - - label: isx_modular_distribution_comm_established_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_distribution_comm_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 654 - processors: - - label: isx_modular_distribution_module_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_distribution_module_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 655 - processors: - - label: isx_modular_distribution_module_removed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_distribution_module_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 656 - processors: - - label: isx_modular_breaker_open_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_breaker_open_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 657 - processors: - - label: isx_modular_breaker_open_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_breaker_open_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 658 - processors: - - label: isx_modular_min_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_min_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 659 - processors: - - label: isx_modular_min_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_min_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 660 - processors: - - label: isx_modular_low_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_low_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 661 - processors: - - label: isx_modular_low_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_low_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 662 - processors: - - label: isx_modular_high_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_high_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 663 - processors: - - label: isx_modular_high_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_high_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 664 - processors: - - label: isx_modular_max_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_max_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 665 - processors: - - label: isx_modular_max_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_max_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 666 - processors: - - label: isx_modular_subfeed_breaker_open_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_subfeed_breaker_open_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 667 - processors: - - label: isx_modular_subfeed_breaker_open_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_subfeed_breaker_open_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 668 - processors: - - label: isx_modular_subfeed_min_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_subfeed_min_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 669 - processors: - - label: isx_modular_subfeed_min_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_subfeed_min_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 670 - processors: - - label: isx_modular_subfeed_low_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_subfeed_low_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 671 - processors: - - label: isx_modular_subfeed_low_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_subfeed_low_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 672 - processors: - - label: isx_modular_subfeed_high_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_subfeed_high_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 673 - processors: - - label: isx_modular_subfeed_high_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_subfeed_high_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 674 - processors: - - label: isx_modular_subfeed_max_current_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: isx_modular_subfeed_max_current_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 675 - processors: - - label: isx_modular_subfeed_max_current_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: isx_modular_subfeed_max_current_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 676 - processors: - - label: isx_modular_total_output_current_min_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_total_output_current_min_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 677 - processors: - - label: isx_modular_total_output_current_min_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_total_output_current_min_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 678 - processors: - - label: isx_modular_total_output_current_low_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_total_output_current_low_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 679 - processors: - - label: isx_modular_total_output_current_low_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_total_output_current_low_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 680 - processors: - - label: isx_modular_total_output_current_high_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_total_output_current_high_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 681 - processors: - - label: isx_modular_total_output_current_high_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_total_output_current_high_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 682 - processors: - - label: isx_modular_total_output_current_max_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_total_output_current_max_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 683 - processors: - - label: isx_modular_total_output_current_max_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_total_output_current_max_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 684 - processors: - - label: isx_modular_output_voltage_min_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_output_voltage_min_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 685 - processors: - - label: isx_modular_output_voltage_min_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_output_voltage_min_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 686 - processors: - - label: isx_modular_output_voltage_low_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_output_voltage_low_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 687 - processors: - - label: isx_modular_output_voltage_low_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_output_voltage_low_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 688 - processors: - - label: isx_modular_output_voltage_high_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_output_voltage_high_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 689 - processors: - - label: isx_modular_output_voltage_high_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_output_voltage_high_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 690 - processors: - - label: isx_modular_output_voltage_max_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: isx_modular_output_voltage_max_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 691 - processors: - - label: isx_modular_output_voltage_max_threshold_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_output_voltage_max_threshold_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 692 - processors: - - label: apc_door_closed_improperly_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_closed_improperly_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 693 - processors: - - label: apc_door_closed_improperly_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_door_closed_improperly_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 694 - processors: - - label: apc_user_schedule_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_user_schedule_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 695 - processors: - - label: apc_user_schedule_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: apc_user_schedule_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 696 - processors: - - label: isx_modular_output_frequency_threshold_violation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: isx_modular_output_frequency_threshold_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 697 - processors: - - label: isx_modular_output_frequency_violation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: isx_modular_output_frequency_violation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 698 - processors: - - label: ats_source_status_fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_source_status_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 699 - processors: - - label: ats_source_status_ok_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_source_status_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 700 - processors: - - label: ats_hardware_status_fail_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_hardware_status_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 701 - processors: - - label: ats_hardware_status_ok_variables - mapping: |- - #!blobl - root = this - - root.out.apc.atsIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.atsConfigProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: ats_hardware_status_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 702 - processors: - - label: ats_controller_restart_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ats_controller_restart_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 724 - processors: - - label: x_atss1bad_phase_rotation_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atss1bad_phase_rotation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 725 - processors: - - label: x_atss1bad_phase_rotation_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atss1bad_phase_rotation_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 726 - processors: - - label: x_atss1bad_phase_balance_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: x_atss1bad_phase_balance_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 727 - processors: - - label: x_atss1bad_phase_balance_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.xATSIdentSerialNumber = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.xATSIdentProductName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: x_atss1bad_phase_balance_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 728 - processors: - - label: isx_modular_transformer_overheating_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: isx_modular_transformer_overheating_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 729 - processors: - - label: isx_modular_transformer_overheating_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: isx_modular_transformer_overheating_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 730 - processors: - - label: apc_internal_communication_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_internal_communication_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 731 - processors: - - label: apc_internal_communication_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: apc_internal_communication_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 732 - processors: - - label: ups_outlet_group_command_variables - mapping: |- - #!blobl - root = this - - root.out.apc.upsOutletGroupControlIndex = this.trap.VarBinds.index(0).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_outlet_group_command_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 733 - processors: - - label: onbatterycommunication_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: onbatterycommunication_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 734 - processors: - - label: ups_critical_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_critical_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 735 - processors: - - label: ups_critical_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_critical_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 736 - processors: - - label: ups_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 737 - processors: - - label: ups_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 738 - processors: - - label: ups_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 739 - processors: - - label: ups_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(1).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: ups_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 740 - processors: - - label: isxc_informational_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_informational_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 741 - processors: - - label: isxc_informational_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_informational_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 742 - processors: - - label: isxc_warning_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_warning_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 743 - processors: - - label: isxc_warning_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_warning_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 744 - processors: - - label: isxc_error_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_error_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 745 - processors: - - label: isxc_error_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_error_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 746 - processors: - - label: isxc_critical_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_critical_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 747 - processors: - - label: isxc_critical_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_critical_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 748 - processors: - - label: isxc_failure_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_failure_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 749 - processors: - - label: isxc_failure_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString02 = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.apc.mtrapargsString04 = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString03 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.apc.mtrapargsString05 = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.apc.mtrapargsString06 = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.apc.mtrapargsString07 = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString04 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString05 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.apc.mtrapargsString08 = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.apc.mtrapargsOctetString06 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - root.out.apc.mtrapargsOctetString07 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(15).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(16).Value - root.out.apc.mtrapargsOctetString08 = this.trap.VarBinds.index(17).Value.snmp_octet_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(18).Value.snmp_display_string() - - label: isxc_failure_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 750 - processors: - - label: rpdu_critical_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_critical_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 751 - processors: - - label: rpdu_critical_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_critical_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 752 - processors: - - label: rpdu_warning_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_warning_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 753 - processors: - - label: rpdu_warning_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_warning_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 754 - processors: - - label: rpdu_informational_condition_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_informational_condition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 755 - processors: - - label: rpdu_informational_condition_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsInteger = this.trap.VarBinds.index(2).Value - root.out.apc.mtrapargsInteger02 = this.trap.VarBinds.index(3).Value - root.out.apc.mtrapargsInteger03 = this.trap.VarBinds.index(4).Value - root.out.apc.mtrapargsString = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: rpdu_informational_condition_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 756 - processors: - - label: isx_modular_cooling_fan_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: isx_modular_cooling_fan_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 757 - processors: - - label: isx_modular_cooling_fan_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString02 = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.apc.mtrapargsString03 = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.apc.mtrapargsString = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: isx_modular_cooling_fan_alarm_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 758 - processors: - - label: ups_firmware_update_started_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_update_started_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 759 - processors: - - label: ups_firmware_update_finished_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_update_finished_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 760 - processors: - - label: ups_firmware_update_succeeded_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_update_succeeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 761 - processors: - - label: ups_firmware_update_failed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_update_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 762 - processors: - - label: ups_has_no_valid_firmware_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_has_no_valid_firmware_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 763 - processors: - - label: ups_has_no_valid_firmware_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_has_no_valid_firmware_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 767 - processors: - - label: ups_local_display_button_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_local_display_button_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 768 - processors: - - label: ups_local_display_button_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_local_display_button_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 769 - processors: - - label: ups_needs_factory_setup_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_needs_factory_setup_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 770 - processors: - - label: ups_needs_factory_setup_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_needs_factory_setup_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 771 - processors: - - label: ups_epoactive_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_epoactive_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 772 - processors: - - label: ups_epoactive_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_epoactive_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 773 - processors: - - label: ups_firmware_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 774 - processors: - - label: ups_firmware_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_firmware_mismatch_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 775 - processors: - - label: ups_oscillator_failed_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_oscillator_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 776 - processors: - - label: ups_oscillator_failed_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_oscillator_failed_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 777 - processors: - - label: ups_on_battery_due_to_fault_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_on_battery_due_to_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 778 - processors: - - label: ups_on_battery_due_to_fault_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ups_on_battery_due_to_fault_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 779 - processors: - - label: pcns_critical_event_active_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_critical_event_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 780 - processors: - - label: pcns_critical_event_resolved_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_critical_event_resolved_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 781 - processors: - - label: pcns_network_coms_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_network_coms_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 782 - processors: - - label: pcns_network_coms_lost_resolved_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_network_coms_lost_resolved_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 783 - processors: - - label: pcns_nmccoms_lost_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_nmccoms_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 784 - processors: - - label: pcns_nmccoms_lost_resolved_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_nmccoms_lost_resolved_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 785 - processors: - - label: pcns_test_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_test_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 786 - processors: - - label: pcns_update_available_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pcns_update_available_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 787 - processors: - - label: temporary_bypass_variables - mapping: |- - #!blobl - root = this - - root.out.apc.mtrapargsString = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: temporary_bypass_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/arista/ARISTA-BGP4V2-MIB-aristaBgp4V2.yml b/traps/rules/arista/ARISTA-BGP4V2-MIB-aristaBgp4V2.yml new file mode 100644 index 00000000..4d7be4f2 --- /dev/null +++ b/traps/rules/arista/ARISTA-BGP4V2-MIB-aristaBgp4V2.yml @@ -0,0 +1,541 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Arista ARISTA-BGP4V2-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # aristaBgp4V2EstablishedNotification + # + # The BGP Established event is generated when the BGP FSM enters the established state. + # + # aristaBgp4V2PeerState (INTEGER) - The BGP peer connection state. + # aristaBgp4V2PeerLocalPort (Unsigned32) - The local port for the TCP connection between the BGP peers. + # aristaBgp4V2PeerRemotePort (Unsigned32) - The remote port for the TCP connection between the BGP peers. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.13") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.6") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.9") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta aristaBgp4V2PeerState = this.trap.VarBinds.index(0).Value + + root.out.arista.aristaBgp4V2PeerState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.30065.4.1.1.2.1.13") + root.out.arista.aristaBgp4V2PeerLocalPort = this.trap.VarBinds.index(1).Value.string() + root.out.arista.aristaBgp4V2PeerRemotePort = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "ARISTA-BGP4V2-MIB::aristaBgp4V2PeerEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.30065.4.1.1.2.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.aristaBgp4V2PeerEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,OctetString") + root.out.arista.aristaBgp4V2PeerInstance = root.TEMP.aristaBgp4V2PeerEntry.index(0).string() + root.out.arista.aristaBgp4V2PeerRemoteAddr = root.TEMP.aristaBgp4V2PeerEntry.index(2).snmp_inet_address(root.TEMP.aristaBgp4V2PeerEntry.index(1)) + root.out.object.label = "VRF: " + root.out.arista.aristaBgp4V2PeerInstance + ", peer: " + root.out.arista.aristaBgp4V2PeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2EstablishedNotification" + root.out.event.id = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2EstablishedNotification" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("aristaBgp4V2PeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("aristaBgp4V2PeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2EstablishedNotification" + root.out.event.id = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2EstablishedNotification-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer established - UNEXPECTED VARBINDS for aristaBgp4V2EstablishedNotification trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 2 + # aristaBgp4V2BackwardTransitionNotification + # + # The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower + # numbered state. + # + # aristaBgp4V2PeerState (INTEGER) - The BGP peer connection state. + # aristaBgp4V2PeerLocalPort (Unsigned32) - The local port for the TCP connection between the BGP peers. + # aristaBgp4V2PeerRemotePort (Unsigned32) - The remote port for the TCP connection between the BGP peers. + # aristaBgp4V2PeerLastErrorCodeReceived (Unsigned32) - The last error code received from this peer via NOTIFICATION + # message on this connection. + # aristaBgp4V2PeerLastErrorSubCodeReceived (Unsigned32) - The last subcode received from this peer via NOTIFICATION + # message on this connection. + # aristaBgp4V2PeerLastErrorReceivedText (SnmpAdminString) - This object contains an implementation specific + # explanation of the error that was reported. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 5 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.13") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.6") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.2.1.9") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.3.1.1") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.3.1.2") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.4.1.30065.4.1.1.3.1.4") { + meta varbinds_ok = true + }}}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta aristaBgp4V2PeerState = this.trap.VarBinds.index(0).Value + + root.out.arista.aristaBgp4V2PeerState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.30065.4.1.1.2.1.13") + root.out.arista.aristaBgp4V2PeerLocalPort = this.trap.VarBinds.index(1).Value.string() + root.out.arista.aristaBgp4V2PeerRemotePort = this.trap.VarBinds.index(2).Value.string() + root.out.arista.aristaBgp4V2PeerLastErrorCodeReceived = this.trap.VarBinds.index(3).Value.string() + root.out.arista.aristaBgp4V2PeerLastErrorSubCodeReceived = this.trap.VarBinds.index(4).Value.string() + root.out.arista.aristaBgp4V2PeerLastErrorReceivedText = this.trap.VarBinds.index(5).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "ARISTA-BGP4V2-MIB::aristaBgp4V2PeerEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.30065.4.1.1.2.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.aristaBgp4V2PeerEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,OctetString") + root.out.arista.aristaBgp4V2PeerInstance = root.TEMP.aristaBgp4V2PeerEntry.index(0).string() + root.out.arista.aristaBgp4V2PeerRemoteAddr = root.TEMP.aristaBgp4V2PeerEntry.index(2).snmp_inet_address(root.TEMP.aristaBgp4V2PeerEntry.index(1)) + root.out.object.label = "VRF: " + root.out.arista.aristaBgp4V2PeerInstance + ", peer: " + root.out.arista.aristaBgp4V2PeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2BackwardTransitionNotification" + root.out.event.id = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2BackwardTransitionNotification" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("aristaBgp4V2PeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("aristaBgp4V2PeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("aristaBgp4V2PeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("arista.aristaBgp4V2PeerLastErrorReceivedText") { + root.out.event.message + ", " + root.out.arista.aristaBgp4V2PeerLastErrorReceivedText + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + }}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2BackwardTransitionNotification" + root.out.event.id = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-aristaBgp4V2BackwardTransitionNotification-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for aristaBgp4V2BackwardTransitionNotification trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-unknown" + root.out.event.id = "SNMPTRAP-ARISTA-BGP4V2-MIB-aristaBgp4V2-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Arista ARISTA-BGP4V2-MIB-aristaBgp4V2" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ascom/UNEM_6_A-SNMP-release1.yml b/traps/rules/ascom/UNEM_6_A-SNMP-release1.yml deleted file mode 100644 index 08e4b944..00000000 --- a/traps/rules/ascom/UNEM_6_A-SNMP-release1.yml +++ /dev/null @@ -1,438 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "UNEM_6_A-SNMP" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: new_alarm_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.newAlarm = this.trap.VarBinds.index(0).Value - - label: new_alarm_trap_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cleared_alarm_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.clearedAlarmNE = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ascom.clearedAlarm = this.trap.VarBinds.index(1).Value - - label: cleared_alarm_trap_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: alarm_raised_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.alarmNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1") - root.out.ascom.alarmNE = this.trap.VarBinds.index(2).Value - root.out.ascom.alarmId = this.trap.VarBinds.index(3).Value - root.out.ascom.alarmCardSlot = this.trap.VarBinds.index(4).Value - root.out.ascom.alarmLayer = this.trap.VarBinds.index(5).Value - root.out.ascom.alarmSubUnit = this.trap.VarBinds.index(6).Value - root.out.ascom.alarmStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.7") - root.out.ascom.alarmSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.8") - root.out.ascom.alarmEventType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9") - root.out.ascom.alarmText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.ascom.alarmOnTime = this.trap.VarBinds.index(11).Value - root.out.ascom.alarmOffTime = this.trap.VarBinds.index(12).Value - root.out.ascom.alarmAckOnStatus = this.trap.VarBinds.index(13).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.13") - root.out.ascom.alarmAckOnTime = this.trap.VarBinds.index(14).Value - root.out.ascom.alarmAckOffStatus = this.trap.VarBinds.index(15).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.15") - root.out.ascom.alarmAckOffTime = this.trap.VarBinds.index(16).Value - root.out.ascom.alarmIntermittency = this.trap.VarBinds.index(17).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.17") - root.out.ascom.alarmIntermittentPeriod = this.trap.VarBinds.index(18).Value - root.out.ascom.alarmNEName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.ascom.alarmLocation = this.trap.VarBinds.index(20).Value.snmp_display_string() - - label: alarm_raised_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9").string() - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() + " ( Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Layer: " + this.trap.VarBinds.index(5).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - label: alarm_raised_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: alarm_acked_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.alarmNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1") - root.out.ascom.alarmNE = this.trap.VarBinds.index(2).Value - root.out.ascom.alarmId = this.trap.VarBinds.index(3).Value - root.out.ascom.alarmCardSlot = this.trap.VarBinds.index(4).Value - root.out.ascom.alarmLayer = this.trap.VarBinds.index(5).Value - root.out.ascom.alarmSubUnit = this.trap.VarBinds.index(6).Value - root.out.ascom.alarmStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.7") - root.out.ascom.alarmSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.8") - root.out.ascom.alarmEventType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9") - root.out.ascom.alarmText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.ascom.alarmOnTime = this.trap.VarBinds.index(11).Value - root.out.ascom.alarmOffTime = this.trap.VarBinds.index(12).Value - root.out.ascom.alarmAckOnStatus = this.trap.VarBinds.index(13).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.13") - root.out.ascom.alarmAckOnTime = this.trap.VarBinds.index(14).Value - root.out.ascom.alarmAckOffStatus = this.trap.VarBinds.index(15).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.15") - root.out.ascom.alarmAckOffTime = this.trap.VarBinds.index(16).Value - root.out.ascom.alarmIntermittency = this.trap.VarBinds.index(17).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.17") - root.out.ascom.alarmIntermittentPeriod = this.trap.VarBinds.index(18).Value - root.out.ascom.alarmNEName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.ascom.alarmLocation = this.trap.VarBinds.index(20).Value.snmp_display_string() - - label: alarm_acked_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9").string() - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() + " ( Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Layer: " + this.trap.VarBinds.index(5).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - label: alarm_acked_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: alarm_cleared_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.alarmNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1") - root.out.ascom.alarmNE = this.trap.VarBinds.index(2).Value - root.out.ascom.alarmId = this.trap.VarBinds.index(3).Value - root.out.ascom.alarmCardSlot = this.trap.VarBinds.index(4).Value - root.out.ascom.alarmLayer = this.trap.VarBinds.index(5).Value - root.out.ascom.alarmSubUnit = this.trap.VarBinds.index(6).Value - root.out.ascom.alarmStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.7") - root.out.ascom.alarmSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.8") - root.out.ascom.alarmEventType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9") - root.out.ascom.alarmText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.ascom.alarmOnTime = this.trap.VarBinds.index(11).Value - root.out.ascom.alarmOffTime = this.trap.VarBinds.index(12).Value - root.out.ascom.alarmAckOnStatus = this.trap.VarBinds.index(13).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.13") - root.out.ascom.alarmAckOnTime = this.trap.VarBinds.index(14).Value - root.out.ascom.alarmAckOffStatus = this.trap.VarBinds.index(15).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.15") - root.out.ascom.alarmAckOffTime = this.trap.VarBinds.index(16).Value - root.out.ascom.alarmIntermittency = this.trap.VarBinds.index(17).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.17") - root.out.ascom.alarmIntermittentPeriod = this.trap.VarBinds.index(18).Value - root.out.ascom.alarmNEName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.ascom.alarmLocation = this.trap.VarBinds.index(20).Value.snmp_display_string() - - label: alarm_cleared_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.9").string() - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.4.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() + " ( Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Layer: " + this.trap.VarBinds.index(5).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: ne_added_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.neFamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1") - root.out.ascom.neIndex = this.trap.VarBinds.index(2).Value - root.out.ascom.neName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.ascom.neUNEMAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.ascom.neType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5") - root.out.ascom.neOperationalState = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6") - root.out.ascom.nePollingStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.7") - - label: ne_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NE Status" - root.out.object.name = "neEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5").string() + " Added, " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6").string() + " ( UNEM Address: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - - label: ne_added_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 7 - processors: - - label: ne_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.neFamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1") - root.out.ascom.neIndex = this.trap.VarBinds.index(2).Value - root.out.ascom.neName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.ascom.neUNEMAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.ascom.neType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5") - root.out.ascom.neOperationalState = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6") - root.out.ascom.nePollingStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.7") - - label: ne_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NE Status" - root.out.object.name = "neEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5").string() + " Deleted, " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6").string() + " ( UNEM Address: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - - label: ne_deleted_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 8 - processors: - - label: ne_name_modified_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.neFamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1") - root.out.ascom.neIndex = this.trap.VarBinds.index(2).Value - root.out.ascom.neName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.ascom.neUNEMAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.ascom.neType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5") - root.out.ascom.neOperationalState = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6") - root.out.ascom.nePollingStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.7") - - label: ne_name_modified_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NE Status" - root.out.object.name = "neEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5").string() + " Name Modified, " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6").string() + " ( UNEM Address: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - - label: ne_name_modified_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 9 - processors: - - label: ne_op_stat_modified_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.neFamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1") - root.out.ascom.neIndex = this.trap.VarBinds.index(2).Value - root.out.ascom.neOperationalState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6") - root.out.ascom.neName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.ascom.neUNEMAddress = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.ascom.neType = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5") - root.out.ascom.nePollingStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.7") - - label: ne_op_stat_modified_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NE Status" - root.out.object.name = "neEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "NE " + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6").string() + " ( UNEM Address: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - - label: ne_op_stat_modified_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 10 - processors: - - label: ne_poll_stat_modified_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.neFamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1") - root.out.ascom.neIndex = this.trap.VarBinds.index(2).Value - root.out.ascom.nePollingStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.7") - root.out.ascom.neName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.ascom.neUNEMAddress = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.ascom.neType = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.5") - root.out.ascom.neOperationalState = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.6") - - label: ne_poll_stat_modified_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NE Polling Status" - root.out.object.name = "neEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.2.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() - - label: ne_poll_stat_modified_rules_2 - switch: - - check: this.trap.VarBinds.index(6).Value == 1 - processors: - - label: ne_poll_stat_modified_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "NE Polling Enabled" - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: ne_poll_stat_modified_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "NE Polling Disabled" - - processors: - - label: ne_poll_stat_modified_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "NE Polling Status Unknown" - - label: ne_poll_stat_modified_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( UNEM Address: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: card_added_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.cardNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.3.1.1.1") - root.out.ascom.cardNE = this.trap.VarBinds.index(2).Value - root.out.ascom.cardSlot = this.trap.VarBinds.index(3).Value - root.out.ascom.cardName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.ascom.cardIdentifier = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.ascom.cardSwVersion = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.ascom.cardNEName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: card_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Status" - root.out.object.name = "cardEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.3.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Card Added ( Card: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() + ", Slot: " + this.trap.VarBinds.index(3).Value.string() + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: card_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.cardNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.3.1.1.1") - root.out.ascom.cardNE = this.trap.VarBinds.index(2).Value - root.out.ascom.cardSlot = this.trap.VarBinds.index(3).Value - root.out.ascom.cardName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.ascom.cardIdentifier = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.ascom.cardSwVersion = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.ascom.cardNEName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: card_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Status" - root.out.object.name = "cardEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.3.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Card Deleted ( Card: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() + ", Slot: " + this.trap.VarBinds.index(3).Value.string() + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: pm_point_added_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.pmPointNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.1") - root.out.ascom.pmPointNE = this.trap.VarBinds.index(2).Value - root.out.ascom.pmPointCardSlot = this.trap.VarBinds.index(3).Value - root.out.ascom.pmPointLayer = this.trap.VarBinds.index(4).Value - root.out.ascom.pmPointSubUnit = this.trap.VarBinds.index(5).Value - root.out.ascom.pmPointInterval = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.6") - root.out.ascom.pmPointLocation = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.7") - - label: pm_point_added_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PM Point Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Performance Measurement Point Added ( Slot: " + this.trap.VarBinds.index(3).Value.string() + ", Layer: " + this.trap.VarBinds.index(4).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: pm_point_deleted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.pmPointNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.1") - root.out.ascom.pmPointNE = this.trap.VarBinds.index(2).Value - root.out.ascom.pmPointCardSlot = this.trap.VarBinds.index(3).Value - root.out.ascom.pmPointLayer = this.trap.VarBinds.index(4).Value - root.out.ascom.pmPointSubUnit = this.trap.VarBinds.index(5).Value - root.out.ascom.pmPointInterval = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.6") - root.out.ascom.pmPointLocation = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.7") - - label: pm_point_deleted_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PM Point Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.1").string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Performance Measurement Point Deleted ( Slot: " + this.trap.VarBinds.index(3).Value.string() + ", Layer: " + this.trap.VarBinds.index(4).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 15 - processors: - - label: new_pmvalue_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ascom.unemTrapSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.ascom.pmValueNEfamily = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.2.1.1.1") - root.out.ascom.pmValueNE = this.trap.VarBinds.index(2).Value - root.out.ascom.pmValueCardSlot = this.trap.VarBinds.index(3).Value - root.out.ascom.pmValueLayer = this.trap.VarBinds.index(4).Value - root.out.ascom.pmValueSubUnit = this.trap.VarBinds.index(5).Value - root.out.ascom.pmPointLocation = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.7") - root.out.ascom.pmValueInterval = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.2.1.1.7") - root.out.ascom.pmValueStartTime = this.trap.VarBinds.index(8).Value - root.out.ascom.pmValueElapsedTime = this.trap.VarBinds.index(9).Value - root.out.ascom.pmValueOK = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.2.1.1.10") - root.out.ascom.pmValueEB = this.trap.VarBinds.index(11).Value - root.out.ascom.pmValueBBE = this.trap.VarBinds.index(12).Value - root.out.ascom.pmValueES = this.trap.VarBinds.index(13).Value - root.out.ascom.pmValueSES = this.trap.VarBinds.index(14).Value - root.out.ascom.pmValueUAT = this.trap.VarBinds.index(15).Value - root.out.ascom.pmValuePreZeroInterval = this.trap.VarBinds.index(16).Value - - label: new_pmvalue_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Performance Value" - root.out.object.name = "pmValueEntry." - root.out.event.message = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.1.1.1.7").string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.188.93.1.5.2.1.1.7").string() + " Performance Values Available, see Details ( Slot: " + this.trap.VarBinds.index(3).Value.string() + ", Layer: " + this.trap.VarBinds.index(4).Value.string() + ", Sub-Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/atrica/ATRICA-V375-MIB-atrCesTraps.yml b/traps/rules/atrica/ATRICA-V375-MIB-atrCesTraps.yml deleted file mode 100644 index 7f7f8586..00000000 --- a/traps/rules/atrica/ATRICA-V375-MIB-atrCesTraps.yml +++ /dev/null @@ -1,175 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ATRICA-V375-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: atr_ces_current_clock_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrCesModuleCurrentClockSource = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.9.1.1.1.9") - root.out.atrica.atrCesModuleCurrentClockParam = this.trap.VarBinds.index(1).Value - - label: atr_ces_current_clock_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: atr_ces_operation_mode_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrCesModuleOperationMode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.9.1.1.1.2") - - label: atr_ces_operation_mode_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: atr_ces_centralized_clock_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrCesModuleCentralizedClock = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.9.1.1.1.11") - - label: atr_ces_centralized_clock_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: atr_ces_clock_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrCesModuleClockSourceStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.9.1.2.1.6") - root.out.atrica.atrCesModuleClockInHoldOver = this.trap.VarBinds.index(1).Value.bool() - root.out.atrica.atrCesModuleClockFrequencyLocked = this.trap.VarBinds.index(2).Value.bool() - - label: atr_ces_clock_status_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: atr_ces_section_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.sonetSectionCurrentStatus = this.trap.VarBinds.index(0).Value - - label: atr_ces_section_status_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: atr_ces_line_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.sonetLineCurrentStatus = this.trap.VarBinds.index(0).Value - - label: atr_ces_line_status_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: atr_ces_path_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.sonetPathCurrentStatus = this.trap.VarBinds.index(0).Value - - label: atr_ces_path_status_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: atr_ces_vtstatus_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.sonetVTCurrentStatus = this.trap.VarBinds.index(0).Value - - label: atr_ces_vtstatus_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/atrica/ATRICA-V375-MIB-atrEvents.yml b/traps/rules/atrica/ATRICA-V375-MIB-atrEvents.yml deleted file mode 100644 index 5a1c4da4..00000000 --- a/traps/rules/atrica/ATRICA-V375-MIB-atrEvents.yml +++ /dev/null @@ -1,570 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ATRICA-V375-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: atr_out_of_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Product Status" - root.out.object.name = "" - root.out.event.message = "Product Out of Service" - - check: this.trap.SpecificTrap == 2 - processors: - - label: atr_in_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Product Status" - root.out.object.name = "" - root.out.event.message = "Product In Service" - - check: this.trap.SpecificTrap == 3 - processors: - - label: atr_tftp_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysTftpStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.1.2.5.9") - - label: atr_tftp_status_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TFTP Transfer Status" - root.out.object.name = "" - - label: atr_tftp_status_change_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: atr_tftp_status_change_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "TFTP Status Unknown" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: atr_tftp_status_change_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "TFTP Transfer Successful" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: atr_tftp_status_change_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "TFTP Transfer In Progress" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: atr_tftp_status_change_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "TFTP Transfer Failed" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: atr_tftp_status_change_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "TFTP Transfer Abort" - - label: atr_tftp_status_change_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: atr_trap_exceed_max_bw_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bandwidth Status" - root.out.object.name = $1 - root.out.event.message = "Maximum Bandwidth Exceeded ( ifEntry.$1 )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: atr_trap_inconsistancy_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysInconsistency = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.1.2.7") - - label: atr_trap_inconsistancy_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Trap Inconsistancy" - root.out.object.name = "" - root.out.event.message = "Trap Inconsistancy ( see details )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: atr_trap_card_insertion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Status" - root.out.object.name = "atrCoreModuleGenEntry.6110" - root.out.event.message = "Card Inserted ( Slot: 6110, Module Type: $1 )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: atr_trap_card_pull_out_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Status" - root.out.object.name = "atrCoreModuleGenEntry.6110" - root.out.event.message = "Card Removed ( Slot: 6110 )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: atr_trap_gbic_insertion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GBIC Status" - root.out.object.name = "" - root.out.event.message = "GBIC Inserted" - - check: this.trap.SpecificTrap == 9 - processors: - - label: atr_trap_gbic_pull_out_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GBIC Status" - root.out.object.name = "" - root.out.event.message = "GBIC Removed" - - check: this.trap.SpecificTrap == 10 - processors: - - label: atr_fan_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Failure" - - check: this.trap.SpecificTrap == 11 - processors: - - label: atr_status_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysAlarmStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.1.2.12.1") - - label: atr_status_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "" - - label: atr_status_change_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: atr_status_change_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Normal" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: atr_status_change_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: atr_status_change_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Minor" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: atr_status_change_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Major" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: atr_status_change_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Critical" - - label: atr_status_change_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 12 - processors: - - label: atr_ssh_authentication_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: atr_trap_ps_insertion_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysPsIndex = this.trap.VarBinds.index(0).Value - - label: atr_trap_ps_insertion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: atr_trap_ps_pull_out_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysPsIndex = this.trap.VarBinds.index(0).Value - - label: atr_trap_ps_pull_out_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: atr_system_going_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenSysAlrDescription = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: atr_system_going_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: atr_auth_info_req_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - root.out.atrica.atrAuthConfigPortNeighborID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: atr_auth_info_req_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: atr_auth_info_timeout_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - - label: atr_auth_info_timeout_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: atr_auth_protocol_timeout_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - root.out.atrica.atrAuthControlLastTimeoutQualifier = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.6110.12.2.2.4") - - label: atr_auth_protocol_timeout_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: atr_auth_id_mismatch_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - root.out.atrica.atrAuthConfigPortNeighborID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.atrica.atrAuthStatusPortReceivedNeighborID = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: atr_auth_id_mismatch_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: atr_auth_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - root.out.atrica.atrAuthConfigPortNeighborID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: atr_auth_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: atr_verif_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - - label: atr_verif_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: atr_verif_counter_fail_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.ifIndex = this.trap.VarBinds.index(0).Value - - label: atr_verif_counter_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: atr_conn_gen_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrConnInfoLastOperChange = this.trap.VarBinds.index(0).Value - root.out.atrica.atrConnInfoLastConnDBChange = this.trap.VarBinds.index(1).Value - - label: atr_conn_gen_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: atr_conn_cepchange_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrConnCEPStatusLastChange = this.trap.VarBinds.index(0).Value - - label: atr_conn_cepchange_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: atr_conn_pw_vcchange_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrMplsPwVCLastChange = this.trap.VarBinds.index(0).Value - - label: atr_conn_pw_vcchange_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: atr_port_mode_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrPortGenMode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.8.1.1.1.2") - - label: atr_port_mode_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: atr_fabric_clock_mode_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrGenParamFabricClockMode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.6110.1.5.17") - - label: atr_fabric_clock_mode_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: atr_module_not_support_fabric_clock_mode_trap_variables - mapping: |- - #!blobl - root = this - - root.out.atrica.atrCoreModuleGenType = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: atr_module_not_support_fabric_clock_mode_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/aviat/STXN-PV-TRAPS-MIB-stxnPvTrapsMIB.yml b/traps/rules/aviat/STXN-PV-TRAPS-MIB-stxnPvTrapsMIB.yml index f191c3d9..cb013bcf 100644 --- a/traps/rules/aviat/STXN-PV-TRAPS-MIB-stxnPvTrapsMIB.yml +++ b/traps/rules/aviat/STXN-PV-TRAPS-MIB-stxnPvTrapsMIB.yml @@ -30,9 +30,9 @@ root.out.event.class.name = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvRaiseTrap" root.out.event.id = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvRaiseTrap" - root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " Status" - root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string().string() + root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string() + " Status" + root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string() - label: pv_raise_trap_rules_2 switch: - check: this.trap.VarBinds.index(10).Value == 1 @@ -165,9 +165,9 @@ root.out.event.class.name = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvClearTrap" root.out.event.id = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvClearTrap" - root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " Status" - root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string().string() + root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string() + " Status" + root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string() - label: pv_clear_trap_rules_2 switch: - check: this.trap.VarBinds.index(10).Value == 1 @@ -300,9 +300,9 @@ root.out.event.class.name = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvAcknowledgedTrap" root.out.event.id = "SNMPTRAP-digitalmicromwave-STXN-PV-TRAPS-MIB-pvAcknowledgedTrap" - root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " Status" - root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string().string() + root.out.event.category.name = this.trap.VarBinds.index(5).Value.snmp_display_string() + " Status" + root.out.object.name = "Physical Path: " + this.trap.VarBinds.index(4).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(12).Value.snmp_display_string() - label: pv_acknowledged_trap_rules_2 switch: - check: this.trap.VarBinds.index(10).Value == 1 diff --git a/traps/rules/axis/AXIS-MIB-axis.yml b/traps/rules/axis/AXIS-MIB-axis.yml deleted file mode 100644 index 75d47317..00000000 --- a/traps/rules/axis/AXIS-MIB-axis.yml +++ /dev/null @@ -1,50 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "AXIS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: trap_printer_variables - mapping: |- - #!blobl - root = this - - root.out.axis.portIndex = this.trap.VarBinds.index(0).Value - root.out.axis.portDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.axis.portOnLine = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.368.2.1.1.2.1.3") - root.out.axis.portBusy = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.368.2.1.1.2.1.4") - root.out.axis.portEndOfForms = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.368.2.1.1.2.1.5") - root.out.axis.portFault = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.368.2.1.1.2.1.6") - - label: trap_printer_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "portEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Printer Online and Ready ( " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - root.out.event.message = "Printer Error: see details ( " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: trap_new_ipaddr_variables - mapping: |- - #!blobl - root = this - - root.out.axis.adminOldIntAddr = this.trap.VarBinds.index(0).Value - - label: trap_new_ipaddr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "IP Address Change" - root.out.object.name = "" - root.out.event.message = "IP Address Changed by RARP or 'arp -s', was " + this.trap.VarBinds.index(0).Value.string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/barconet/COPERNICUS-MIB-barcoNet.yml b/traps/rules/barconet/COPERNICUS-MIB-barcoNet.yml deleted file mode 100644 index 99b0c083..00000000 --- a/traps/rules/barconet/COPERNICUS-MIB-barcoNet.yml +++ /dev/null @@ -1,266 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "COPERNICUS-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: cop_msg_new_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.trpMsgID = this.trap.VarBinds.index(0).Value - root.out.barconet.trpMsgGenTime = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.barconet.trpMsgSourceName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.barconet.trpMsgSourceLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.barconet.trpMsgSourceType = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.barconet.trpMsgText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.barconet.trpMsgPending = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1482.2.2.1.7") - root.out.barconet.trpMsgType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1482.2.2.1.8") - root.out.barconet.trpMsgPerceivedSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1482.2.2.1.9") - root.out.barconet.trpMsgSubject = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.barconet.trpMsgRegTime = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.barconet.trpMsgProcessed = this.trap.VarBinds.index(11).Value.enum_enrich(".1.3.6.1.4.1.1482.2.2.1.14") - root.out.barconet.trpMsgTypeID = this.trap.VarBinds.index(12).Value - - label: cop_msg_new_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1482.2.2.1.8").string() + " ( " + this.trap.VarBinds.index(12).Value.string() + " )" - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() + " )" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - label: cop_msg_new_rules_2 - switch: - - check: this.trap.VarBinds.index(8).Value == 5 - processors: - - label: cop_msg_new_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: cop_msg_new_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 1 - processors: - - label: cop_msg_ack_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.trpMsgID = this.trap.VarBinds.index(0).Value - root.out.barconet.trpMsgAckTime = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.barconet.trpMsgAckSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cop_msg_ack_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cop_msg_del_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.trpMsgID = this.trap.VarBinds.index(0).Value - - label: cop_msg_del_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: cop_msg_clr_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.trpMsgID = this.trap.VarBinds.index(0).Value - - label: cop_msg_clr_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: cop_log_off_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.trpClientInfoResourceID = this.trap.VarBinds.index(0).Value - root.out.barconet.trpClientInfoAppName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.barconet.trpClientInfoHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cop_log_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Client Status" - root.out.object.name = "" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " on " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = "Client Logged Off ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cop_resource_added_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.resID = this.trap.VarBinds.index(0).Value - root.out.barconet.resName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.barconet.resLocation = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.barconet.resObjectTypeID = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1482.2.3.1.3.1.6") - - label: cop_resource_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Resource" - root.out.object.name = "resEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Resource Added: " + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1482.2.3.1.3.1.6").string() + " at " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cop_resource_removed_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.resID = this.trap.VarBinds.index(0).Value - root.out.barconet.resName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cop_resource_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Resource" - root.out.object.name = "resEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Resource Removed ( " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cop_resource_responding_status_changed_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.resID = this.trap.VarBinds.index(0).Value - root.out.barconet.resRespondingStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1482.2.3.1.3.1.12") - root.out.barconet.resName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cop_resource_responding_status_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Resource Response Status" - root.out.object.name = "resEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cop_resource_responding_status_changed_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 0 - processors: - - label: cop_resource_responding_status_changed_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Not Responding ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cop_resource_responding_status_changed_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Responding ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - label: cop_resource_responding_status_changed_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 8 - processors: - - label: cop_resource_alarm_status_changed_variables - mapping: |- - #!blobl - root = this - - root.out.barconet.resID = this.trap.VarBinds.index(0).Value - root.out.barconet.resAlarmStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1482.2.3.1.3.1.13") - root.out.barconet.resName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cop_resource_alarm_status_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Resource Alarm Status" - root.out.object.name = "resEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cop_resource_alarm_status_changed_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cop_resource_alarm_status_changed_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Critical ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cop_resource_alarm_status_changed_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Major ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: cop_resource_alarm_status_changed_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Minor ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: cop_resource_alarm_status_changed_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Warning ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: cop_resource_alarm_status_changed_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Cleared ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: cop_resource_alarm_status_changed_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Information ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - processors: - - label: cop_resource_alarm_status_changed_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Resource Alarm Status Indeterminate ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - label: cop_resource_alarm_status_changed_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/baypackets/BAY-PACKETS-EMS-MIB-imMediateTraps.yml b/traps/rules/baypackets/BAY-PACKETS-EMS-MIB-imMediateTraps.yml deleted file mode 100644 index 49f9599b..00000000 --- a/traps/rules/baypackets/BAY-PACKETS-EMS-MIB-imMediateTraps.yml +++ /dev/null @@ -1,67 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BAY-PACKETS-EMS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: im_alarm_trap_variables - mapping: |- - #!blobl - root = this - - root.out.baypackets.imAlarmId = this.trap.VarBinds.index(0).Value - root.out.baypackets.imAlarmSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7186.3.1.1.4.1.2") - root.out.baypackets.imAlarmTime = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.baypackets.imAlarmErrorCode = this.trap.VarBinds.index(3).Value - root.out.baypackets.imAlarmContent = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.baypackets.imAlarmSubsystemType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7186.3.1.1.4.1.6") - root.out.baypackets.imAlarmSubsystemId = this.trap.VarBinds.index(6).Value - root.out.baypackets.imAlarmSubsystemName = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.baypackets.imAlarmStatus = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.7186.3.1.1.4.1.9") - root.out.baypackets.imAlarmClearedBy = this.trap.VarBinds.index(9).Value.snmp_octet_string() - - label: im_alarm_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7186.3.1.1.4.1.6").string() + " Alarm" - root.out.object.name = "Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + ", Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( Subsystem: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + ", ID: " + this.trap.VarBinds.index(6).Value.string() + " )" - - label: im_alarm_trap_rules_3 - switch: - - check: this.trap.VarBinds.index(8).Value == 3 - processors: - - label: im_alarm_trap_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + ", Cleared by " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() + " ( Subsystem: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + ", ID: " + this.trap.VarBinds.index(6).Value.string() + " )" - - label: im_alarm_trap_rules_4 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: im_unacked_alarms_trap_variables - mapping: |- - #!blobl - root = this - - root.out.baypackets.imAlarmId = this.trap.VarBinds.index(0).Value - - label: im_unacked_alarms_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unacknowledged Alarms" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Unsent Alarms Exist ( Alarm ID: " + this.trap.VarBinds.index(0).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/bladelogic/BLMIB-bladelogic.yml b/traps/rules/bladelogic/BLMIB-bladelogic.yml deleted file mode 100644 index 7429fa43..00000000 --- a/traps/rules/bladelogic/BLMIB-bladelogic.yml +++ /dev/null @@ -1,122 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BLMIB" -- switch: - - check: this.trap.SpecificTrap == 1001 - processors: - - label: trap_job_completion_variables - mapping: |- - #!blobl - root = this - - root.out.bladelogic.jcJobName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.bladelogic.jcStartTime = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.bladelogic.jcEndTime = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.bladelogic.jcOverallStatus = this.trap.VarBinds.index(3).Value - root.out.bladelogic.jcExitCode = this.trap.VarBinds.index(4).Value - root.out.bladelogic.jcGroupId = this.trap.VarBinds.index(5).Value - root.out.bladelogic.jcRunId = this.trap.VarBinds.index(6).Value - root.out.bladelogic.jcTypeId = this.trap.VarBinds.index(7).Value - - label: trap_job_completion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1002 - processors: - - label: trap_audit_results_variables - mapping: |- - #!blobl - root = this - - root.out.bladelogic.jcJobName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.bladelogic.jcStartTime = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.bladelogic.jcEndTime = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.bladelogic.jcGroupId = this.trap.VarBinds.index(3).Value - root.out.bladelogic.jcRunId = this.trap.VarBinds.index(4).Value - root.out.bladelogic.jcTypeId = this.trap.VarBinds.index(5).Value - root.out.bladelogic.arConsType = this.trap.VarBinds.index(6).Value - root.out.bladelogic.arObjType = this.trap.VarBinds.index(7).Value - root.out.bladelogic.arOsType = this.trap.VarBinds.index(8).Value - - label: trap_audit_results_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1003 - processors: - - label: trap_rbacaudit_trail_variables - mapping: |- - #!blobl - root = this - - root.out.bladelogic.ratDate = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.bladelogic.ratRoleName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.bladelogic.ratUserName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.bladelogic.ratObjectType = this.trap.VarBinds.index(3).Value - root.out.bladelogic.ratObjectName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.bladelogic.ratAuthorizationAction = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.bladelogic.ratActionStatus = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.bladelogic.ratMessage = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: trap_rbacaudit_trail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1004 - processors: - - label: trap_compliance_results_variables - mapping: |- - #!blobl - root = this - - root.out.bladelogic.jcJobName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.bladelogic.jcStartTime = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.bladelogic.jcEndTime = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.bladelogic.jcGroupId = this.trap.VarBinds.index(3).Value - root.out.bladelogic.jcRunId = this.trap.VarBinds.index(4).Value - root.out.bladelogic.jcTypeId = this.trap.VarBinds.index(5).Value - root.out.bladelogic.crConsType = this.trap.VarBinds.index(6).Value - root.out.bladelogic.crTemplateName = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.bladelogic.crRuleName = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: trap_compliance_results_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/bluelance/BLUELANCE-LTAUDITOR-MIB-traps.yml b/traps/rules/bluelance/BLUELANCE-LTAUDITOR-MIB-traps.yml index 84e4e352..caa6ad1c 100644 --- a/traps/rules/bluelance/BLUELANCE-LTAUDITOR-MIB-traps.yml +++ b/traps/rules/bluelance/BLUELANCE-LTAUDITOR-MIB-traps.yml @@ -18,9 +18,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapFile" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapFile" - root.out.event.category.name = "File/Directory Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "File/Directory Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 2 @@ -38,9 +38,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapLogin" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapLogin" - root.out.event.category.name = "Login/Logout Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Login/Logout Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 3 @@ -58,9 +58,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapBindery" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapBindery" - root.out.event.category.name = "Bindery Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Bindery Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 5 @@ -78,9 +78,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapServer" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapServer" - root.out.event.category.name = "Server Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Server Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 7 @@ -98,9 +98,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapSystem" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapSystem" - root.out.event.category.name = "System Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[[^]\\]+\\] (.*)$").index(0).index(-1) + root.out.event.category.name = "System Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[[^]\\]+\\] (.*)$").index(0).index(-1) root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 9 @@ -118,9 +118,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapNDS" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapNDS" - root.out.event.category.name = "NDS Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "NDS Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 10 @@ -138,9 +138,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapNT" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapNT" - root.out.event.category.name = "NT Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "NT Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 11 @@ -158,9 +158,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsSystem" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsSystem" - root.out.event.category.name = "Windows System Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows System Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 12 @@ -178,9 +178,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsAdmin" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsAdmin" - root.out.event.category.name = "Windows System Administration Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows System Administration Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 13 @@ -198,9 +198,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsLogin" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsLogin" - root.out.event.category.name = "Windows System Login Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows System Login Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 14 @@ -218,9 +218,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsFile" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsFile" - root.out.event.category.name = "Windows File Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows File Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 15 @@ -238,9 +238,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsEFS" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsEFS" - root.out.event.category.name = "Windows System EFS Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows System EFS Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 16 @@ -258,9 +258,9 @@ root.out.event.class.name = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsExch" root.out.event.id = "SNMPTRAP-bluelance-BLUELANCE-LTAUDITOR-MIB-trapWindowsExch" - root.out.event.category.name = "Windows System Exchange Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" - root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.category.name = "Windows System Exchange Status ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[([^]\\]+)\\] \\[[^]\\]+\\] .*$").index(0).index(-1) + " )" + root.out.object.name = "Object: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().re_find_all_submatch("^\\[[^]\\]+\\] \\[([^]\\]+)\\] .*$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - processors: diff --git a/traps/rules/bridgewater/BW-NOTIFICATION-notificationObjects.yml b/traps/rules/bridgewater/BW-NOTIFICATION-notificationObjects.yml deleted file mode 100644 index 05cd5025..00000000 --- a/traps/rules/bridgewater/BW-NOTIFICATION-notificationObjects.yml +++ /dev/null @@ -1,341 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BW-NOTIFICATION" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: notification_generic_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: notification_generic_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationGeneric" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationGeneric" - root.out.event.category.name = "Generic Notification" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: notification_process_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationProcessState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.2") - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: notification_process_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationProcess" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationProcess" - root.out.event.category.name = "Process Status" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - - label: notification_process_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: notification_process_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Process Starting" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: notification_process_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Process Stopping" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: notification_process_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Process Restarting" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: notification_process_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Process Stopped" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: notification_process_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Process Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: notification_process_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: notification_connection_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationConnectionState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.3") - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: notification_connection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationConnection" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationConnection" - root.out.event.category.name = "Connection Status" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - - label: notification_connection_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: notification_connection_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connection Up" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: notification_connection_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connection Down" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: notification_connection_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: notification_connection_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: notification_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationThresholdState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.4") - root.out.bridgewater.notificationThresholdValue = this.trap.VarBinds.index(2).Value - root.out.bridgewater.notificationCurrentValue = this.trap.VarBinds.index(3).Value - root.out.bridgewater.notificationInterval = this.trap.VarBinds.index(4).Value - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: notification_threshold_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationThreshold" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationThreshold" - root.out.event.category.name = "Threshold Status" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - - label: notification_threshold_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: notification_threshold_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Threshold Crossed: " + this.trap.VarBinds.index(3).Value.string() + " Crossed " + this.trap.VarBinds.index(2).Value.string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: notification_threshold_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Threshold Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: notification_threshold_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: notification_db_error_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationDbErrorState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.6") - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: notification_db_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationDbError" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationDbError" - root.out.event.category.name = "Database Status" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - - label: notification_db_error_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: notification_db_error_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Recoverable Operation" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: notification_db_error_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Fatal Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: notification_db_error_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: notification_db_error_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: notification_auth_error_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationIPAddress = this.trap.VarBinds.index(1).Value - root.out.bridgewater.notificationPort = this.trap.VarBinds.index(2).Value - - label: notification_auth_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationAuthError" - root.out.event.id = "SNMPTRAP-bridgewater-BW-NOTIFICATION-notificationAuthError" - root.out.event.category.name = "Authentication Status" - root.out.object.name = "OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Security Breach, Unexpected Message Received ( From IP: " + this.trap.VarBinds.index(1).Value.string() + ", Port: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: notification_plugin_error_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationOID = this.trap.VarBinds.index(0).Value - root.out.bridgewater.notificationPluginName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.bridgewater.notificationPluginEventType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.14") - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: notification_plugin_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: notification_monitor_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.notificationFacility = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3631.1.4.15") - root.out.bridgewater.notificationFacilityType = this.trap.VarBinds.index(1).Value - root.out.bridgewater.notificationGenericInfo = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: notification_monitor_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/bridgewater/BW-RADIUS-radiusTrap.yml b/traps/rules/bridgewater/BW-RADIUS-radiusTrap.yml deleted file mode 100644 index 9fb103ae..00000000 --- a/traps/rules/bridgewater/BW-RADIUS-radiusTrap.yml +++ /dev/null @@ -1,103 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BW-RADIUS" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: notification_radius_server_lock_state_variables - mapping: |- - #!blobl - root = this - - root.out.bridgewater.radiusServerIndex = this.trap.VarBinds.index(0).Value - root.out.bridgewater.radiusClientLockState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.3631.2.1.1.1.2.1.3") - root.out.bridgewater.radiusClientLockoutType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.3631.2.1.1.1.2.1.4") - - label: notification_radius_server_lock_state_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-bridgewater-BW-RADIUS-notificationRadiusServerLockState" - root.out.event.id = "SNMPTRAP-bridgewater-BW-RADIUS-notificationRadiusServerLockState" - root.out.event.category.name = "Radius Server Lock Status" - root.out.object.name = "radiusTargetEntry." + this.trap.VarBinds.index(0).Value.string() - - label: notification_radius_server_lock_state_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: notification_radius_server_lock_state_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radius Server Locked" - - label: notification_radius_server_lock_state_rules_3 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: notification_radius_server_lock_state_rules_3_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: notification_radius_server_lock_state_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - root.out.event.message = "Radius Server Unlocked" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: notification_radius_server_lock_state_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Consecutive Failures Reached" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(2).Value == 4 - processors: - - label: notification_radius_server_lock_state_rules_3_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Intermittent Failure Threshold Reached" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: notification_radius_server_lock_state_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Unknown Lock Type" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.message = "Radius Server Lock Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: notification_radius_server_lock_state_rules_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/broadsoft/BroadworksFault-systemFaults.yml b/traps/rules/broadsoft/BroadworksFault-systemFaults.yml deleted file mode 100644 index e68d7a55..00000000 --- a/traps/rules/broadsoft/BroadworksFault-systemFaults.yml +++ /dev/null @@ -1,3742 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BroadworksFault" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: notification_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.object.name = "Server: lookup($6, broadworksComponentAbbr), Sub-Component: lookup($7, broadworksSubcomponentAbbr) - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: stateful_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: stateful_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.object.name = "Server: lookup($6, broadworksComponentAbbr), Sub-Component: lookup($7, broadworksSubcomponentAbbr) - root.out.event.message = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8").string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: software_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: software_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.object.name = "Server: lookup($6, broadworksComponentAbbr), Sub-Component: lookup($7, broadworksSubcomponentAbbr) - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: bw_general_software_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npStackTrace = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_general_software_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: bw_pmtomcat_launched_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmtomcat_launched_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: bw_pmtomcat_shut_down_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmtomcat_shut_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: bw_pmtomcat_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmtomcat_restarted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: bw_pmtomcat_death_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmtomcat_death_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: bw_system_health_report_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReport = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_system_health_report_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: bw_database_sync_report_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReport = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_database_sync_report_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: bw_server_state_transition_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npOldAdministrativeState = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npNewAdministrativeState = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_server_state_transition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: bw_counter_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npCounterName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npCurrentCounterValue = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npNewThresholdValue = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.broadsoft.npThresholdDescription = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: bw_counter_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: bw_gauge_low_limit_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npGaugeName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npClearThresholdValue = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.broadsoft.npThresholdDescription = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: bw_gauge_low_limit_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: bw_gauge_high_limit_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npGaugeName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npClearThresholdValue = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.broadsoft.npThresholdDescription = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: bw_gauge_high_limit_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: bw_pmreporting_ftpconnection_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_pmreporting_ftpconnection_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: bw_cpuidle_time_limit_reached_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npCpuIdleTimePercentage = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npThresholdName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_cpuidle_time_limit_reached_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: bw_memory_limit_reached_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReport = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_memory_limit_reached_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: bw_network_device_is_failed_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npServerType = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_network_device_is_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: bw_network_device_is_online_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npServerType = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_network_device_is_online_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: bw_pmremotexla_launched_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmremotexla_launched_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: bw_pmremotexla_shut_down_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmremotexla_shut_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: bw_pmremotexla_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmremotexla_restarted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: bw_pmremotexla_death_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmremotexla_death_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: bw_license_file_not_found_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npFilename = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_license_file_not_found_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: bw_smapconnection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_smapconnection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: bw_maximum_failed_login_attempts_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npFailedLoginAttempts = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npMaxFailedLoginAttempts = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_maximum_failed_login_attempts_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: bw_comm_protocol_init_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npLocalInterface = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npLocalPort = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_comm_protocol_init_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: bw_comm_protocol_host_not_allowed_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npLocalInterface = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npProtocol = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_comm_protocol_host_not_allowed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: bw_comm_protocol_interface_not_allowed_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npLocalInterface = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npProtocol = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_comm_protocol_interface_not_allowed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: bw_sip_tcp_exceeded_max_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_sip_tcp_exceeded_max_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: bw_sip_tcp_exceeded_max_per_peer_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_tcp_exceeded_max_per_peer_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: bw_sip_tcp_socket_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_tcp_socket_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: bw_task_monitor_warning_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npTimeLength = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npTimeElapsed = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npStackTrace = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_task_monitor_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: bw_task_monitor_hung_task_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npTimeLength = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npTimeElapsed = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npStackTrace = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_task_monitor_hung_task_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: bw_tcp_subsystem_fatal_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npStackTrace = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_tcp_subsystem_fatal_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: bw_file_server_cluster_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npClusterName = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_file_server_cluster_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: bw_file_server_node_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npClusterName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_file_server_node_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: bw_file_server_cluster_unreachable_clear_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_file_server_cluster_unreachable_clear_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: bw_file_server_node_unreachable_clear_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_file_server_node_unreachable_clear_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: bw_alarms_discarded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npTimestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npAlarmList = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_alarms_discarded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: bw_log_queue_size_limit_reached_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npSizeLimit = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npFilename = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_log_queue_size_limit_reached_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: bw_log_queue_size_limit_reached_clear_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_log_queue_size_limit_reached_clear_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: bw_license_file_expiring_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npDate = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_license_file_expiring_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: bw_license_file_expired_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npDate = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_license_file_expired_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: bw_congestion_management_neighbors_inhibited_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npNbInhibitedNeighbors = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npInhibitedNeighbors = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_congestion_management_neighbors_inhibited_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: bw_alarms_table_limit_reached_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMaximumNbItems = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_alarms_table_limit_reached_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: bw_pmhttpd_launched_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmhttpd_launched_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: bw_pmhttpd_shut_down_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmhttpd_shut_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: bw_pmhttpd_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmhttpd_restarted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: bw_pmhttpd_death_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_pmhttpd_death_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 52 - processors: - - label: bw_application_state_transition_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npApplicationName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npOldAdministrativeState = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npNewAdministrativeState = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npOldEffectiveState = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npNewEffectiveState = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: bw_application_state_transition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 53 - processors: - - label: bw_memory_allocation_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npApplicationMemory = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSystemMemory = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_memory_allocation_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 54 - processors: - - label: bw_memory_over_allocation_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - - label: bw_memory_over_allocation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 59 - processors: - - label: bw_maximum_failed_user_login_attempts_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npMaxFailedLoginAttempts = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_maximum_failed_user_login_attempts_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 60 - processors: - - label: bw_centralized_database_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDatabaseName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npSite = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_centralized_database_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 61 - processors: - - label: bw_heap_memory_usage_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npProcessMemoryUsage = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npContainerName = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_heap_memory_usage_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 62 - processors: - - label: bw_nonheap_memory_usage_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npProcessMemoryUsage = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npContainerName = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_nonheap_memory_usage_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 63 - processors: - - label: bw_dns_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_dns_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 64 - processors: - - label: bw_secure_tlkt_tool_result_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npSecureTlktToolName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSecureTlktToolResult = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_secure_tlkt_tool_result_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 65 - processors: - - label: bw_maintenance_task_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npTaskName = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_maintenance_task_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 66 - processors: - - label: bw_cpedevice_profile_lockout_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npServiceProviderId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npGroupId = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceProfileName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npLockoutCounter = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npLockoutPeriod = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.broadsoft.npDeviceFileRequestMessage = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: bw_cpedevice_profile_lockout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 67 - processors: - - label: bw_centralized_database_schema_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npSchemaInstanceName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npSchemaInstanceState = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_centralized_database_schema_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 68 - processors: - - label: bw_security_risk_detected_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npLogFile = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_security_risk_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 69 - processors: - - label: bw_key_manager_critical_data_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMissingComponent = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npState = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExistingComponent = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_key_manager_critical_data_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 70 - processors: - - label: bw_change_database_user_password_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserName = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_change_database_user_password_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 71 - processors: - - label: bw_sip_socket_already_bound_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npLocalPort = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_socket_already_bound_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 72 - processors: - - label: bw_location_service_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npReport = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_location_service_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 73 - processors: - - label: bw_system_backward_time_drift_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_system_backward_time_drift_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 74 - processors: - - label: bw_jvmprocess_out_of_memory_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npContainerName = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_jvmprocess_out_of_memory_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 75 - processors: - - label: bw_jvmprocess_unexpected_software_condition_detected_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npContainerName = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npErrorMessage = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: bw_jvmprocess_unexpected_software_condition_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 76 - processors: - - label: bw_time_skew_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npTimeLength = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_time_skew_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 77 - processors: - - label: bw_network_database_node_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDatabaseName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npDatabaseNode = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_network_database_node_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 78 - processors: - - label: bw_network_database_cluster_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDatabaseName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npDatabaseNodes = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_network_database_cluster_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 79 - processors: - - label: bw_network_database_schema_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDatabaseName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npSchemaInstanceName = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_network_database_schema_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 80 - processors: - - label: bw_extreme_overload_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npQueueName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExtremeOverloadReason = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_extreme_overload_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 81 - processors: - - label: bw_couchbase_node_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npQueueName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npExtremeOverloadReason = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_couchbase_node_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 82 - processors: - - label: bw_centralized_database_listener_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_centralized_database_listener_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 83 - processors: - - label: bw_centralized_database_max_connections_reached_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npConnectionCount = this.trap.VarBinds.index(11).Value - - label: bw_centralized_database_max_connections_reached_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 84 - processors: - - label: bw_centralized_database_new_connection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npSite = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_centralized_database_new_connection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2607 - processors: - - label: bw_scfapiurlunreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_scfapiurlunreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3509 - processors: - - label: bw_sip_message_parsing_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMissingHeader = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_sip_message_parsing_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3510 - processors: - - label: bw_sip_registration_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMessage = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_registration_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3511 - processors: - - label: bw_sip_unexpected_message_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSipResponseMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npSipRequestMessage = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_sip_unexpected_message_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3512 - processors: - - label: bw_sip_max_retries_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMethod = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npCallId = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npRemotePort = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_sip_max_retries_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3513 - processors: - - label: bw_sip_request_time_out_received_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npSipResponseMessage = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSipRequestMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_sip_request_time_out_received_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3514 - processors: - - label: bw_sip_service_unavailable_received_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npSipResponseMessage = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSipRequestMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_sip_service_unavailable_received_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3515 - processors: - - label: bw_sip_server_time_out_received_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npSipResponseMessage = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSipRequestMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_sip_server_time_out_received_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3517 - processors: - - label: bw_acl_violation_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npMethod = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npCallId = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_acl_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3518 - processors: - - label: bw_sip_unrecognised_domain_name_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npHost = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_unrecognised_domain_name_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3519 - processors: - - label: bw_smtpprimary_server_email_message_delivery_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_smtpprimary_server_email_message_delivery_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3520 - processors: - - label: bw_smtpconnectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_smtpconnectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3536 - processors: - - label: bw_audit_abnormal_call_termination_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserUid = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSessionKey = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npEndpointId = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npDeviceAddress = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_audit_abnormal_call_termination_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3537 - processors: - - label: bw_nssynchronization_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_nssynchronization_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3539 - processors: - - label: bw_nslocation_connectivity_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npMessage = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_nslocation_connectivity_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3540 - processors: - - label: bw_nslocation_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npMessage = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_nslocation_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3541 - processors: - - label: bw_license_authentication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_license_authentication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3543 - processors: - - label: bw_license_hwviolation_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: bw_license_hwviolation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3544 - processors: - - label: bw_license_accnt_violation_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npLicenseKey = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npLicenseLimit = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npLicenseAllocation = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_license_accnt_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3555 - processors: - - label: bw_call_pthread_auto_restart_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_call_pthread_auto_restart_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3556 - processors: - - label: bw_forced_exit_due_to_hung_thread_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_forced_exit_due_to_hung_thread_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3566 - processors: - - label: bw_smdisession_rejected_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npClientAddress = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_smdisession_rejected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3572 - processors: - - label: bw_cpedevice_configuration_device_reset_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npDeviceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_cpedevice_configuration_device_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3574 - processors: - - label: bw_smdiinterface_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npLocalPort = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_smdiinterface_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3575 - processors: - - label: bw_smdiconfiguration_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSmdiNumber = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_smdiconfiguration_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3576 - processors: - - label: bw_smdioperation_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSmdiNumber = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npReason = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_smdioperation_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3577 - processors: - - label: bw_smdiroute_exhaustion_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npSmdiNumber = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDeviceName = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_smdiroute_exhaustion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3594 - processors: - - label: bw_thread_delay_detected_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npThreadName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npTimeElapsed = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npMessage = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_thread_delay_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3595 - processors: - - label: bw_sip_tcp_connection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_sip_tcp_connection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3607 - processors: - - label: bw_oci_reporting_acl_violation_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_oci_reporting_acl_violation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3608 - processors: - - label: bw_oci_reporting_connection_error_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_oci_reporting_connection_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3609 - processors: - - label: bw_physical_location_origination_blocked_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npUserId = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npCallId = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npDialedNumber = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npDeviceLinePort = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.broadsoft.npReceivedPhysicalLocation = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.broadsoft.npConfiguredPhysicalLocation = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: bw_physical_location_origination_blocked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3615 - processors: - - label: bw_oci_reporting_back_log_file_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npFilename = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npHost = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_oci_reporting_back_log_file_deleted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3618 - processors: - - label: bw_call_overload_zone_transition_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npOldZone = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npNewZone = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_call_overload_zone_transition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3619 - processors: - - label: bw_non_call_overload_zone_transition_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npOldZone = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npNewZone = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_non_call_overload_zone_transition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3635 - processors: - - label: bw_congestion_management_neighbor_overloaded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.broadsoft.npPeriod = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: bw_congestion_management_neighbor_overloaded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3645 - processors: - - label: bw_dns_server_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRemoteAddress = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_dns_server_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3646 - processors: - - label: bw_dns_all_servers_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_dns_all_servers_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3665 - processors: - - label: bw_license_monitoring_fault_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npCurrentThresholdValue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.broadsoft.npReport = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: bw_license_monitoring_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10005 - processors: - - label: bw_network_server_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npAddress = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_network_server_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6005 - processors: - - label: bw_executor_queue_usage_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExecutorType = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_executor_queue_usage_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6006 - processors: - - label: bw_executor_queue_latency_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExecutorType = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_executor_queue_latency_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6007 - processors: - - label: bw_executor_thread_pool_processing_time_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExecutorType = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_executor_thread_pool_processing_time_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6008 - processors: - - label: bw_executor_thread_pool_busy_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.alarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.6") - root.out.broadsoft.component = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.broadsoft.correlationParameter = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.broadsoft.npExecutorType = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: bw_executor_thread_pool_busy_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11759 - processors: - - label: bw_nssync_success_db_commit_failed_variables - mapping: |- - #!blobl - root = this - - root.out.broadsoft.identifier = this.trap.VarBinds.index(0).Value - root.out.broadsoft.timeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.broadsoft.alarmName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.broadsoft.systemName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.broadsoft.severity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.5") - root.out.broadsoft.component = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.7") - root.out.broadsoft.subcomponent = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.6431.1.1.1.1.8") - root.out.broadsoft.problemText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.broadsoft.recommendedActionsText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.broadsoft.npRequestName = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: bw_nssync_success_db_commit_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ciena/CIENA-MIBv2-multiwaveTraps.yml b/traps/rules/ciena/CIENA-MIBv2-multiwaveTraps.yml deleted file mode 100644 index f9ee0617..00000000 --- a/traps/rules/ciena/CIENA-MIBv2-multiwaveTraps.yml +++ /dev/null @@ -1,107 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CIENA-MIBv2" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mw_attribute_change_variables - mapping: |- - #!blobl - root = this - - root.out.ciena.nodeName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.ciena.etNodeStatus = this.trap.VarBinds.index(1).Value - root.out.ciena.shelfId = this.trap.VarBinds.index(2).Value - root.out.ciena.slotId = this.trap.VarBinds.index(3).Value - root.out.ciena.moduleType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1271.1.3.1.1.7") - root.out.ciena.moduleStatus = this.trap.VarBinds.index(5).Value - root.out.ciena.alarmAttrId = this.trap.VarBinds.index(6).Value - root.out.ciena.alarmSeverity = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1271.1.3.9.1.3") - root.out.ciena.etAttrMessage = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: mw_attribute_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = lookup($5, cienaMwModuleType) - root.out.object.name = "Shelf " + this.trap.VarBinds.index(2).Value.string() + ", Slot " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = root.out.event.category.name + " ( " + root.out.object.name + " ): " + this.trap.VarBinds.index(8).Value.snmp_display_string().string().replace_all("\\s+$", "") - - label: mw_attribute_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: mw_alarm_asserted_variables - mapping: |- - #!blobl - root = this - - root.out.ciena.etNodeStatus = this.trap.VarBinds.index(0).Value - root.out.ciena.shelfId = this.trap.VarBinds.index(1).Value - root.out.ciena.slotId = this.trap.VarBinds.index(2).Value - root.out.ciena.moduleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1271.1.3.1.1.7") - root.out.ciena.moduleStatus = this.trap.VarBinds.index(4).Value - root.out.ciena.alarmCriticality = this.trap.VarBinds.index(5).Value - root.out.ciena.alarmSequence = this.trap.VarBinds.index(6).Value - root.out.ciena.alarmCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: mw_alarm_asserted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = lookup($4, cienaMwModuleType) - root.out.object.name = "Shelf " + this.trap.VarBinds.index(1).Value.string() + ", Slot " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = root.out.event.category.name + " ( " + root.out.object.name + " ): " + this.trap.VarBinds.index(7).Value.snmp_display_string().string().replace_all("\\s+$", "") - - label: mw_alarm_asserted_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: mw_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.ciena.etNodeStatus = this.trap.VarBinds.index(0).Value - root.out.ciena.shelfId = this.trap.VarBinds.index(1).Value - root.out.ciena.slotId = this.trap.VarBinds.index(2).Value - root.out.ciena.moduleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1271.1.3.1.1.7") - root.out.ciena.moduleStatus = this.trap.VarBinds.index(4).Value - root.out.ciena.alarmCriticality = this.trap.VarBinds.index(5).Value - root.out.ciena.alarmSequence = this.trap.VarBinds.index(6).Value - - label: mw_alarm_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = lookup($4, cienaMwModuleType) - root.out.object.name = "Shelf " + this.trap.VarBinds.index(1).Value.string() + ", Slot " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Alarm Cleared for " + root.out.event.category.name + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mw_dump_present_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = lookup($4, cienaMwModuleType) - root.out.object.name = "Shelf $2, Slot $3 - root.out.event.message = "NCP Crashed and Restarted (see Dump Records for details)" - - label: mw_dump_present_rules_2 - mapping: | - #!blobl - root = this - - label: mw_dump_present_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml b/traps/rules/cisco/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml deleted file mode 100644 index 94117286..00000000 --- a/traps/rules/cisco/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml +++ /dev/null @@ -1,55 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ACCOUNTING-CONTROL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: acctng_file_nearly_full_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value - root.out.cisco.acctngControlTrapThreshold = this.trap.VarBinds.index(2).Value - - label: acctng_file_nearly_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-ACCOUNTING-CONTROL-MIB-acctngFileNearlyFull" - root.out.event.id = "SNMPTRAP-cisco-ACCOUNTING-CONTROL-MIB-acctngFileNearlyFull" - root.out.event.category.name = "Accounting File Size" - root.out.object.name = "acctngFileEntry.3" - root.out.event.message = "Accounting File Over " + this.trap.VarBinds.index(2).Value.string() + "% Full, Max. Size " + this.trap.VarBinds.index(1).Value.string() + " bytes ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: acctng_file_full_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value - - label: acctng_file_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-ACCOUNTING-CONTROL-MIB-acctngFileFull" - root.out.event.id = "SNMPTRAP-cisco-ACCOUNTING-CONTROL-MIB-acctngFileFull" - root.out.event.category.name = "Accounting File Size" - root.out.object.name = "acctngFileEntry.3" - root.out.event.message = "Accounting File Full, Max. Size " + this.trap.VarBinds.index(1).Value.string() + " bytes ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonMIBNotifications.yml b/traps/rules/cisco/CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonMIBNotifications.yml deleted file mode 100644 index 6cee6971..00000000 --- a/traps/rules/cisco/CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonMIBNotifications.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-5800-HEALTH-MON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_health_mon_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoHealthMonStatusType = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoHealthMonShelfId = this.trap.VarBinds.index(1).Value - root.out.cisco.ciscoHealthMonAddress = this.trap.VarBinds.index(2).Value - root.out.cisco.ciscoHealthMonDescr = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.ciscoHealthMonValue = this.trap.VarBinds.index(4).Value - root.out.cisco.ciscoHealthMonThreshold = this.trap.VarBinds.index(5).Value - - label: cisco_health_mon_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-5800-HEALTH-MON-MIB-ciscoHealthMonNotification" - root.out.event.category.name = this.trap.VarBinds.index(0).Value.string() - root.out.object.name = "ciscoHealthMonStatusEntry.28.3" - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() + ", " + this.trap.VarBinds.index(4).Value.string() + ", Exceeds " + this.trap.VarBinds.index(5).Value.string() + " ( Shelf: " + this.trap.VarBinds.index(1).Value.string() + ", IP Address: " + this.trap.VarBinds.index(2).Value.string() + " )" - - label: cisco_health_mon_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_health_mon_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_health_mon_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value.string() == 3 - processors: - - label: cisco_health_mon_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_health_mon_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_health_mon_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-AAA-SERVER-MIB-cAAAServerMIBNotifications.yml b/traps/rules/cisco/CISCO-AAA-SERVER-MIB-cAAAServerMIBNotifications.yml deleted file mode 100644 index 682b56b2..00000000 --- a/traps/rules/cisco/CISCO-AAA-SERVER-MIB-cAAAServerMIBNotifications.yml +++ /dev/null @@ -1,66 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-AAA-SERVER-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cas_server_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.casState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.56.1.2.1.1.25") - root.out.cisco.casPreviousStateDuration = this.trap.VarBinds.index(1).Value - root.out.cisco.casTotalDeadTime = this.trap.VarBinds.index(2).Value - - label: cas_server_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-AAA-SERVER-MIB-casServerStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-AAA-SERVER-MIB-casServerStateChange" - root.out.event.category.name = "AAA Server Status" - root.out.object.name = "casConfigEntry.56.2" - - label: cas_server_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cas_server_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "AAA Server Up ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cas_server_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "AAA Server Down ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cas_server_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "AAA Server Status Unknown ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cas_server_state_change_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ACCESS-ENVMON-MIB-caemMIBNotifications.yml b/traps/rules/cisco/CISCO-ACCESS-ENVMON-MIB-caemMIBNotifications.yml deleted file mode 100644 index 5f568092..00000000 --- a/traps/rules/cisco/CISCO-ACCESS-ENVMON-MIB-caemMIBNotifications.yml +++ /dev/null @@ -1,202 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ACCESS-ENVMON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: caem_temperature_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoEnvMonTemperatureStatusDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.ciscoEnvMonTemperatureState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.13.1.3.1.6") - - label: caem_temperature_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ACCESS-ENVMON-MIB-caemTemperatureNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ACCESS-ENVMON-MIB-caemTemperatureNotification" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "ciscoEnvMonTemperatureStatusEntry.2" - - label: caem_temperature_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: caem_temperature_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: caem_temperature_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Warning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: caem_temperature_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Critical" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: caem_temperature_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Critical, Shutdown System Immediately" - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: caem_temperature_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Sensor Not Present" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: caem_temperature_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Sensor Not Functioning Properly" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: caem_temperature_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: caem_temperature_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Tespoint: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: caem_voltage_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoEnvMonVoltageStatusDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.ciscoEnvMonVoltageState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.13.1.2.1.7") - - label: caem_voltage_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ACCESS-ENVMON-MIB-caemVoltageNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ACCESS-ENVMON-MIB-caemVoltageNotification" - root.out.event.category.name = "Voltage Status" - root.out.object.name = "ciscoEnvMonVoltageStatusEntry.2" - - label: caem_voltage_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: caem_voltage_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: caem_voltage_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Warning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: caem_voltage_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Critical" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: caem_voltage_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Critical, Shutdown System Immediately" - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: caem_voltage_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Sensor Not Present" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 6 - processors: - - label: caem_voltage_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Sensor Not Functioning Properly" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: caem_voltage_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: caem_voltage_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Testpoint: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ALPS-MIB-ciscoAlpsMIBNotifications.yml b/traps/rules/cisco/CISCO-ALPS-MIB-ciscoAlpsMIBNotifications.yml deleted file mode 100644 index 7dda29b6..00000000 --- a/traps/rules/cisco/CISCO-ALPS-MIB-ciscoAlpsMIBNotifications.yml +++ /dev/null @@ -1,397 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ALPS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: alps_peer_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsRemPeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.2.2.1.5") - - label: alps_peer_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsPeerStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsPeerStatusChange" - root.out.event.category.name = "ALPS Peer Connection Status" - root.out.object.name = "alpsRemPeerEntry.9.9.95.2" - - label: alps_peer_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: alps_peer_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Closed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: alps_peer_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: alps_peer_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Opened" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: alps_peer_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: alps_peer_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer: 9.9.95.2 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: alps_ckt_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsCktBaseState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.3.1.1.6") - - label: alps_ckt_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktStatusChange" - root.out.event.category.name = "ALPS Circuit Status" - root.out.object.name = "alpsCktBaseEntry." - - label: alps_ckt_status_change_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS AX25 Circuit" - - label: alps_ckt_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: alps_ckt_status_change_rules_3_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: alps_ckt_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Inoperable" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: alps_ckt_status_change_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: alps_ckt_status_change_rules_3_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Opened" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: alps_ckt_status_change_rules_3_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Busy" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: alps_ckt_status_change_rules_3_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Peer Busy" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: alps_ckt_status_change_rules_3_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Updating" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: alps_ckt_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: alps_ckt_status_change_rules_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Circuit: $String )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: alps_ascu_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsAscuState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.5.1.1.9") - - label: alps_ascu_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsAscuStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsAscuStatusChange" - root.out.event.category.name = "ALPS ASCU Status" - root.out.object.name = "alpsAscuEntry.95.2" - - label: alps_ascu_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: alps_ascu_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS ASCU Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: alps_ascu_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS ASCU Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: alps_ascu_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS ASCU Down" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: alps_ascu_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS ASCU Up" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: alps_ascu_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS ASCU Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: alps_ascu_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: alps_peer_conn_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsRemPeerConnState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.2.4.1.5") - - label: alps_peer_conn_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsPeerConnStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsPeerConnStatusChange" - root.out.event.category.name = "ALPS Peer Connection Status" - root.out.object.name = "alpsRemPeerConnEntry." - - label: alps_peer_conn_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: alps_peer_conn_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Closed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: alps_peer_conn_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: alps_peer_conn_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Opened" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: alps_peer_conn_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Busy" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: alps_peer_conn_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: alps_peer_conn_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer: $alpsRemPeerIpAddr, Connection: $String )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: alps_ckt_open_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsCktBaseDownReason = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.3.1.1.14") - - label: alps_ckt_open_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktOpenFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktOpenFailure" - root.out.event.category.name = "ALPS Circuit Status" - root.out.object.name = "alpsCktBaseEntry." - - label: alps_ckt_open_failure_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS AX25 Circuit" - - label: alps_ckt_open_failure_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Open Failure, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.95.1.3.1.1.14").string() + " ( Circuit: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 6 - processors: - - label: alps_ckt_partial_reject_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.alpsCktAscuIfIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.alpsCktAscuId = this.trap.VarBinds.index(1).Value - - label: alps_ckt_partial_reject_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktPartialReject" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ALPS-MIB-alpsCktPartialReject" - root.out.event.category.name = "ALPS Circuit ASCU Status" - root.out.object.name = "alpsCktAscuEntry." - - label: alps_ckt_partial_reject_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ALPS Circuit Rejected ASCU" - - label: alps_ckt_partial_reject_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Circuit: $String, ASCU: alpsAscuEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() + " ) " - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-APS-MIB-cApsNotificationsPrefix.yml b/traps/rules/cisco/CISCO-APS-MIB-cApsNotificationsPrefix.yml deleted file mode 100644 index e25b2d3d..00000000 --- a/traps/rules/cisco/CISCO-APS-MIB-cApsNotificationsPrefix.yml +++ /dev/null @@ -1,181 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-APS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_aps_event_switchover_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cApsChanStatusSwitchovers = this.trap.VarBinds.index(0).Value - root.out.cisco.cApsChanStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.71.1.6.1.1") - - label: c_aps_event_switchover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventSwitchover" - root.out.event.id = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventSwitchover" - root.out.event.category.name = "APS Channel Status" - root.out.object.name = "cApsChanStatusEntry..1" - - label: c_aps_event_switchover_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 0 - processors: - - label: c_aps_event_switchover_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: c_aps_event_switchover_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel Locked Out" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: c_aps_event_switchover_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel Signal Degraded" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: c_aps_event_switchover_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel Signal Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8 - processors: - - label: c_aps_event_switchover_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel Switched Over" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: c_aps_event_switchover_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "APS Channel Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: c_aps_event_switchover_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( APS Group: $String, Channel: 1 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: c_aps_event_mode_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cApsStatusModeMismatches = this.trap.VarBinds.index(0).Value - root.out.cisco.cApsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.71.1.2.1.3") - - label: c_aps_event_mode_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventModeMismatch" - root.out.event.id = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventModeMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "cApsStatusEntry." - root.out.event.message = "APS Group Mode Mismatch ( APS Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: c_aps_event_channel_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cApsStatusChannelMismatches = this.trap.VarBinds.index(0).Value - root.out.cisco.cApsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.71.1.2.1.3") - - label: c_aps_event_channel_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventChannelMismatch" - root.out.event.id = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventChannelMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "cApsStatusEntry." - root.out.event.message = "APS Group Channel Mismatch ( APS Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: c_aps_event_psbf_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cApsStatusPSBFs = this.trap.VarBinds.index(0).Value - root.out.cisco.cApsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.71.1.2.1.3") - - label: c_aps_event_psbf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventPSBF" - root.out.event.id = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventPSBF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "cApsStatusEntry." - root.out.event.message = "APS Group Protection Switch Byte Failure ( APS Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: c_aps_event_feplf_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cApsStatusFEPLFs = this.trap.VarBinds.index(0).Value - root.out.cisco.cApsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.71.1.2.1.3") - - label: c_aps_event_feplf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventFEPLF" - root.out.event.id = "SNMPTRAP-cisco-CISCO-APS-MIB-cApsEventFEPLF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "cApsStatusEntry." - root.out.event.message = "APS Group Far-End Protection-Line Failure ( APS Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-BBSM-MIB-ciscoBbsmNotifications.yml b/traps/rules/cisco/CISCO-BBSM-MIB-ciscoBbsmNotifications.yml index c296ec20..fda988ed 100644 --- a/traps/rules/cisco/CISCO-BBSM-MIB-ciscoBbsmNotifications.yml +++ b/traps/rules/cisco/CISCO-BBSM-MIB-ciscoBbsmNotifications.yml @@ -22,9 +22,9 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BBSM-MIB-ciscoBbsmEvent" root.out.event.id = "SNMPTRAP-cisco-CISCO-BBSM-MIB-ciscoBbsmEvent" - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " Status" + root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_octet_string() + " Status" root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_octet_string() - label: cisco_bbsm_event_rules_2 switch: - check: this.trap.VarBinds.index(3).Value == 1 diff --git a/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4MIB.yml b/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4MIB.yml new file mode 100644 index 00000000..288cb90f --- /dev/null +++ b/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4MIB.yml @@ -0,0 +1,2261 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Cisco CISCO-BGP4-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # cbgpFsmStateChange + # + # The BGP cbgpFsmStateChange notification is generated for every BGP FSM state change. + # + # bgpPeerLastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # bgpPeerState (INTEGER) - The BGP peer connection state. + # cbgpPeerLastErrorTxt (SnmpAdminString) - Implementation specific error description for bgpPeerLastErrorReceived. + # cbgpPeerPrevState (INTEGER) - The BGP peer connection previous stat + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.15.3.1.14") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.15.3.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.1.1.7") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta bgpPeerState = this.trap.VarBinds.index(1).Value + + root.out.ietf.bgpPeerLastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() + root.out.ietf.bgpPeerState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.15.3.1.2") + root.out.cisco.cbgpPeerLastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.cisco.cbgpPeerPrevState = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") + + root.out.object.name = "CISCO-BGP4-MIB::bgpPeerEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.15.3.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.ietf.bgpPeerRemoteAddr = root.out.object.index + root.out.object.label = "peer: " + root.out.ietf.bgpPeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpFsmStateChange" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpFsmStateChange" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("bgpPeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("bgpPeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("cisco.cbgpPeerPrevState") { + root.out.event.message + ", was " + root.out.cisco.cbgpPeerPrevState + } + root.out.event.message = if root.out.exists("cisco.cbgpPeerLastErrorTxt") { + root.out.event.message + ", " + root.out.cisco.cbgpPeerLastErrorTxt + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpFsmStateChange" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpFsmStateChange-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state changed - UNEXPECTED VARBINDS for cbgpFsmStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # cbgpBackwardTransition + # + # The cbgpBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower + # numbered state. + # + # bgpPeerLastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # bgpPeerState (INTEGER) - The BGP peer connection state. + # cbgpPeerLastErrorTxt (SnmpAdminString) - Implementation specific error description for bgpPeerLastErrorReceived. + # cbgpPeerPrevState (INTEGER) - The BGP peer connection previous stat + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.15.3.1.14") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.15.3.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.1.1.7") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta bgpPeerState = this.trap.VarBinds.index(1).Value + + root.out.ietf.bgpPeerLastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() + root.out.ietf.bgpPeerState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.15.3.1.2") + root.out.cisco.cbgpPeerLastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.cisco.cbgpPeerPrevState = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") + + root.out.object.name = "CISCO-BGP4-MIB::bgpPeerEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.15.3.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.ietf.bgpPeerRemoteAddr = root.out.object.index + root.out.object.label = "peer: " + root.out.ietf.bgpPeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpBackwardTransition" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpBackwardTransition" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("bgpPeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("bgpPeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("bgpPeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("cisco.cbgpPeerPrevState") { + root.out.event.message + ", was " + root.out.cisco.cbgpPeerPrevState + } + root.out.event.message = if root.out.exists("cisco.cbgpPeerLastErrorTxt") { + root.out.event.message + ", " + root.out.cisco.cbgpPeerLastErrorTxt + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpBackwardTransition" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpBackwardTransition-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for cbgpBackwardTransition trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 3 + # cbgpPrefixThresholdExceeded + # + # The cbgpPrefixThresholdExceeded notification is generated when prefix count exceeds the configured warning + # threshold on a session for an address family. + # + # cbgpPeerPrefixAdminLimit (Unsigned32) - Max number of route prefixes accepted for an address family on this + # connection. + # cbgpPeerPrefixThreshold (Unsigned32) - Prefix threshold value (%) for an address family on this connection at + # which warning message stating the prefix count is crossed the threshold or corresponding SNMP notification is + # generated. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.4.1.3") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.4.1.4") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.cbgpPeerPrefixAdminLimit = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeerPrefixThreshold = this.trap.VarBinds.index(1).Value + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeerAddrFamilyEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.4.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeerAddrFamilyEntry = root.out.object.index.snmp_oid_extract_index("IpAddress,Integer,Integer") + root.out.ietf.bgpPeerRemoteAddr = root.TEMP.cbgpPeerAddrFamilyEntry.index(0) + root.out.cisco.cbgpPeerAddrFamilyAfi = root.TEMP.cbgpPeerAddrFamilyEntry.index(1).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.3.1.1") + root.out.cisco.cbgpPeerAddrFamilySafi = root.TEMP.cbgpPeerAddrFamilyEntry.index(2).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.3.1.2") + root.out.object.label = "peer: " + root.out.ietf.bgpPeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdExceeded" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdExceeded" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP " + root.out.cisco.cbgpPeerAddrFamilyAfi + " " + root.out.cisco.cbgpPeerAddrFamilySafi + " prefixes exceeds " + root.out.cisco.cbgpPeerPrefixThreshold.string() + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdExceeded" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdExceeded-unknown" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP prefixes exceed threshold - UNEXPECTED VARBINDS for cbgpPrefixThresholdExceeded trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 4 + # cbgpPrefixThresholdClear + # + # The cbgpPrefixThresholdClear notification is generated when prefix count drops below the configured clear + # threshold on a session for an address family once cbgpPrefixThresholdExceeded is generated. This won't be + # generated if the peer session goes down after the generation of cbgpPrefixThresholdExceeded. + # + # cbgpPeerPrefixAdminLimit (Unsigned32) - Max number of route prefixes accepted for an address family on this + # connection. + # cbgpPeerPrefixClearThreshold (Unsigned32) - Prefix threshold value (%) for an address family on this connection at + # which SNMP clear notification is generated if prefix threshold notification is already generated. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.4.1.3") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.4.1.5") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.cbgpPeerPrefixAdminLimit = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeerPrefixClearThreshold = this.trap.VarBinds.index(1).Value + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeerAddrFamilyEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.4.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeerAddrFamilyEntry = root.out.object.index.snmp_oid_extract_index("IpAddress,Integer,Integer") + root.out.ietf.bgpPeerRemoteAddr = root.TEMP.cbgpPeerAddrFamilyEntry.index(0) + root.out.cisco.cbgpPeerAddrFamilyAfi = root.TEMP.cbgpPeerAddrFamilyEntry.index(1).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.3.1.1") + root.out.cisco.cbgpPeerAddrFamilySafi = root.TEMP.cbgpPeerAddrFamilyEntry.index(2).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.3.1.2") + root.out.object.label = "peer: " + root.out.ietf.bgpPeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdClear" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdClear" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP " + root.out.cisco.cbgpPeerAddrFamilyAfi + " " + root.out.cisco.cbgpPeerAddrFamilySafi + " prefixes below " + root.out.cisco.cbgpPeerPrefixClearThreshold.string() + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdClear" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPrefixThresholdClear-unknown" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP prefixes below threshold - UNEXPECTED VARBINDS for cbgpPrefixThresholdClear trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 5 + # cbgpPeer2EstablishedNotification + # + # The cbgpPeer2EstablishedNotification notification is generated when the BGP FSM enters the established state. + # + # cbgpPeer2LastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # cbgpPeer2State (INTEGER) - The BGP peer connection state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.17") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta cbgpPeer2State = this.trap.VarBinds.index(1).Value + + root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value + + meta cbgpPeer2LastError = root.out.cisco.cbgpPeer2LastError + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2Entry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2Entry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString") + root.out.ietf.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2Entry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2Entry.index(0)) + root.out.object.label = "peer: " + root.out.ietf.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2EstablishedNotification" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2EstablishedNotification" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("cbgpPeer2State") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("cbgpPeer2State") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - switch: + - check: metadata("cbgpPeer2LastError") == "0000" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", No Error" + - check: metadata("cbgpPeer2LastError") == "0100" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0101" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Connection Not Synchronized" + - check: metadata("cbgpPeer2LastError") == "0102" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Bad Message Length" + - check: metadata("cbgpPeer2LastError") == "0103" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Bad Message Type" + - check: metadata("cbgpPeer2LastError") == "0200" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0201" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Version Number" + - check: metadata("cbgpPeer2LastError") == "0202" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Bad Peer AS" + - check: metadata("cbgpPeer2LastError") == "0203" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Bad BGP Identifier" + - check: metadata("cbgpPeer2LastError") == "0204" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Optional Parameter" + - check: metadata("cbgpPeer2LastError") == "0206" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unacceptable Hold Time" + - check: metadata("cbgpPeer2LastError") == "0207" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Capability" + - check: metadata("cbgpPeer2LastError") == "020b" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Role Mismatch" + - check: metadata("cbgpPeer2LastError") == "0300" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0301" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Malformed Attribute List" + - check: metadata("cbgpPeer2LastError") == "0302" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Unrecognized Well-known Attribute" + - check: metadata("cbgpPeer2LastError") == "0303" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Missing Well-known Attribute" + - check: metadata("cbgpPeer2LastError") == "0304" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Attribute Flags Error" + - check: metadata("cbgpPeer2LastError") == "0305" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Attribute Length Error" + - check: metadata("cbgpPeer2LastError") == "0306" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid ORIGIN Attribute" + - check: metadata("cbgpPeer2LastError") == "0308" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid NEXT_HOP Attribute" + - check: metadata("cbgpPeer2LastError") == "0309" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Optional Attribute Error" + - check: metadata("cbgpPeer2LastError") == "030a" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid Network Field" + - check: metadata("cbgpPeer2LastError") == "030b" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Malformed AS_PATH" + - check: metadata("cbgpPeer2LastError") == "0400" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Hold Timer Expired" + - check: metadata("cbgpPeer2LastError") == "0500" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error" + - check: metadata("cbgpPeer2LastError") == "0501" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in OpenSent State" + - check: metadata("cbgpPeer2LastError") == "0502" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in OpenConfirm State" + - check: metadata("cbgpPeer2LastError") == "0503" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in Established State" + - check: metadata("cbgpPeer2LastError") == "0600" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease" + - check: metadata("cbgpPeer2LastError") == "0601" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Maximum Number of Prefixes Reached" + - check: metadata("cbgpPeer2LastError") == "0602" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Administrative Shutdown" + - check: metadata("cbgpPeer2LastError") == "0603" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Peer De-configured" + - check: metadata("cbgpPeer2LastError") == "0604" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Administrative Reset" + - check: metadata("cbgpPeer2LastError") == "0605" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Connection Rejected" + - check: metadata("cbgpPeer2LastError") == "0606" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Other Configuration Change" + - check: metadata("cbgpPeer2LastError") == "0607" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Connection Collision Resolution" + - check: metadata("cbgpPeer2LastError") == "0608" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Out of Resources" + - check: metadata("cbgpPeer2LastError") == "0609" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Hard Reset" + - check: metadata("cbgpPeer2LastError") == "060a" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - BFD Down" + - check: metadata("cbgpPeer2LastError") == "0700" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", ROUTE-REFRESH Message Error" + - check: metadata("cbgpPeer2LastError") == "0701" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", ROUTE-REFRESH Message Error - Invalid Message Length" + - check: metadata("cbgpPeer2LastError") == "0800" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Send Hold Timer Expired" + - check: metadata("cbgpPeer2LastError") == "0900" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Loss of LSDB Synchronization" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2EstablishedNotification" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2EstablishedNotification-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer established - UNEXPECTED VARBINDS for cbgpPeer2EstablishedNotification trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 6 + # cbgpPeer2BackwardTransNotification + # + # The cbgpPeer2BackwardTransNotification notification is generated when the BGP FSM moves from a higher numbered + # state to a lower numbered state. + # + # cbgpPeer2LastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # cbgpPeer2State (INTEGER) - The BGP peer connection state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.17") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta cbgpPeer2State = this.trap.VarBinds.index(1).Value + + root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value + + meta cbgpPeer2LastError = root.out.cisco.cbgpPeer2LastError + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2Entry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2Entry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString") + root.out.ietf.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2Entry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2Entry.index(0)) + root.out.object.label = "peer: " + root.out.ietf.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransNotification" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransNotification" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("cbgpPeer2State") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("cbgpPeer2State") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - switch: + - check: metadata("cbgpPeer2LastError") == "0000" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", No Error" + - check: metadata("cbgpPeer2LastError") == "0100" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0101" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Connection Not Synchronized" + - check: metadata("cbgpPeer2LastError") == "0102" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Bad Message Length" + - check: metadata("cbgpPeer2LastError") == "0103" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Message Header Error - Bad Message Type" + - check: metadata("cbgpPeer2LastError") == "0200" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0201" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Version Number" + - check: metadata("cbgpPeer2LastError") == "0202" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Bad Peer AS" + - check: metadata("cbgpPeer2LastError") == "0203" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Bad BGP Identifier" + - check: metadata("cbgpPeer2LastError") == "0204" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Optional Parameter" + - check: metadata("cbgpPeer2LastError") == "0206" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unacceptable Hold Time" + - check: metadata("cbgpPeer2LastError") == "0207" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Unsupported Capability" + - check: metadata("cbgpPeer2LastError") == "020b" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", OPEN Message Error - Role Mismatch" + - check: metadata("cbgpPeer2LastError") == "0300" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Unspecific" + - check: metadata("cbgpPeer2LastError") == "0301" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Malformed Attribute List" + - check: metadata("cbgpPeer2LastError") == "0302" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Unrecognized Well-known Attribute" + - check: metadata("cbgpPeer2LastError") == "0303" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Missing Well-known Attribute" + - check: metadata("cbgpPeer2LastError") == "0304" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Attribute Flags Error" + - check: metadata("cbgpPeer2LastError") == "0305" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Attribute Length Error" + - check: metadata("cbgpPeer2LastError") == "0306" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid ORIGIN Attribute" + - check: metadata("cbgpPeer2LastError") == "0308" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid NEXT_HOP Attribute" + - check: metadata("cbgpPeer2LastError") == "0309" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Optional Attribute Error" + - check: metadata("cbgpPeer2LastError") == "030a" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Invalid Network Field" + - check: metadata("cbgpPeer2LastError") == "030b" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", UPDATE Message Error - Malformed AS_PATH" + - check: metadata("cbgpPeer2LastError") == "0400" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Hold Timer Expired" + - check: metadata("cbgpPeer2LastError") == "0500" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error" + - check: metadata("cbgpPeer2LastError") == "0501" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in OpenSent State" + - check: metadata("cbgpPeer2LastError") == "0502" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in OpenConfirm State" + - check: metadata("cbgpPeer2LastError") == "0503" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Finite State Machine Error - Receive Unexpected Message in Established State" + - check: metadata("cbgpPeer2LastError") == "0600" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease" + - check: metadata("cbgpPeer2LastError") == "0601" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Maximum Number of Prefixes Reached" + - check: metadata("cbgpPeer2LastError") == "0602" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Administrative Shutdown" + - check: metadata("cbgpPeer2LastError") == "0603" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Peer De-configured" + - check: metadata("cbgpPeer2LastError") == "0604" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Administrative Reset" + - check: metadata("cbgpPeer2LastError") == "0605" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Connection Rejected" + - check: metadata("cbgpPeer2LastError") == "0606" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Other Configuration Change" + - check: metadata("cbgpPeer2LastError") == "0607" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Connection Collision Resolution" + - check: metadata("cbgpPeer2LastError") == "0608" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Out of Resources" + - check: metadata("cbgpPeer2LastError") == "0609" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - Hard Reset" + - check: metadata("cbgpPeer2LastError") == "060a" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Cease - BFD Down" + - check: metadata("cbgpPeer2LastError") == "0700" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", ROUTE-REFRESH Message Error" + - check: metadata("cbgpPeer2LastError") == "0701" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", ROUTE-REFRESH Message Error - Invalid Message Length" + - check: metadata("cbgpPeer2LastError") == "0800" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Send Hold Timer Expired" + - check: metadata("cbgpPeer2LastError") == "0900" + processors: + - mapping: |- + #!blobl + root = this + root.out.event.message = root.out.event.message + ", Loss of LSDB Synchronization" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransNotification" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransNotification-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for cbgpPeer2BackwardTransNotification trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 7 + # cbgpPeer2FsmStateChange + # + # The cbgpPeer2FsmStateChange notification is generated for every BGP FSM state change. + # + # cbgpPeer2LastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # cbgpPeer2State (INTEGER) - The BGP peer connection state. + # cbgpPeer2LastErrorTxt (SnmpAdminString) - Implementation specific error description for bgpPeerLastErrorReceived. + # cbgpPeer2PrevState (INTEGER) - The BGP peer connection previous state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.17") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.28") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.30") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta cbgpPeer2State = this.trap.VarBinds.index(1).Value + + root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() + root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.cisco.cbgpPeer2LastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.cisco.cbgpPeer2PrevState = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.29") + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2Entry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2Entry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString") + root.out.cisco.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2Entry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2Entry.index(0)) + root.out.object.label = "peer: " + root.out.cisco.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2FsmStateChange" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2FsmStateChange" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("cbgpPeer2State") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("cbgpPeer2State") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("cisco.cbgpPeer2PrevState") { + root.out.event.message + ", was " + root.out.cisco.cbgpPeer2PrevState + } + root.out.event.message = if root.out.exists("cisco.cbgpPeer2LastErrorTxt") { + root.out.event.message + ", " + root.out.cisco.cbgpPeer2LastErrorTxt + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2FsmStateChange" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2FsmStateChange-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state changed - UNEXPECTED VARBINDS for cbgpPeer2FsmStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 8 + # cbgpPeer2BackwardTransition + # + # The cbgpPeer2BackwardTransition notification is generated when the BGP FSM moves from a higher numbered state to a + # lower numbered state. + # + # cbgpPeer2LastError (OCTET STRING) - The last error code and subcode seen by this peer on this connection. + # cbgpPeer2State (INTEGER) - The BGP peer connection state. + # cbgpPeer2LastErrorTxt (SnmpAdminString) - Implementation specific error description for bgpPeerLastErrorReceived. + # cbgpPeer2PrevState (INTEGER) - The BGP peer connection previous state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.17") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.28") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.5.1.30") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta cbgpPeer2State = this.trap.VarBinds.index(1).Value + + root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() + root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.cisco.cbgpPeer2LastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.cisco.cbgpPeer2PrevState = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.29") + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2Entry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2Entry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString") + root.out.cisco.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2Entry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2Entry.index(0)) + root.out.object.label = "peer: " + root.out.cisco.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransition" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransition" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("cbgpPeer2State") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("cbgpPeer2State") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("cbgpPeer2State") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("cisco.cbgpPeer2PrevState") { + root.out.event.message + ", was " + root.out.cisco.cbgpPeer2PrevState + } + root.out.event.message = if root.out.exists("cisco.cbgpPeer2LastErrorTxt") { + root.out.event.message + ", " + root.out.cisco.cbgpPeer2LastErrorTxt + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransition" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2BackwardTransition-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for cbgpPeer2BackwardTransition trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 9 + # cbgpPeer2PrefixThresholdExceeded + # + # The cbgpPeer2PrefixThresholdExceeded notification is generated when prefix count exceeds the configured warning + # threshold on a session for an address family. + # + # cbgpPeer2PrefixAdminLimit (Unsigned32) - Max number of route prefixes accepted for an address family on this + # connection. + # cbgpPeer2PrefixThreshold (Unsigned32) - Prefix threshold value (%) for an address family on this connection at + # which warning message stating the prefix count is crossed the threshold or corresponding SNMP notification is + # generated. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.8.1.3") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.8.1.4") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.cbgpPeer2PrefixAdminLimit = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeer2PrefixThreshold = this.trap.VarBinds.index(1).Value + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2AddrFamilyEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.8.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2AddrFamilyEntry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString,Integer,Integer") + root.out.cisco.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2AddrFamilyEntry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2AddrFamilyEntry.index(0)) + root.out.cisco.cbgpPeer2AddrFamilyAfi = root.TEMP.cbgpPeer2AddrFamilyEntry.index(2).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.7.1.1") + root.out.cisco.cbgpPeer2AddrFamilySafi = root.TEMP.cbgpPeer2AddrFamilyEntry.index(3).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.7.1.2") + root.out.object.label = "peer: " + root.out.cisco.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdExceeded" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdExceeded" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP " + root.out.cisco.cbgpPeer2AddrFamilyAfi + " " + root.out.cisco.cbgpPeer2AddrFamilySafi + " prefixes exceeds " + root.out.cisco.cbgpPeer2PrefixThreshold.string() + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdExceeded" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdExceeded-unknown" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP prefixes exceed threshold - UNEXPECTED VARBINDS for cbgpPeer2PrefixThresholdExceeded trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 10 + # cbgpPeer2PrefixThresholdClear + # + # The cbgpPeer2PrefixThresholdClear notification is generated when prefix count drops below the configured clear + # threshold on a session for an address family once cbgpPeer2PrefixThresholdExceeded is generated. + # + # cbgpPeer2PrefixAdminLimit (Unsigned32) - Max number of route prefixes accepted for an address family on this + # connection. + # cbgpPeer2PrefixClearThreshold (Unsigned32) - Prefix threshold value (%) for an address family on this connection + # at which SNMP clear notification is generated if prefix threshold notification is already generated. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.8.1.3") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.187.1.2.8.1.5") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.cbgpPeer2PrefixAdminLimit = this.trap.VarBinds.index(0).Value + root.out.cisco.cbgpPeer2PrefixClearThreshold = this.trap.VarBinds.index(1).Value + + root.out.object.name = "CISCO-BGP4-MIB::cbgpPeer2AddrFamilyPrefixEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.187.1.2.8.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.cbgpPeer2AddrFamilyEntry = root.out.object.index.snmp_oid_extract_index("Integer,OctetString,Integer,Integer") + root.out.cisco.cbgpPeer2RemoteAddr = root.TEMP.cbgpPeer2AddrFamilyEntry.index(1).snmp_inet_address(root.TEMP.cbgpPeer2AddrFamilyEntry.index(0)) + root.out.cisco.cbgpPeer2AddrFamilyAfi = root.TEMP.cbgpPeer2AddrFamilyEntry.index(2).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.7.1.1") + root.out.cisco.cbgpPeer2AddrFamilySafi = root.TEMP.cbgpPeer2AddrFamilyEntry.index(3).snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.7.1.2") + root.out.object.label = "peer: " + root.out.cisco.cbgpPeer2RemoteAddr + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdClear" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdClear" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP " + root.out.cisco.cbgpPeer2AddrFamilyAfi + " " + root.out.cisco.cbgpPeer2AddrFamilySafi + " prefixes below " + root.out.cisco.cbgpPeer2PrefixClearThreshold.string() + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdClear" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-cbgpPeer2PrefixThresholdClear-unknown" + root.out.event.category.name = "BGP prefix threshold" + root.out.event.message = "BGP prefixes below threshold - UNEXPECTED VARBINDS for cbgpPeer2PrefixThresholdClear trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-unknown" + root.out.event.id = "SNMPTRAP-CISCO-BGP4-MIB-ciscoBgp4MIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Cisco CISCO-BGP4-MIB-ciscoBgp4MIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4NotifyPrefix.yml b/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4NotifyPrefix.yml deleted file mode 100644 index 7ffcba73..00000000 --- a/traps/rules/cisco/CISCO-BGP4-MIB-ciscoBgp4NotifyPrefix.yml +++ /dev/null @@ -1,380 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-BGP4-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cbgp_fsm_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.bgpPeerLastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.bgpPeerState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.15.3.1.2") - root.out.cisco.cbgpPeerLastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cbgpPeerPrevState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") - - label: cbgp_fsm_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpFsmStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpFsmStateChange" - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "bgpPeerEntry.1.9.9.187" - - label: cbgp_fsm_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 1 - processors: - - label: cbgp_fsm_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 2 - processors: - - label: cbgp_fsm_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 3 - processors: - - label: cbgp_fsm_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 4 - processors: - - label: cbgp_fsm_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 5 - processors: - - label: cbgp_fsm_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 6 - processors: - - label: cbgp_fsm_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: cbgp_fsm_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cbgp_fsm_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.15.3.1.2").string() - root.out.event.message = root.out.event.message + " ( BGP Peer: 1.9.9.187 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cbgp_backward_transition_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.bgpPeerLastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.bgpPeerState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.15.3.1.2") - root.out.cisco.cbgpPeerLastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cbgpPeerPrevState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.1.1.8") - - label: cbgp_backward_transition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpBackwardTransition" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpBackwardTransition" - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "bgpPeerEntry.1.9.9.187" - - label: cbgp_backward_transition_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 1 - processors: - - label: cbgp_backward_transition_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 2 - processors: - - label: cbgp_backward_transition_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 3 - processors: - - label: cbgp_backward_transition_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 4 - processors: - - label: cbgp_backward_transition_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 5 - processors: - - label: cbgp_backward_transition_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == 6 - processors: - - label: cbgp_backward_transition_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: cbgp_backward_transition_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cbgp_backward_transition_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.15.3.1.2").string() - root.out.event.message = root.out.event.message + " ( BGP Peer: 1.9.9.187 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cbgp_prefix_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeerPrefixAdminLimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cbgpPeerPrefixThreshold = this.trap.VarBinds.index(1).Value - - label: cbgp_prefix_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpPrefixThresholdExceeded" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpPrefixThresholdExceeded" - root.out.event.category.name = "BGP Peer Address Family Prefix Status" - root.out.object.name = "cbgpPeerAddrFamilyPrefixEntry.1.4.1.9.9.187" - root.out.event.message = "BGP Peer lookup($cbgpPeerAddrFamilyAfiRaw, InetAddressType) lookup($cbgpPeerAddrFamilySafiRaw, CbgpSafi) Address Family Prefix Count Exceeds " + this.trap.VarBinds.index(1).Value.string() + " ( BGP Peer: 1.4.1.9 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cbgp_prefix_threshold_clear_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeerPrefixAdminLimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cbgpPeerPrefixClearThreshold = this.trap.VarBinds.index(1).Value - - label: cbgp_prefix_threshold_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpPrefixThresholdClear" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BGP4-MIB-cbgpPrefixThresholdClear" - root.out.event.category.name = "BGP Peer Address Family Prefix Status" - root.out.object.name = "cbgpPeerAddrFamilyPrefixEntry.1.4.1.9.9.187" - root.out.event.message = "BGP Peer lookup($cbgpPeerAddrFamilyAfiRaw, InetAddressType) lookup($cbgpPeerAddrFamilySafiRaw, CbgpSafi) Address Family Prefix Count Below " + this.trap.VarBinds.index(1).Value.string() + " ( BGP Peer: 1.4.1.9 )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cbgp_peer2established_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") - - label: cbgp_peer2established_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cbgp_peer2backward_trans_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") - - label: cbgp_peer2backward_trans_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cbgp_peer2fsm_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") - root.out.cisco.cbgpPeer2LastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2PrevState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.29") - - label: cbgp_peer2fsm_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cbgp_peer2backward_transition_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2LastError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2State = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.3") - root.out.cisco.cbgpPeer2LastErrorTxt = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cbgpPeer2PrevState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.187.1.2.5.1.29") - - label: cbgp_peer2backward_transition_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cbgp_peer2prefix_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2PrefixAdminLimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cbgpPeer2PrefixThreshold = this.trap.VarBinds.index(1).Value - - label: cbgp_peer2prefix_threshold_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cbgp_peer2prefix_threshold_clear_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cbgpPeer2PrefixAdminLimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cbgpPeer2PrefixClearThreshold = this.trap.VarBinds.index(1).Value - - label: cbgp_peer2prefix_threshold_clear_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-BSTUN-MIB-bstunNotifications.yml b/traps/rules/cisco/CISCO-BSTUN-MIB-bstunNotifications.yml deleted file mode 100644 index 38366325..00000000 --- a/traps/rules/cisco/CISCO-BSTUN-MIB-bstunNotifications.yml +++ /dev/null @@ -1,370 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-BSTUN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: bstun_peer_state_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.bstunRoutePeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.7") - - label: bstun_peer_state_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunPeerStateChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunPeerStateChangeNotification" - root.out.event.category.name = "BSTUN Route Peer Status" - root.out.object.name = "bstunRouteEntry.35.2" - - label: bstun_peer_state_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: bstun_peer_state_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Dead" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: bstun_peer_state_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Closed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: bstun_peer_state_change_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: bstun_peer_state_change_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Open, Waiting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: bstun_peer_state_change_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: bstun_peer_state_change_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Direct" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: bstun_peer_state_change_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel Route Peer Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: bstun_peer_state_change_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: bstun_peer_state_change_notification2_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.bstunRoutePeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.7") - root.out.cisco.bstunRouteType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3") - root.out.cisco.bstunRouteRxPackets = this.trap.VarBinds.index(2).Value - root.out.cisco.bstunRouteTxPackets = this.trap.VarBinds.index(3).Value - - label: bstun_peer_state_change_notification2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunPeerStateChangeNotification2" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunPeerStateChangeNotification2" - root.out.event.category.name = "BSTUN Route Peer Status" - root.out.object.name = "bstunRouteEntry.35.2" - - label: bstun_peer_state_change_notification2_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: bstun_peer_state_change_notification2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Dead" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: bstun_peer_state_change_notification2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Closed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: bstun_peer_state_change_notification2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: bstun_peer_state_change_notification2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Open, Waiting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: bstun_peer_state_change_notification2_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: bstun_peer_state_change_notification2_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Direct" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: bstun_peer_state_change_notification2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Blocked Serial Tunnel " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.3").string() + " Route Peer Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: bstun_peer_state_change_notification2_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: bstun_custatus_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.bstunRouteIP = this.trap.VarBinds.index(0).Value - root.out.cisco.bstunRouteBIPForeignPort = this.trap.VarBinds.index(1).Value - root.out.cisco.bstunRouteBIPLocalPort = this.trap.VarBinds.index(2).Value - root.out.cisco.bstunRouteBIPDeviceStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.35.1.4.1.1.18") - - label: bstun_custatus_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunCUStatusChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-BSTUN-MIB-bstunCUStatusChangeNotification" - root.out.event.category.name = "BSTUN BIP Bi-Sync Device Status" - root.out.object.name = "bstunRouteEntry.35.2" - - label: bstun_custatus_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: bstun_custatus_change_notification_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: bstun_custatus_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Operation Check Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: bstun_custatus_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: bstun_custatus_change_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Data Check Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 8 - processors: - - label: bstun_custatus_change_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Equipment Check Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 16 - processors: - - label: bstun_custatus_change_notification_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Intervention Required" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 32 - processors: - - label: bstun_custatus_change_notification_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Command Rejected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 64 - processors: - - label: bstun_custatus_change_notification_rules_2_64 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 128 - processors: - - label: bstun_custatus_change_notification_rules_2_128 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(3).Value == 256 - processors: - - label: bstun_custatus_change_notification_rules_2_256 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Status Unknown" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 512 - processors: - - label: bstun_custatus_change_notification_rules_2_512 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Not Busy" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(3).Value == 1024 - processors: - - label: bstun_custatus_change_notification_rules_2_1024 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Unit Specify" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 2048 - processors: - - label: bstun_custatus_change_notification_rules_2_2048 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Busy" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: bstun_custatus_change_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "BSTUN BIP Bi-Sync Device Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: bstun_custatus_change_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer: " + this.trap.VarBinds.index(0).Value.string() + ", Foreign Port: " + this.trap.VarBinds.index(1).Value.string() + ", Local Port: " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-C2900-MIB-c2900MibNotificationsPrefix.yml b/traps/rules/cisco/CISCO-C2900-MIB-c2900MibNotificationsPrefix.yml deleted file mode 100644 index 37f28c4c..00000000 --- a/traps/rules/cisco/CISCO-C2900-MIB-c2900MibNotificationsPrefix.yml +++ /dev/null @@ -1,72 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-C2900-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c2900address_violation_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.c2900PortIfIndex = this.trap.VarBinds.index(0).Value - - label: c2900address_violation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900AddressViolation" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900AddressViolation" - root.out.event.category.name = "Port Status" - root.out.object.name = "c2900PortEntry.87.2" - root.out.event.message = "Secured Port Address Violation ( Slot: 87, Port: 2 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: c2900broadcast_storm_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.c2900PortBroadcastRisingThreshold = this.trap.VarBinds.index(0).Value - - label: c2900broadcast_storm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900BroadcastStorm" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900BroadcastStorm" - root.out.event.category.name = "Port Status" - root.out.object.name = "c2900PortEntry.87.2" - root.out.event.message = "Port Broadcast Packets Exceeds " + this.trap.VarBinds.index(0).Value.string() + " frames/sec. ( Slot: 87, Port: 2 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: c2900rps_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: c2900rps_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900RpsFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C2900-MIB-c2900RpsFailed" - root.out.event.category.name = "Redundant Power System Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power System Failure" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-C8500-REDUNDANCY-MIB-ccrMIBNotifications.yml b/traps/rules/cisco/CISCO-C8500-REDUNDANCY-MIB-ccrMIBNotifications.yml deleted file mode 100644 index b4053010..00000000 --- a/traps/rules/cisco/CISCO-C8500-REDUNDANCY-MIB-ccrMIBNotifications.yml +++ /dev/null @@ -1,214 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-C8500-REDUNDANCY-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ccr_cpu_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccrCpuStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.105.1.1.1.1.3") - - label: ccr_cpu_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrCpuStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrCpuStatusChange" - root.out.event.category.name = "CPU Card Redundancy Status" - root.out.object.name = "ccrCpuEntry.2" - - label: ccr_cpu_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ccr_cpu_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CPU Card Redundancy Not Present" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ccr_cpu_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CPU Card Redundancy OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: ccr_cpu_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CPU Card Redundancy Fault" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: ccr_cpu_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CPU Card Redundancy Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: ccr_cpu_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Slot: 2 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ccr_switch_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccrSwitchStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.105.1.2.1.1.3") - - label: ccr_switch_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrSwitchStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrSwitchStatusChange" - root.out.event.category.name = "Switch Card Redundancy Status" - root.out.object.name = "ccrSwitchEntry.2" - - label: ccr_switch_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ccr_switch_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Redundancy Not Present" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ccr_switch_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Redundancy OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: ccr_switch_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Redundancy Fault" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: ccr_switch_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Redundancy Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: ccr_switch_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Slot: 2 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ccr_switch_mode_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccrSwitchMode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.105.1.2.1.1.2") - - label: ccr_switch_mode_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrSwitchModeChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-C8500-REDUNDANCY-MIB-ccrSwitchModeChange" - root.out.event.category.name = "Switch Card Redundancy Mode" - root.out.object.name = "ccrSwitchEntry.2" - - label: ccr_switch_mode_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ccr_switch_mode_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card in Active Redundancy Mode" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ccr_switch_mode_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card in Standby Redundancy Mode" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: ccr_switch_mode_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Not Used for Redundancy" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: ccr_switch_mode_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Not Present" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: ccr_switch_mode_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Card Redundancy Mode Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: ccr_switch_mode_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Slot: 2 )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CALL-TRACKER-MIB-cctMIBNotifications.yml b/traps/rules/cisco/CISCO-CALL-TRACKER-MIB-cctMIBNotifications.yml deleted file mode 100644 index 639aa000..00000000 --- a/traps/rules/cisco/CISCO-CALL-TRACKER-MIB-cctMIBNotifications.yml +++ /dev/null @@ -1,56 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CALL-TRACKER-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cct_call_setup_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cctActiveSetupTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cctActiveCalledPartyId = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cctActiveCallingPartyId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.cctActiveCallCategory = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.163.1.2.3.1.13") - - label: cct_call_setup_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CALL-TRACKER-MIB-cctCallSetupNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CALL-TRACKER-MIB-cctCallSetupNotification" - root.out.event.category.name = "Call Status" - root.out.object.name = "cctActiveEntry.2" - root.out.event.message = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.163.1.2.3.1.13").string() + " Call Setup ( Called Party: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Calling Party: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cct_call_terminate_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cctHistoryCallId = this.trap.VarBinds.index(0).Value - - label: cct_call_terminate_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CALL-TRACKER-MIB-cctCallTerminateNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CALL-TRACKER-MIB-cctCallTerminateNotification" - root.out.event.category.name = "Call Status" - root.out.object.name = "cctActiveEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.object.name = "cctHistoryEntry.2" - root.out.event.message = "Call Terminated ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CALLHOME-MIB-ccmCallHomeNotifications.yml b/traps/rules/cisco/CISCO-CALLHOME-MIB-ccmCallHomeNotifications.yml deleted file mode 100644 index 4951929a..00000000 --- a/traps/rules/cisco/CISCO-CALLHOME-MIB-ccmCallHomeNotifications.yml +++ /dev/null @@ -1,109 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CALLHOME-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ccm_smtp_server_fail_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmSmtpServersPort = this.trap.VarBinds.index(0).Value - - label: ccm_smtp_server_fail_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmSmtpServerFailNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmSmtpServerFailNotif" - root.out.event.category.name = "SMTP Status" - root.out.object.name = "ccmSmtpServersEntry.." - root.out.event.message = "Failed to Send E-Mail Notification via SMTP ( SMTP Server: :" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ccm_alert_group_type_added_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.callHomeAlertGroupName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ccm_alert_group_type_added_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmAlertGroupTypeAddedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmAlertGroupTypeAddedNotif" - root.out.event.category.name = "Alert Group Type Status" - root.out.object.name = "callHomeAlertGroupTypeEntry.300" - root.out.event.message = "Alert Group Type Added ( Alert Group: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ccm_alert_group_type_deleted_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.callHomeAlertGroupName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ccm_alert_group_type_deleted_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmAlertGroupTypeDeletedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CALLHOME-MIB-ccmAlertGroupTypeDeletedNotif" - root.out.event.category.name = "Alert Group Type Status" - root.out.object.name = "callHomeAlertGroupTypeEntry.300" - root.out.event.message = "Alert Group Type Deleted ( Alert Group: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ccm_smtp_msg_send_fail_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ccm_event_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.ccmEventDescription = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmEventTime = this.trap.VarBinds.index(2).Value - root.out.cisco.ccmEventUrgencyLevel = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.300.1.8.3") - - label: ccm_event_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CCM-MIB-ccmMIBNotifications.yml b/traps/rules/cisco/CISCO-CCM-MIB-ccmMIBNotifications.yml deleted file mode 100644 index a666f276..00000000 --- a/traps/rules/cisco/CISCO-CCM-MIB-ccmMIBNotifications.yml +++ /dev/null @@ -1,290 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CCM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ccm_call_manager_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmFailCauseCode = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.2") - - label: ccm_call_manager_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmCallManagerFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmCallManagerFailed" - root.out.event.category.name = "CallManager Status" - root.out.object.name = "" - root.out.event.message = "CallManager " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.2").string() - - check: this.trap.SpecificTrap == 2 - processors: - - label: ccm_phone_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmPhoneFailures = this.trap.VarBinds.index(1).Value - - label: ccm_phone_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmPhoneFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmPhoneFailed" - root.out.event.category.name = "Phone(s) Status" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(1).Value.string() + "Phone(s) Failed to Register or Communicate with CallManager" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ccm_phone_status_update_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmPhoneUpdates = this.trap.VarBinds.index(1).Value - - label: ccm_phone_status_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmPhoneStatusUpdate" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmPhoneStatusUpdate" - root.out.event.category.name = "Phone(s) Status" - root.out.object.name = "" - root.out.event.message = $3Phone(s) Successfully Registered with CallManager" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ccm_gateway_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmGatewayName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmGatewayInetAddressType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.3.1.1.7") - root.out.cisco.ccmGatewayInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmGatewayFailCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.5") - - label: ccm_gateway_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmGatewayFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmGatewayFailed" - root.out.event.category.name = "Gateway Status" - root.out.object.name = "ccmGatewayEntry.4" - root.out.event.message = "Gateway Failed to Communicate with CallManager, " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.5").string() + " ( Gateway: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ccm_media_resource_list_exhausted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmMediaResourceType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.6") - root.out.cisco.ccmMediaResourceListName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ccm_media_resource_list_exhausted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmMediaResourceListExhausted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmMediaResourceListExhausted" - root.out.event.category.name = "Media Resource List Status" - root.out.object.name = "List: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = "CallManager " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.6").string() + " Media Resource List Exhausted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: ccm_route_list_exhausted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmRouteListName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: ccm_route_list_exhausted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmRouteListExhausted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmRouteListExhausted" - root.out.event.category.name = "Route List Status" - root.out.object.name = "List: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "CallManager Could Not Find Available Route in Route List ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: ccm_gateway_layer2change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmGatewayName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmGatewayInetAddressType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.3.1.1.7") - root.out.cisco.ccmGatewayInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmGatewayPhysIfIndex = this.trap.VarBinds.index(4).Value - root.out.cisco.ccmGatewayPhysIfL2Status = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.10") - - label: ccm_gateway_layer2change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmGatewayLayer2Change" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmGatewayLayer2Change" - root.out.event.category.name = "Gateway D-Channel/Layer 2 Status" - root.out.object.name = "ccmGatewayEntry.7, ccmGatewayPhysIfIndex: " + this.trap.VarBinds.index(4).Value.string() - - label: ccm_gateway_layer2change_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: ccm_gateway_layer2change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Gateway D-Channel/Layer 2 Status Unknown" - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: ccm_gateway_layer2change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Gateway D-Channel/Layer 2 Up" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: ccm_gateway_layer2change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Gateway D-Channel/Layer 2 Down" - - processors: - - label: ccm_gateway_layer2change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Gateway D-Channel/Layer 2 Status Unknown" - - label: ccm_gateway_layer2change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Gateway: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", ccmGatewayPhysIfIndex: " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: ccm_malicious_call_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmMaliCallCalledPartyName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallCalledPartyNumber = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallCalledDeviceName = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallCallingPartyName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallCallingPartyNumber = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallCallingDeviceName = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.cisco.ccmMaliCallTime = this.trap.VarBinds.index(7).Value.snmp_date_and_time().ts_unix_milli() - - label: ccm_malicious_call_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmMaliciousCall" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmMaliciousCall" - root.out.event.category.name = "Malicious Call" - root.out.object.name = "Called Party: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " ( Number: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + ", Device: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " ), Calling Party: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( Number: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", Device: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "Malicious Call Registered ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: ccm_quality_report_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmQualityRprtSourceDevName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmQualityRprtClusterId = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.ccmQualityRprtCategory = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmQualityRprtReasonCode = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.cisco.ccmQualityRprtTime = this.trap.VarBinds.index(5).Value.snmp_date_and_time().ts_unix_milli() - - label: ccm_quality_report_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmQualityReport" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCM-MIB-ccmQualityReport" - root.out.event.category.name = "Call Quality" - root.out.object.name = "Cluster: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + ", Device: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " Quality Problem Reported, " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: ccm_tlsconnection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmTLSDevName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmTLSDevInetAddressType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.24") - root.out.cisco.ccmTLSDevInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmTLSConnectionFailReasonCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.27") - root.out.cisco.ccmTLSConnFailTime = this.trap.VarBinds.index(5).Value.snmp_date_and_time().ts_unix_milli() - - label: ccm_tlsconnection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: ccm_gateway_failed_reason_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.1") - root.out.cisco.ccmGatewayName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ccmGatewayInetAddressType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.3.1.1.7") - root.out.cisco.ccmGatewayInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ccmGatewayRegFailCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.156.1.10.28") - - label: ccm_gateway_failed_reason_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CCME-MIB-ccmeMIBNotifications.yml b/traps/rules/cisco/CISCO-CCME-MIB-ccmeMIBNotifications.yml deleted file mode 100644 index 826bea69..00000000 --- a/traps/rules/cisco/CISCO-CCME-MIB-ccmeMIBNotifications.yml +++ /dev/null @@ -1,255 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CCME-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ccme_status_change_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeSysTrapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.439.1.1.49") - root.out.cisco.ccmeEnabled = this.trap.VarBinds.index(1).Value.bool() - root.out.cisco.ccmeSysNotificationReason = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: ccme_status_change_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeStatusChangeNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeStatusChangeNotif" - root.out.event.category.name = "CallManager Express Status" - root.out.object.name = "" - - label: ccme_status_change_notif_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value.bool().string() == 1 - processors: - - label: ccme_status_change_notif_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CallManager Express Enabled" - - check: this.trap.VarBinds.index(1).Value.bool().string() == 2 - processors: - - label: ccme_status_change_notif_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CallManager Express Disabled" - - processors: - - label: ccme_status_change_notif_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CallManager Express Status Unknown" - - label: ccme_status_change_notif_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 2 - processors: - - label: ccme_ephone_un_reg_threshold_exceed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneUnRegThreshold = this.trap.VarBinds.index(0).Value - - label: ccme_ephone_un_reg_threshold_exceed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEphoneUnRegThresholdExceed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEphoneUnRegThresholdExceed" - root.out.event.category.name = "Ephone Registration Threshold" - root.out.object.name = "" - root.out.event.message = "Unregistered Ephones Fell Below " + this.trap.VarBinds.index(0).Value.string() - - check: this.trap.SpecificTrap == 3 - processors: - - label: ccme_ephone_deceased_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneIpAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.ccmeEphoneRegState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.439.1.2.6.1.2") - - label: ccme_ephone_deceased_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEPhoneDeceased" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEPhoneDeceased" - root.out.event.category.name = "EPhone Registration Status" - root.out.object.name = "ccmeEphoneConfEntry.3" - root.out.event.message = "EPhone Registration Deceased, Keep-alive Timeout ( Ephone: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ccme_ephone_reg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneIpAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.ccmeEphoneTrapReason = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: ccme_ephone_reg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEPhoneRegFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEPhoneRegFailed" - root.out.event.category.name = "EPhone Registration Status" - root.out.object.name = "ccmeEphoneConfEntry4" - root.out.event.message = "EPhone Registration Failed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( Ephone: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ccme_ephone_login_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneIpAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.ccmeEphoneTrapReason = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: ccme_ephone_login_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEphoneLoginFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeEphoneLoginFailed" - root.out.event.category.name = "Ephone User Login Status" - root.out.object.name = "ccmeEphoneConfEntry5" - root.out.event.message = "Ephone User Login Rejected/Failed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( Ephone: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: ccme_night_service_change_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneTrapReason = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ccme_night_service_change_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeNightServiceChangeNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeNightServiceChangeNotif" - root.out.event.category.name = "Night Service Status" - root.out.object.name = "" - root.out.event.message = "Night Service Status Changed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 7 - processors: - - label: ccme_livefeed_moh_failed_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneTrapReason = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ccme_livefeed_moh_failed_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeLivefeedMohFailedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeLivefeedMohFailedNotif" - root.out.event.category.name = "MoH Live Feed Status" - root.out.object.name = "" - root.out.event.message = "Music-on-Hold Live Feed Failed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 8 - processors: - - label: ccme_max_conference_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneTrapReason = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ccme_max_conference_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeMaxConferenceNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeMaxConferenceNotif" - root.out.event.category.name = "Three-Party Conference Threshold" - root.out.object.name = "" - root.out.event.message = "Maximum Supported Number of Simultaneous Three-Party Conferences Exceeded" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 9 - processors: - - label: ccme_key_ephone_reg_change_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccmeEphoneIpAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.ccmeEphoneRegState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.439.1.2.6.1.2") - - label: ccme_key_ephone_reg_change_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeKeyEphoneRegChangeNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CCME-MIB-ccmeKeyEphoneRegChangeNotif" - root.out.event.category.name = "EPhone Registration Status" - root.out.object.name = "ccmeEphoneConfEntry.9" - - label: ccme_key_ephone_reg_change_notif_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: ccme_key_ephone_reg_change_notif_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "EPhone Registered" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: ccme_key_ephone_reg_change_notif_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "EPhone Unregistered" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: ccme_key_ephone_reg_change_notif_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "EPhone Registration Deceased, Keep-alive Timeout" - - processors: - - label: ccme_key_ephone_reg_change_notif_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "EPhone Registration Status Unknown" - - label: ccme_key_ephone_reg_change_notif_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Ephone: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CHANNEL-MIB-cipCardTraps.yml b/traps/rules/cisco/CISCO-CHANNEL-MIB-cipCardTraps.yml deleted file mode 100644 index cf21e61b..00000000 --- a/traps/rules/cisco/CISCO-CHANNEL-MIB-cipCardTraps.yml +++ /dev/null @@ -1,94 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CHANNEL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cip_card_link_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCardDtrBrdIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cipCardDtrBrdStatus = this.trap.VarBinds.index(1).Value.bool() - root.out.cisco.cipCardDtrBrdSignal = this.trap.VarBinds.index(2).Value.bool() - root.out.cisco.linkIncidentTrapCause = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.20.1.2.1.12") - root.out.cisco.implicitIncidents = this.trap.VarBinds.index(4).Value - root.out.cisco.codeViolationErrors = this.trap.VarBinds.index(5).Value - root.out.cisco.linkFailureSignalOrSyncLoss = this.trap.VarBinds.index(6).Value - root.out.cisco.linkFailureNOSs = this.trap.VarBinds.index(7).Value - root.out.cisco.linkFailureSequenceTimeouts = this.trap.VarBinds.index(8).Value - root.out.cisco.linkFailureInvalidSequences = this.trap.VarBinds.index(9).Value - - label: cip_card_link_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Link Failure" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Significant Link Event: Degraded Interface Line Quality" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cip_card_dtr_brd_link_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCardDtrBrdStatus = this.trap.VarBinds.index(0).Value.bool() - root.out.cisco.cipCardDtrBrdSignal = this.trap.VarBinds.index(1).Value.bool() - root.out.cisco.linkIncidentTrapCause = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.20.1.2.1.12") - - label: cip_card_dtr_brd_link_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Card Link Failure" - root.out.object.name = "1.5" - - label: cip_card_dtr_brd_link_failure_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value.bool().string() == 1 - processors: - - label: cip_card_dtr_brd_link_failure_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Board Loaded and Executing, Signal OK: lookup($3, linkIncidentTrapCause) ( Card.DtrBrd - - check: this.trap.VarBinds.index(1).Value.bool().string() == 2 - processors: - - label: cip_card_dtr_brd_link_failure_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Board Loaded and Executing, Signal Failure: lookup($3, linkIncidentTrapCause) ( Card.DtrBrd - - label: cip_card_dtr_brd_link_failure_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value.bool().string() == 1 - processors: - - label: cip_card_dtr_brd_link_failure_rules_3_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Board Failed, Signal OK: lookup($3, linkIncidentTrapCause) ( Card.DtrBrd - - check: this.trap.VarBinds.index(1).Value.bool().string() == 2 - processors: - - label: cip_card_dtr_brd_link_failure_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Board Failed, Signal Failure: lookup($3, linkIncidentTrapCause) ( Card.DtrBrd - - label: cip_card_dtr_brd_link_failure_rules_4 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CIPCMPC-MIB-cipCmpcNotifications.yml b/traps/rules/cisco/CISCO-CIPCMPC-MIB-cipCmpcNotifications.yml deleted file mode 100644 index 1cb9c32f..00000000 --- a/traps/rules/cisco/CISCO-CIPCMPC-MIB-cipCmpcNotifications.yml +++ /dev/null @@ -1,98 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CIPCMPC-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cip_cmpc_direction_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCmpcSubChannelAdminDirection = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.72.1.1.1.1.4") - - label: cip_cmpc_direction_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CIPCMPC-MIB-cipCmpcDirectionMismatch" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CIPCMPC-MIB-cipCmpcDirectionMismatch" - root.out.event.category.name = "CMPC Direction Mismatch" - root.out.object.name = "cipCmpcSubChannelAdminEntry.9.72.2" - root.out.event.message = "CMPC Subchannel Configured Direction, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.72.1.1.1.1.4").string() + ", Mismatch ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cip_cmpc_seq_num_error_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCmpcTgOperLastSeqNumFailureCause = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.72.1.2.1.1.2") - root.out.cisco.cipCmpcTgOperExpectedReceiveSeqNum = this.trap.VarBinds.index(1).Value - root.out.cisco.cipCmpcTgOperLastSeqNumReceived = this.trap.VarBinds.index(2).Value - - label: cip_cmpc_seq_num_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CIPCMPC-MIB-cipCmpcSeqNumError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CIPCMPC-MIB-cipCmpcSeqNumError" - root.out.event.category.name = "CMPC TG Sequence Number Status" - root.out.object.name = "cipCmpcTgOperEntry." - - label: cip_cmpc_seq_num_error_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cip_cmpc_seq_num_error_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMPC TG MPC Sequence Number Error Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cip_cmpc_seq_num_error_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMPC TG I/O Block MPC Sequence Number Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cip_cmpc_seq_num_error_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMPC TG Sweep Message MPC Sequence Number Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cip_cmpc_seq_num_error_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMPC TG MPC Sequence Number Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cip_cmpc_seq_num_error_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Transmission Group: $String )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CIPCSNA-MIB-cipCsnaNotifications.yml b/traps/rules/cisco/CISCO-CIPCSNA-MIB-cipCsnaNotifications.yml deleted file mode 100644 index a04bb0a8..00000000 --- a/traps/rules/cisco/CISCO-CIPCSNA-MIB-cipCsnaNotifications.yml +++ /dev/null @@ -1,50 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CIPCSNA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cip_csna_open_duplicate_sap_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCardCsnaSlot = this.trap.VarBinds.index(0).Value - root.out.cisco.cipCardCsnaPort = this.trap.VarBinds.index(1).Value - root.out.cisco.cipCardCsnaConnPath = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cipCardCsnaConnDevice = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cip_csna_open_duplicate_sap_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SAP Open" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = "VTAM Attempted to Open SAP, Already Open by Path/Device on this CMCC card ( Slot.Port.ConnPath.ConnDevice - - check: this.trap.SpecificTrap == 2 - processors: - - label: cip_csna_llc2connection_limit_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipCardAdminMaxLlc2Sessions = this.trap.VarBinds.index(0).Value - root.out.cisco.cipCardOperMaxLlc2Sessions = this.trap.VarBinds.index(1).Value - root.out.cisco.cipCardStatsHiWaterLlc2Sessions = this.trap.VarBinds.index(2).Value - root.out.cisco.cipCardStatsLlc2SessionAllocationErrs = this.trap.VarBinds.index(3).Value - - label: cip_csna_llc2connection_limit_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "LLC2 Connection" - root.out.object.name = "2" - root.out.event.message = "LLC2 Connection Limit ( AdminMax - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CLUSTER-MIB-ciscoClusterMIBNotifications.yml b/traps/rules/cisco/CISCO-CLUSTER-MIB-ciscoClusterMIBNotifications.yml deleted file mode 100644 index 7bb87087..00000000 --- a/traps/rules/cisco/CISCO-CLUSTER-MIB-ciscoClusterMIBNotifications.yml +++ /dev/null @@ -1,66 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CLUSTER-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cc_status_member_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccMemberOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.134.1.2.1.1.3") - - label: cc_status_member_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CLUSTER-MIB-ccStatusMemberStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CLUSTER-MIB-ccStatusMemberStatusChange" - root.out.event.category.name = "Cluster Member Status" - root.out.object.name = "ccMemberEntry." - - label: cc_status_member_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cc_status_member_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cluster Member Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cc_status_member_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cluster Member Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cc_status_member_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cluster Member Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cc_status_member_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Member MAC: )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix.yml b/traps/rules/cisco/CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix.yml index db06eb67..53960adc 100644 --- a/traps/rules/cisco/CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix.yml +++ b/traps/rules/cisco/CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix.yml @@ -51,7 +51,7 @@ root.out.event.class.name = "SNMPTRAP-CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix-ciscoConfigManEvent" root.out.event.id = "SNMPTRAP-CISCO-CONFIG-MAN-MIB-ciscoConfigManMIBNotificationPrefix-ciscoConfigManEvent" - root.out.event.category.name = "configuration management event " + root.out.event.category.name = "configuration management event" root.out.event.message = "configuration management via " + root.out.cisco.ccmHistoryEventCommandSource root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" diff --git a/traps/rules/cisco/CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineMIBNotifications.yml b/traps/rules/cisco/CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineMIBNotifications.yml deleted file mode 100644 index e99c99bd..00000000 --- a/traps/rules/cisco/CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineMIBNotifications.yml +++ /dev/null @@ -1,246 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-CONTENT-ENGINE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_content_engine_read_disk_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineReadDiskError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineReadDiskError" - root.out.event.category.name = "Content Engine Disk Status" - root.out.object.name = "" - root.out.event.message = "Content Engine Disk Read Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_content_engine_write_disk_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineWriteDiskError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineWriteDiskError" - root.out.event.category.name = "Content Engine Disk Status" - root.out.object.name = "" - root.out.event.message = "Content Engine Disk Write Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_content_engine_write_trans_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineWriteTransFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineWriteTransFailed" - root.out.event.category.name = "Content Engine Log Status" - root.out.object.name = "" - root.out.event.message = "Working Transaction Log Write Failed to /local1/working.log" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_content_engine_data_disk_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineDataDiskFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineDataDiskFailed" - root.out.event.category.name = "Content Engine Disk Status" - root.out.object.name = "" - root.out.event.message = "Content Engine Data Disk Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_content_engine_overload_bypass_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineOverloadBypass" - root.out.event.id = "SNMPTRAP-cisco-CISCO-CONTENT-ENGINE-MIB-ciscoContentEngineOverloadBypass" - root.out.event.category.name = "Content Engine Load" - root.out.object.name = "" - root.out.event.message = "Content Engine Overload Bypass, WCCP Requests are Rejected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_content_engine_disk_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceFailedDiskName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: cisco_content_engine_disk_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cce_alarm_critical_raised_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_critical_raised_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cce_alarm_critical_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_critical_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cce_alarm_major_raised_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_major_raised_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cce_alarm_major_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_major_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cce_alarm_minor_raised_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_minor_raised_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cce_alarm_minor_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cceAlarmHistId = this.trap.VarBinds.index(0).Value - root.out.cisco.cceAlarmHistModuleId = this.trap.VarBinds.index(1).Value - root.out.cisco.cceAlarmHistCategory = this.trap.VarBinds.index(2).Value - root.out.cisco.cceAlarmHistInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cceAlarmHistTimeStamp = this.trap.VarBinds.index(4).Value - - label: cce_alarm_minor_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DLSW-EXT-MIB-cdeTraps.yml b/traps/rules/cisco/CISCO-DLSW-EXT-MIB-cdeTraps.yml deleted file mode 100644 index d1dbfe0b..00000000 --- a/traps/rules/cisco/CISCO-DLSW-EXT-MIB-cdeTraps.yml +++ /dev/null @@ -1,270 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DLSW-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cde_trap_tconn_up_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dlswTConnOperState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.46.1.2.3.1.6") - - label: cde_trap_tconn_up_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DLSW-EXT-MIB-cdeTrapTConnUpDown" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DLSW-EXT-MIB-cdeTrapTConnUpDown" - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = "dlswTConnOperEntry." - - label: cde_trap_tconn_up_down_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cde_trap_tconn_up_down_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Connecting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cde_trap_tconn_up_down_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Initial Capability Exchange" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cde_trap_tconn_up_down_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cde_trap_tconn_up_down_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Quiescing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cde_trap_tconn_up_down_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Disconnecting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cde_trap_tconn_up_down_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Disconnected" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cde_trap_tconn_up_down_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Transport Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cde_trap_tconn_up_down_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cde_trap_circuit_up_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dlswCircuitState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.46.1.5.2.1.17") - - label: cde_trap_circuit_up_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DLSW-EXT-MIB-cdeTrapCircuitUpDown" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DLSW-EXT-MIB-cdeTrapCircuitUpDown" - root.out.event.category.name = "DLSw Circuit Status" - root.out.object.name = "dlswCircuitEntry." - - label: cde_trap_circuit_up_down_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cde_trap_circuit_up_down_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Disconnected" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cde_trap_circuit_up_down_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Starting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cde_trap_circuit_up_down_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Resolve Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cde_trap_circuit_up_down_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cde_trap_circuit_up_down_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cde_trap_circuit_up_down_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Connection Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cde_trap_circuit_up_down_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Contact Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cde_trap_circuit_up_down_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cde_trap_circuit_up_down_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Disconnect Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cde_trap_circuit_up_down_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Halt Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cde_trap_circuit_up_down_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Pending, No Acknowledge" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: cde_trap_circuit_up_down_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Restart" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: cde_trap_circuit_up_down_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Restart Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cde_trap_circuit_up_down_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DLSw Circuit Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cde_trap_circuit_up_down_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( S1 MAC: , S1 SAP: , S2 MAC: , S2 SAP: )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DLSW-MIB-ciscoDlswTraps.yml b/traps/rules/cisco/CISCO-DLSW-MIB-ciscoDlswTraps.yml deleted file mode 100644 index e31970f4..00000000 --- a/traps/rules/cisco/CISCO-DLSW-MIB-ciscoDlswTraps.yml +++ /dev/null @@ -1,118 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DLSW-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_dlsw_trap_tconn_partner_reject_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoDlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cisco_dlsw_trap_tconn_partner_reject_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Transport Connection Partner" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Transport Connection Rejected Partner DLSw during Capabilities Exchanges ( TransDomain - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_dlsw_trap_tconn_prot_violation_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoDlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cisco_dlsw_trap_tconn_prot_violation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Transport Connection Protocol" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Protocol Violation Detected for DLSw Transport Connection ( TransDomain - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_dlsw_trap_tconn_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoDlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cisco_dlsw_trap_tconn_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "DLSw Transport Connected ( TransDomain - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_dlsw_trap_tconn_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoDlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cisco_dlsw_trap_tconn_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "DLSw Transport Connection Disconnected ( TransDomain - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_dlsw_trap_circuit_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswCircuitS1Mac = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.ciscoDlswCircuitS1Sap = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ciscoDlswCircuitS2Mac = this.trap.VarBinds.index(2).Value.snmp_mac_address() - root.out.cisco.ciscoDlswCircuitS2Sap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_dlsw_trap_circuit_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Circuit Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(2).Value.snmp_mac_address().string() + "." + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = "DLSw Circuit Connected ( S1Mac - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_dlsw_trap_circuit_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoDlswCircuitS1Mac = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.ciscoDlswCircuitS1Sap = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.ciscoDlswCircuitS2Mac = this.trap.VarBinds.index(2).Value.snmp_mac_address() - root.out.cisco.ciscoDlswCircuitS2Sap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_dlsw_trap_circuit_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DLSw Circuit Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(2).Value.snmp_mac_address().string() + "." + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = "DLSw Circuit Disconnected ( S1Mac - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DM-MIB-dmNotification.yml b/traps/rules/cisco/CISCO-DM-MIB-dmNotification.yml deleted file mode 100644 index c444b7ce..00000000 --- a/traps/rules/cisco/CISCO-DM-MIB-dmNotification.yml +++ /dev/null @@ -1,89 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dm_domain_id_not_assigned_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cffFcFeElementName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dm_domain_id_not_assigned_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DM-MIB-dmDomainIdNotAssignedNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DM-MIB-dmDomainIdNotAssignedNotify" - root.out.event.category.name = "VSAN Domain ID Assignment" - root.out.object.name = "vsanEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "VSAN Domain ID Not Assigned" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN000" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN00" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: dm_new_principal_switch_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cffFcFeElementName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dm_new_principal_switch_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DM-MIB-dmNewPrincipalSwitchNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DM-MIB-dmNewPrincipalSwitchNotify" - root.out.event.category.name = "VSAN Principal Switch Status" - root.out.object.name = "vsanEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "New Principal Switch, WWN: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", on VSAN" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN000" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN00" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: dm_fabric_change_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(0).Value - - label: dm_fabric_change_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DM-MIB-dmFabricChangeNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DM-MIB-dmFabricChangeNotify" - root.out.event.category.name = "VSAN Fabric Build/ReConfigure" - root.out.object.name = "vsanEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "VSAN Received Build Fabric (BF) or ReConfigure Fabric (RCF) Message" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN000" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN00" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DOCS-EXT-MIB-ciscoDocsExtNotifications.yml b/traps/rules/cisco/CISCO-DOCS-EXT-MIB-ciscoDocsExtNotifications.yml deleted file mode 100644 index 58395fb5..00000000 --- a/traps/rules/cisco/CISCO-DOCS-EXT-MIB-ciscoDocsExtNotifications.yml +++ /dev/null @@ -1,589 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DOCS-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cdx_cmts_cm_on_off_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.docsIfCmtsCmStatusInetAddressType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.20") - root.out.cisco.docsIfCmtsCmStatusInetAddress = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.docsIfCmtsCmStatusDownChannelIfIndex = this.trap.VarBinds.index(3).Value - root.out.cisco.docsIfCmtsCmStatusUpChannelIfIndex = this.trap.VarBinds.index(4).Value - root.out.cisco.cdxCmCpeCmtsServiceId = this.trap.VarBinds.index(5).Value - root.out.cisco.cdxCmtsCmStatusValue = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.3.2.1.1") - - label: cdx_cmts_cm_on_off_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DOCS-EXT-MIB-cdxCmtsCmOnOffNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DOCS-EXT-MIB-cdxCmtsCmOnOffNotification" - root.out.event.category.name = "Cable Modem Status" - root.out.object.name = "docsIfCmtsCmStatusEntry." - - label: cdx_cmts_cm_on_off_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value.string() == 1 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Offline" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 2 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 3 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Ranging Received" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 4 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem DHCP Request Received" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 5 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Online, Network Access Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 6 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Online, KEK Assigned" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(5).Value.string() == 7 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Online, TEK Assigned" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(5).Value.string() == 8 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Rejected, Bad MIC" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 9 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Rejected, Bad COS" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 10 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem KEK modem key assignment rejected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 11 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem TEK modem key assignment rejected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 12 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Online" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(5).Value.string() == 13 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem TFTP File Transfer Started" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 14 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Time of Day Request" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 15 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_15 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Resetting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 16 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Ranging In Progress" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 17 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_17 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Ranging Completed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 18 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_18 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Assigned IP Address via DHCP" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.string() == 19 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_19 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Registration Refused, Stale Config" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 20 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_20 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Registration Refused, IP Spoof" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 21 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_21 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Registration Refused, Class Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 22 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_22 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Registration Failed, No Acknowledgement Recieved" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 23 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_23 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem KEK modem key assignment Expired" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 24 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_24 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem TEK modem key assignment Expired" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.string() == 25 - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_25 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Shutdown" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cdx_cmts_cm_on_off_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Cable Modem Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cdx_cmts_cm_on_off_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( CM MAC: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", CM IP: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.20").string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cdx_cmts_cm_ch_over_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cdxCmtsCmChOverMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.cdxCmtsCmChOverDownFrequency = this.trap.VarBinds.index(1).Value - root.out.cisco.cdxCmtsCmChOverUpChannelId = this.trap.VarBinds.index(2).Value - root.out.cisco.cdxCmtsCmChOverOpInitiatedTime = this.trap.VarBinds.index(3).Value - root.out.cisco.cdxCmtsCmChOverState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.3.5.1.7") - - label: cdx_cmts_cm_ch_over_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DOCS-EXT-MIB-cdxCmtsCmChOverNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DOCS-EXT-MIB-cdxCmtsCmChOverNotification" - root.out.event.category.name = "Channel Change Status" - root.out.object.name = "cdxCmtsCmChOverEntry." - root.out.event.message = "Cable Modem Channel Override" - - label: cdx_cmts_cm_ch_over_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Message Sent" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Command Not Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", No Operation Needed" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Modem Not Found" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Wait To Send Message" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Time Out" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cdx_cmts_cm_ch_over_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cdx_cmts_cm_ch_over_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( CM MAC: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cdx_cmts_cm_dmiclock_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - - label: cdx_cmts_cm_dmiclock_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cdx_wbresil_rfdown_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - - label: cdx_wbresil_rfdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cdx_wbresil_rfup_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - - label: cdx_wbresil_rfup_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cdx_wbresil_cmpartial_service_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.cisco.docsIfCmtsCmStatusDownChannelIfIndex = this.trap.VarBinds.index(2).Value - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - root.out.cisco.cdxWBResilUpdateTime = this.trap.VarBinds.index(4).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cdxWBResilCmImpairedDsChIndex = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cdx_wbresil_cmpartial_service_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cdx_wbresil_cmfull_service_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.cisco.docsIfCmtsCmStatusDownChannelIfIndex = this.trap.VarBinds.index(2).Value - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - root.out.cisco.cdxWBResilUpdateTime = this.trap.VarBinds.index(4).Value.snmp_date_and_time().ts_unix_milli() - - label: cdx_wbresil_cmfull_service_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cdx_wbresil_event_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.cdxWBResilEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.8") - root.out.cisco.cdxWBResilUpdateTime = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cdxWBResilEventTotalCount = this.trap.VarBinds.index(3).Value - root.out.cisco.cdxWBResilEventTotalDupCount = this.trap.VarBinds.index(4).Value - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - - label: cdx_wbresil_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cdx_wbresil_us_partial_service_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.cisco.docsIfCmtsCmStatusUpChannelIfIndex = this.trap.VarBinds.index(2).Value - root.out.cisco.cdxUsResilEventType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.12") - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - root.out.cisco.cdxWBResilUpdateTime = this.trap.VarBinds.index(5).Value.snmp_date_and_time().ts_unix_milli() - - label: cdx_wbresil_us_partial_service_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cdx_wbresil_us_full_service_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.cisco.docsIfCmtsCmStatusUpChannelIfIndex = this.trap.VarBinds.index(2).Value - root.out.cisco.cdxUsResilEventType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.12") - root.out.cisco.cdxWBResilEventLevel = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.116.1.5.7") - root.out.cisco.cdxWBResilUpdateTime = this.trap.VarBinds.index(5).Value.snmp_date_and_time().ts_unix_milli() - - label: cdx_wbresil_us_full_service_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DSP-MGMT-MIB-cdspMIBNotifications.yml b/traps/rules/cisco/CISCO-DSP-MGMT-MIB-cdspMIBNotifications.yml deleted file mode 100644 index 1d70e051..00000000 --- a/traps/rules/cisco/CISCO-DSP-MGMT-MIB-cdspMIBNotifications.yml +++ /dev/null @@ -1,159 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DSP-MGMT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cdsp_mibcard_state_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cdspCardState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.86.1.1.1.1.2") - - label: cdsp_mibcard_state_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DSP-MGMT-MIB-cdspMIBCardStateNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DSP-MGMT-MIB-cdspMIBCardStateNotification" - root.out.event.category.name = "DSP Card State" - root.out.object.name = "cdspCardStatusEntry.2" - - label: cdsp_mibcard_state_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cdsp_mibcard_state_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cdsp_mibcard_state_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Problem, Needs Attention" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cdsp_mibcard_state_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Major Alarm" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cdsp_mibcard_state_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Not Functional" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cdsp_mibcard_state_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Off-Line, in Maintenance State" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cdsp_mibcard_state_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DSP Card Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cdsp_mibcard_state_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cdsp_oper_state_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cdspOperState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.86.1.2.1.1.1") - root.out.cisco.entPhysicalName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cdsp_oper_state_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cdsp_video_usage_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cdspCardVideoPoolUtilization = this.trap.VarBinds.index(0).Value - root.out.cisco.cdspCardVideoPoolUtilizationThreshold = this.trap.VarBinds.index(1).Value - - label: cdsp_video_usage_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cdsp_video_out_of_resource_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cdspCardVideoPoolUtilization = this.trap.VarBinds.index(0).Value - root.out.cisco.cdspCardVideoPoolUtilizationThreshold = this.trap.VarBinds.index(1).Value - - label: cdsp_video_out_of_resource_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DSPU-MIB-dspuLuTraps.yml b/traps/rules/cisco/CISCO-DSPU-MIB-dspuLuTraps.yml deleted file mode 100644 index 1f15c8af..00000000 --- a/traps/rules/cisco/CISCO-DSPU-MIB-dspuLuTraps.yml +++ /dev/null @@ -1,77 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DSPU-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dspu_lu_state_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuLuOperLuLocalAddress = this.trap.VarBinds.index(1).Value - root.out.cisco.dspuLuOperState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.5.2.1.6") - - label: dspu_lu_state_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1 - processors: - - label: newdspu_lu_state_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuLuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.5.2.1.6") - - label: newdspu_lu_state_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: dspu_lu_activation_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuLuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.5.2.1.6") - root.out.cisco.dspuLuOperLastActivationFailureReason = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.5.2.1.9") - - label: dspu_lu_activation_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DSPU-MIB-dspuPuTraps.yml b/traps/rules/cisco/CISCO-DSPU-MIB-dspuPuTraps.yml deleted file mode 100644 index f91b2c2b..00000000 --- a/traps/rules/cisco/CISCO-DSPU-MIB-dspuPuTraps.yml +++ /dev/null @@ -1,234 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DSPU-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dspu_pu_state_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuPuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.2.1.18") - - label: dspu_pu_state_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuStateChangeTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuStateChangeTrap" - root.out.event.category.name = "Physical Unit Status" - root.out.object.name = "dspuPuOperEntry.4" - - label: dspu_pu_state_change_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: dspu_pu_state_change_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: dspu_pu_state_change_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: dspu_pu_state_change_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: dspu_pu_state_change_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( PU: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: dspu_pu_activation_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuPuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.2.1.18") - root.out.cisco.dspuPuStatsLastActivationFailureReason = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11") - - label: dspu_pu_activation_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuActivationFailureTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuActivationFailureTrap" - root.out.event.category.name = "Physical Unit Status" - root.out.object.name = "dspuPuOperEntry.4" - - label: dspu_pu_activation_failure_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: dspu_pu_activation_failure_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Active, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: dspu_pu_activation_failure_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Inactive, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: dspu_pu_activation_failure_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Status Unknown, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: dspu_pu_activation_failure_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( PU: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 1 - processors: - - label: newdspu_pu_state_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuPuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.2.1.18") - - label: newdspu_pu_state_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuStateChangeTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuStateChangeTrap" - root.out.event.category.name = "Physical Unit Status" - root.out.object.name = "dspuPuOperEntry.4" - - label: newdspu_pu_state_change_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: newdspu_pu_state_change_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: newdspu_pu_state_change_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: newdspu_pu_state_change_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: newdspu_pu_state_change_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( PU: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: newdspu_pu_activation_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuPuOperName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.dspuPuOperState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.2.1.18") - root.out.cisco.dspuPuStatsLastActivationFailureReason = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11") - - label: newdspu_pu_activation_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuActivationFailureTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-DSPU-MIB-newdspuPuActivationFailureTrap" - root.out.event.category.name = "Physical Unit Status" - root.out.object.name = "dspuPuOperEntry.4" - - label: newdspu_pu_activation_failure_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: newdspu_pu_activation_failure_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Active, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: newdspu_pu_activation_failure_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Unit Inactive, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: newdspu_pu_activation_failure_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "DownStream Physical Status Unknown, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.4.3.1.11").string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: newdspu_pu_activation_failure_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( PU: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-DSPU-MIB-dspuSapTraps.yml b/traps/rules/cisco/CISCO-DSPU-MIB-dspuSapTraps.yml deleted file mode 100644 index a20d7bc3..00000000 --- a/traps/rules/cisco/CISCO-DSPU-MIB-dspuSapTraps.yml +++ /dev/null @@ -1,36 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-DSPU-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dspu_sap_state_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.dspuSapDlcType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.6.1.1.3") - root.out.cisco.dspuSapDlcUnit = this.trap.VarBinds.index(1).Value - root.out.cisco.dspuSapDlcPort = this.trap.VarBinds.index(2).Value - root.out.cisco.dspuSapAddress = this.trap.VarBinds.index(3).Value - root.out.cisco.dspuSapOperState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.24.1.6.1.1.6") - - label: dspu_sap_state_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ENTITY-FRU-CONTROL-MIB-cefcMIBNotifications.yml b/traps/rules/cisco/CISCO-ENTITY-FRU-CONTROL-MIB-cefcMIBNotifications.yml deleted file mode 100644 index ba0fff35..00000000 --- a/traps/rules/cisco/CISCO-ENTITY-FRU-CONTROL-MIB-cefcMIBNotifications.yml +++ /dev/null @@ -1,555 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ENTITY-FRU-CONTROL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cefc_module_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cefcModuleOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.2.1.1.2") - root.out.cisco.cefcModuleStatusLastChangeTime = this.trap.VarBinds.index(1).Value - - label: cefc_module_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcModuleStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcModuleStatusChange" - root.out.event.category.name = "Module Status" - root.out.object.name = "cefcModuleEntry.2" - - label: cefc_module_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cefc_module_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cefc_module_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Operational" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cefc_module_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Administratively Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cefc_module_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Operational, but Failed Diagnostics" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cefc_module_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Booting, Bringing Up Image" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cefc_module_status_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Performing Self-Test" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cefc_module_status_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cefc_module_status_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Provisioned, but Missing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cefc_module_status_change_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Not Compatible with Parent" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cefc_module_status_change_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Not Compatible with Current Configuration" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cefc_module_status_change_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Diagnostic Test Failed, Hardware Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: cefc_module_status_change_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Dormant, Waiting for External or Internal Event" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: cefc_module_status_change_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Out of Service, Administratively" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: cefc_module_status_change_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Out Of Service, Environmental Temperature Problem" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 15 - processors: - - label: cefc_module_status_change_rules_2_15 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Powered Down" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 16 - processors: - - label: cefc_module_status_change_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Powered Up" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 17 - processors: - - label: cefc_module_status_change_rules_2_17 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Power Denied" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 18 - processors: - - label: cefc_module_status_change_rules_2_18 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Power Cycled" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 19 - processors: - - label: cefc_module_status_change_rules_2_19 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module OK, but Power over Warning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 20 - processors: - - label: cefc_module_status_change_rules_2_20 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module OK, but Power over Critical" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cefc_module_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cefc_module_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cefc_power_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cefcFRUPowerOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.1.2.1.2") - root.out.cisco.cefcFRUPowerAdminStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.1.2.1.1") - - label: cefc_power_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcPowerStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcPowerStatusChange" - root.out.event.category.name = "FRU Power Status" - root.out.object.name = "cefcFRUPowerStatusEntry.2" - - label: cefc_power_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cefc_power_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered Off" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cefc_power_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered On" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cefc_power_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Administratively Powered Off" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cefc_power_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered Off, Insufficient System Power" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cefc_power_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered Off, Internal Power Problem" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cefc_power_status_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered Off, Temperature Problem" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cefc_power_status_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered Off, Fan Problem" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cefc_power_status_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cefc_power_status_change_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Powered On, but Fan Failed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cefc_power_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "FRU Power Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cefc_power_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cefc_fruinserted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalContainedIn = this.trap.VarBinds.index(0).Value - - label: cefc_fruinserted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFRUInserted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFRUInserted" - root.out.event.category.name = "FRU Insert/Remove" - root.out.object.name = "entPhysicalEntry.2" - root.out.event.message = "FRU Inserted ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cefc_fruremoved_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalContainedIn = this.trap.VarBinds.index(0).Value - - label: cefc_fruremoved_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFRURemoved" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFRURemoved" - root.out.event.category.name = "FRU Insert/Remove" - root.out.object.name = "entPhysicalEntry.2" - root.out.event.message = "FRU Removed ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cefc_unrecognized_fru_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalClass = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.47.1.1.1.1.5") - root.out.cisco.entPhysicalVendorType = this.trap.VarBinds.index(1).Value - root.out.cisco.entPhysicalName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.entPhysicalModelName = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cefcPhysicalStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.5.1.1.1") - - label: cefc_unrecognized_fru_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcUnrecognizedFRU" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcUnrecognizedFRU" - root.out.event.category.name = "FRU Insert/Remove" - root.out.object.name = "cefcPhysicalEntry.2" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.47.1.1.1.1.5").string() + " FRU Inserted, Product ID Not Supported" - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cefc_fan_tray_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cefcFanTrayOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.4.1.1.1") - - label: cefc_fan_tray_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFanTrayStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-FRU-CONTROL-MIB-cefcFanTrayStatusChange" - root.out.event.category.name = "Fan Tray Status" - root.out.object.name = "cefcFanTrayStatusEntry.2" - - label: cefc_fan_tray_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cefc_fan_tray_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Tray Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cefc_fan_tray_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Tray Powered On" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cefc_fan_tray_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Tray Powered Down" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cefc_fan_tray_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Tray Partial Failure, Needs Replacement ASAP" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cefc_fan_tray_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Tray Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cefc_fan_tray_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cefc_power_supply_output_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.entPhysicalModelName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cefcPSOutputModeCurrent = this.trap.VarBinds.index(2).Value - - label: cefc_power_supply_output_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cefc_vm_module_status_change_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cefcVmModuleOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.117.1.2.1.1.9") - root.out.cisco.cefcVmModuleStatusLastChangeTime = this.trap.VarBinds.index(1).Value - - label: cefc_vm_module_status_change_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ENTITY-SENSOR-MIB-entitySensorMIBNotifications.yml b/traps/rules/cisco/CISCO-ENTITY-SENSOR-MIB-entitySensorMIBNotifications.yml deleted file mode 100644 index 2d41a9fe..00000000 --- a/traps/rules/cisco/CISCO-ENTITY-SENSOR-MIB-entitySensorMIBNotifications.yml +++ /dev/null @@ -1,33 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ENTITY-SENSOR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ent_sensor_threshold_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entSensorThresholdValue = this.trap.VarBinds.index(0).Value - root.out.cisco.entSensorValue = this.trap.VarBinds.index(1).Value - - label: ent_sensor_threshold_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ENTITY-SENSOR-MIB-entSensorThresholdNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ENTITY-SENSOR-MIB-entSensorThresholdNotification" - root.out.event.category.name = "Entity Sensor Threshold" - root.out.object.name = "entSensorThresholdEntry.91.2" - root.out.event.message = "Entity Sensor Value, " + this.trap.VarBinds.index(1).Value.string() + ", Crossed " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsEChannel.yml b/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsEChannel.yml deleted file mode 100644 index 1ed22298..00000000 --- a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsEChannel.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ES-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_es_ether_channel_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoEsECPorts = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cisco_es_ether_channel_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsPort.yml b/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsPort.yml deleted file mode 100644 index cc0986a3..00000000 --- a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsPort.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ES-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_es_port_str_nfwd_entry_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoEsPortActiveMode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.14.4.1.1.37") - - label: cisco_es_port_str_nfwd_entry_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsStack.yml b/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsStack.yml deleted file mode 100644 index f0e9fb67..00000000 --- a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsStack.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ES-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_es_stack_temp_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoEsStackSwitchTemperature = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.14.2.1.1.8") - - label: cisco_es_stack_temp_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsVLANs.yml b/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsVLANs.yml deleted file mode 100644 index df8756b5..00000000 --- a/traps/rules/cisco/CISCO-ES-STACK-MIB-ciscoEsVLANs.yml +++ /dev/null @@ -1,52 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ES-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_es_vlannew_root_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoEsVLANInfoVLANNumber = this.trap.VarBinds.index(0).Value - - label: cisco_es_vlannew_root_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_es_vlantopology_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoEsVLANInfoVLANNumber = this.trap.VarBinds.index(0).Value - - label: cisco_es_vlantopology_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FC-FE-MIB-cffFcFeNotifications.yml b/traps/rules/cisco/CISCO-FC-FE-MIB-cffFcFeNotifications.yml deleted file mode 100644 index ed25a4c0..00000000 --- a/traps/rules/cisco/CISCO-FC-FE-MIB-cffFcFeNotifications.yml +++ /dev/null @@ -1,119 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FC-FE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fc_trunk_if_down_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcTrunkIfOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.289.1.1.3.1.1") - root.out.cisco.fcTrunkIfOperStatusCause = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.289.1.1.3.1.2") - root.out.cisco.fcTrunkIfOperStatusCauseDescr = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: fc_trunk_if_down_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcTrunkIfDownNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcTrunkIfDownNotify" - root.out.event.category.name = "FC Trunk Interface Status" - root.out.object.name = "fcTrunkIfEntry.1.3" - root.out.event.message = "Fibre Channel Trunk Interface Down, " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.289.1.1.3.1.2").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: fc_trunk_if_up_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcTrunkIfOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.289.1.1.3.1.1") - root.out.cisco.fcTrunkIfOperStatusCause = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.289.1.1.3.1.2") - root.out.cisco.fcTrunkIfOperStatusCauseDescr = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: fc_trunk_if_up_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcTrunkIfUpNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcTrunkIfUpNotify" - root.out.event.category.name = "FC Trunk Interface Status" - root.out.object.name = "fcTrunkIfEntry.1.3" - root.out.event.message = "Fibre Channel Trunk Interface Up ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fc_if_elp_reject_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcIfElpNbrNodeName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcIfElpNbrPortName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.fcIfElpRejectReasonCode = this.trap.VarBinds.index(2).Value - root.out.cisco.fcIfElpRejectReasonCodeExpl = this.trap.VarBinds.index(3).Value - - label: fc_if_elp_reject_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcIfElpReject" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FC-FE-MIB-fcIfElpReject" - root.out.event.category.name = "Exchange Link Parameters Status" - root.out.object.name = "fcIfElpEntry.3" - root.out.event.message = "Exchange Link Parameters Request Rejected ( Peer: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ", Peer Port: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: fcot_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cieIfOperStatusCause = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.276.1.1.2.1.9") - - label: fcot_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: fcot_removed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cieIfOperStatusCause = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.276.1.1.2.1.9") - - label: fcot_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FCC-MIB-ciscoFCCMIBNotifs.yml b/traps/rules/cisco/CISCO-FCC-MIB-ciscoFCCMIBNotifs.yml index da31fc71..86a71f2c 100644 --- a/traps/rules/cisco/CISCO-FCC-MIB-ciscoFCCMIBNotifs.yml +++ b/traps/rules/cisco/CISCO-FCC-MIB-ciscoFCCMIBNotifs.yml @@ -87,7 +87,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCC-MIB-ciscoFCCCongestionRateLimitStart" root.out.event.id = "SNMPTRAP-cisco-CISCO-FCC-MIB-ciscoFCCCongestionRateLimitStart" root.out.event.category.name = "Fibre Channel Port Rate Limit Status" - root.out.object.name = "Port: ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", VSAN: vsanEntry. " + this.trap.VarBinds.index(3).Value.string() + ", Src: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", Dest: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.object.name = "Port: ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", VSAN: vsanEntry. " + this.trap.VarBinds.index(3).Value.string() + ", Src: " + this.trap.VarBinds.index(1).Value.snmp_octet_string() + ", Dest: " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = "Fibre Channel Port Rate Limiting Started ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -110,7 +110,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCC-MIB-ciscoFCCCongestionRateLimitEnd" root.out.event.id = "SNMPTRAP-cisco-CISCO-FCC-MIB-ciscoFCCCongestionRateLimitEnd" root.out.event.category.name = "Fibre Channel Port Rate Limit Status" - root.out.object.name = "Port: ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", VSAN: vsanEntry. " + this.trap.VarBinds.index(3).Value.string() + ", Src: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", Dest: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.object.name = "Port: ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", VSAN: vsanEntry. " + this.trap.VarBinds.index(3).Value.string() + ", Src: " + this.trap.VarBinds.index(1).Value.snmp_octet_string() + ", Dest: " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = "Fibre Channel Port Rate Limiting Stopped ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" diff --git a/traps/rules/cisco/CISCO-FCPING-MIB-fcPingNotifications.yml b/traps/rules/cisco/CISCO-FCPING-MIB-fcPingNotifications.yml deleted file mode 100644 index 14755a38..00000000 --- a/traps/rules/cisco/CISCO-FCPING-MIB-fcPingNotifications.yml +++ /dev/null @@ -1,41 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FCPING-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fc_ping_completion_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcPingAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcPingTxPackets = this.trap.VarBinds.index(1).Value - root.out.cisco.fcPingRxPackets = this.trap.VarBinds.index(2).Value - - label: fc_ping_completion_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCPING-MIB-fcPingCompletionNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FCPING-MIB-fcPingCompletionNotify" - root.out.event.category.name = "Fibre Channel Ping Status" - root.out.object.name = "fcPingEntry.3" - root.out.event.message = "Fibre Channel Ping Successful, Received " + this.trap.VarBinds.index(2).Value.string() + " of " + this.trap.VarBinds.index(1).Value.string() + "Sent Packets" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.message = "Fibre Channel Ping Failed, Received " + this.trap.VarBinds.index(2).Value.string() + " of " + this.trap.VarBinds.index(1).Value.string() + "Sent Packets" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "Fibre Channel Ping Errors, Received " + this.trap.VarBinds.index(2).Value.string() + " of " + this.trap.VarBinds.index(1).Value.string() + "Sent Packets" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FCS-MIB-fcsNotifications.yml b/traps/rules/cisco/CISCO-FCS-MIB-fcsNotifications.yml deleted file mode 100644 index 7be3f50d..00000000 --- a/traps/rules/cisco/CISCO-FCS-MIB-fcsNotifications.yml +++ /dev/null @@ -1,74 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FCS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fcs_req_rej_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcsRejReasonCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.297.1.3.1") - root.out.cisco.fcsRejReasonCodeExplanation = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.297.1.3.2") - - label: fcs_req_rej_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCS-MIB-fcsReqRejNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FCS-MIB-fcsReqRejNotify" - root.out.event.category.name = "FCS Request Status" - root.out.object.name = "" - root.out.event.message = "Fabric Configuration Server Request Rejected, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.297.1.3.1").string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: fcs_discovery_complete_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcsVsanDiscoveryName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: fcs_discovery_complete_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCS-MIB-fcsDiscoveryCompleteNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FCS-MIB-fcsDiscoveryCompleteNotify" - root.out.event.category.name = "Discovery Cycle Status" - root.out.object.name = "Discovery: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - root.out.event.message = "Discover Cycle Complete ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fcs_mgmt_addr_change_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcsMgmtAddrChangeVsanIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.fcsMgmtAddrChangeIeName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: fcs_mgmt_addr_change_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FCTRACEROUTE-MIB-fcTraceRouteNotifications.yml b/traps/rules/cisco/CISCO-FCTRACEROUTE-MIB-fcTraceRouteNotifications.yml deleted file mode 100644 index 190020c3..00000000 --- a/traps/rules/cisco/CISCO-FCTRACEROUTE-MIB-fcTraceRouteNotifications.yml +++ /dev/null @@ -1,97 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FCTRACEROUTE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fc_trace_route_completion_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcTraceRouteTargetAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcTraceRouteOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.296.1.1.1.1.7") - - label: fc_trace_route_completion_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FCTRACEROUTE-MIB-fcTraceRouteCompletionNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FCTRACEROUTE-MIB-fcTraceRouteCompletionNotify" - root.out.event.category.name = "Fibre Channel Traceroute Status" - root.out.object.name = "fcTraceRouteEntry.3" - - label: fc_trace_route_completion_notify_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: fc_trace_route_completion_notify_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute In Progress" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_trace_route_completion_notify_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute Successful" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_trace_route_completion_notify_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute Partially Successful" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_trace_route_completion_notify_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_trace_route_completion_notify_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: fc_trace_route_completion_notify_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fibre Channel Traceroute Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: fc_trace_route_completion_notify_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FIREWALL-MIB-ciscoFirewallMIBNotifications.yml b/traps/rules/cisco/CISCO-FIREWALL-MIB-ciscoFirewallMIBNotifications.yml deleted file mode 100644 index 8fe52b63..00000000 --- a/traps/rules/cisco/CISCO-FIREWALL-MIB-ciscoFirewallMIBNotifications.yml +++ /dev/null @@ -1,150 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FIREWALL-MIB" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: cfw_security_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicSecurityEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.3") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_security_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Security" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwSecurityEvent) (see Details)" - - label: cfw_security_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: cfw_content_inspect_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicContentInspEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.4") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_content_inspect_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Content Inspection" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwContentInspectionEvent) (see Details)" - - label: cfw_content_inspect_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: cfw_conn_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicConnectionEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.5") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_conn_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Connection" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwConnectionEvent) (see Details)" - - label: cfw_conn_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: cfw_access_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicAccessEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.6") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_access_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Access" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwAccessEvent) (see Details)" - - label: cfw_access_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 6 - processors: - - label: cfw_auth_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicAuthenticationEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.7") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_auth_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Authentication" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwAuthenticationEvent) (see Details)" - - label: cfw_auth_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 7 - processors: - - label: cfw_generic_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cfwBasicEventTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.cisco.cfwBasicGenericEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.147.1.1.1.2.1.8") - root.out.cisco.cfwBasicEventDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cfwBasicEventDetailsTableRow = this.trap.VarBinds.index(3).Value - - label: cfw_generic_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FW-Generic" - root.out.object.name = "2" - root.out.event.message = "FIREWALL: lookup($2, ciscoFwGenericEvent) (see Details)" - - label: cfw_generic_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-FLASH-MIB-ciscoFlashMIBTraps.yml b/traps/rules/cisco/CISCO-FLASH-MIB-ciscoFlashMIBTraps.yml deleted file mode 100644 index 05f7ea47..00000000 --- a/traps/rules/cisco/CISCO-FLASH-MIB-ciscoFlashMIBTraps.yml +++ /dev/null @@ -1,776 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-FLASH-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_flash_copy_completion_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashCopyStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.10.1.2.1.1.8") - - label: cisco_flash_copy_completion_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashCopyCompletionTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashCopyCompletionTrap" - root.out.event.category.name = "Flash Copy Status" - root.out.object.name = "ciscoFlashCopyEntry.3" - - label: cisco_flash_copy_completion_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Completed Successfully" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Command" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Protocol" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Source Filename" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Target Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Server Address" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Device In Use and Locked" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Device Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Device Read/Write/Erase Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Read-Only Device" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Device Full" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Invalid Filename" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, File Transfer Unsuccessful, Network Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 15 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_15 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, File Checksum Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 16 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, System Low on Memory" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 17 - processors: - - label: cisco_flash_copy_completion_trap_rules_2_17 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Failure, Unknown" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_flash_copy_completion_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Copy Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_flash_copy_completion_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_flash_partitioning_completion_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashPartitioningStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.10.1.2.2.1.6") - - label: cisco_flash_partitioning_completion_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashPartitioningCompletionTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashPartitioningCompletionTrap" - root.out.event.category.name = "Flash Partitioning Status" - root.out.object.name = "ciscoFlashPartitioningEntry.3" - - label: cisco_flash_partitioning_completion_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Completed Successfully" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Invalid Command" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Invalid Target Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Invalid Partition Count" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Invalid Partition Size" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Device In Use and Locked" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Invalid Device Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Device Read/Write/Erase Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, System Low on Memory" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Failed, Unknown" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_flash_partitioning_completion_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Partitioning Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_flash_partitioning_completion_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_flash_misc_op_completion_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashMiscOpStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.10.1.2.3.1.4") - - label: cisco_flash_misc_op_completion_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashMiscOpCompletionTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashMiscOpCompletionTrap" - root.out.event.category.name = "Flash Operation Status" - root.out.object.name = "ciscoFlashMiscOpEntry.3" - - label: cisco_flash_misc_op_completion_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Completed Successfully" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Invalid Command" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Invalid Target Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Device In Use and Locked" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Invalid Device Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Device Read/Write/Erase Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Read-Only Device" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Invalid Filename" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Delete Failed, Delete Count exceeded" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Undeleted Failed, Undelete Count Exceeded" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, File Checksum Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, System Low on Memory" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Unknown" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 18 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_18 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Squeeze Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 19 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_19 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, File Does Not Exist" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 20 - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_20 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Failed, Format Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_flash_misc_op_completion_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Flash Operation Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_flash_misc_op_completion_trap_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_flash_device_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSize = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceChangeTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceChangeTrap" - root.out.event.category.name = "Flash Device Status" - root.out.object.name = "ciscoFlashDeviceEntry.3" - root.out.event.message = "Removable Flash Device Inserted/Removed" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_flash_device_inserted_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSize = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_inserted_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceInsertedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceInsertedNotif" - root.out.event.category.name = "Flash Device Status" - root.out.object.name = "ciscoFlashDeviceEntry.3" - root.out.event.message = "Removable Flash Device Inserted ( Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_flash_device_removed_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cisco_flash_device_removed_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceRemovedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-FLASH-MIB-ciscoFlashDeviceRemovedNotif" - root.out.event.category.name = "Flash Device Status" - root.out.object.name = "ciscoFlashDeviceEntry.3" - root.out.event.message = "Removable Flash Device Removed ( Device: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cisco_flash_device_inserted_notif_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSize = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceNameExtended = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_inserted_notif_rev1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cisco_flash_device_removed_notif_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceNameExtended = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cisco_flash_device_removed_notif_rev1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cisco_flash_partition_low_space_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashPartitionName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.ciscoFlashPartitionFreeSpaceExtended = this.trap.VarBinds.index(1).Value - root.out.cisco.ciscoFlashPartitionLowSpaceNotifThreshold = this.trap.VarBinds.index(2).Value - - label: cisco_flash_partition_low_space_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cisco_flash_partition_low_space_recovery_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashPartitionName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.ciscoFlashPartitionFreeSpaceExtended = this.trap.VarBinds.index(1).Value - root.out.cisco.ciscoFlashPartitionLowSpaceNotifThreshold = this.trap.VarBinds.index(2).Value - - label: cisco_flash_partition_low_space_recovery_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cisco_flash_device_change_ext_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSizeExtended = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceNameExtended = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_change_ext_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cisco_flash_device_inserted_ext_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSizeExtended = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceNameExtended = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_inserted_ext_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cisco_flash_device_removed_ext_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoFlashDeviceMinPartitionSizeExtended = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoFlashDeviceNameExtended = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_flash_device_removed_ext_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-GATEKEEPER-MIB-ciscoGatekeeperMIBNotifications.yml b/traps/rules/cisco/CISCO-GATEKEEPER-MIB-ciscoGatekeeperMIBNotifications.yml deleted file mode 100644 index d9bfe3f6..00000000 --- a/traps/rules/cisco/CISCO-GATEKEEPER-MIB-ciscoGatekeeperMIBNotifications.yml +++ /dev/null @@ -1,109 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-GATEKEEPER-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_gatekeeper_event_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgkHistoryEventType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.2") - root.out.cisco.cgkHistoryEventEndpointType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.5") - root.out.cisco.cgkHistoryEventEndpointAddrTag = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.6") - root.out.cisco.cgkHistoryEventEndpointAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cgkHistoryEventEndpointH323id = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cisco_gatekeeper_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-GATEKEEPER-MIB-ciscoGatekeeperEvent" - root.out.event.id = "SNMPTRAP-cisco-CISCO-GATEKEEPER-MIB-ciscoGatekeeperEvent" - root.out.event.category.name = "H.323 GateKeeper Status" - root.out.object.name = "cgkHistoryEventEntry.2" - - label: cisco_gatekeeper_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_gatekeeper_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "H.323 GateKeeper Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_gatekeeper_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "H.323 Endpoint Registration" - root.out.object.name = "Endpoint: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().replace_all("\\s+$", "") - root.out.object.name = root.out.object.name + ", H.323 ID: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - root.out.event.message = "H.323 " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.5").string() + " Registered with GateKeeper" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_gatekeeper_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "H.323 Endpoint Registration" - root.out.object.name = "Endpoint: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().replace_all("\\s+$", "") - root.out.object.name = root.out.object.name + ", H.323 ID: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - root.out.event.message = "H.323 " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.5").string() + " Unregistered with GateKeeper" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_gatekeeper_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "H.323 Endpoint Registration" - root.out.object.name = "Endpoint: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().replace_all("\\s+$", "") - root.out.object.name = root.out.object.name + ", H.323 ID: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - root.out.event.message = "H.323 " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.40.1.2.2.1.5").string() + " Unregister Forced by GateKeeper" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_gatekeeper_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "H.323 GateKeeper Sustained Overload, Calls Rejected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_gatekeeper_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "H.323 GateKeeper Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_gatekeeper_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-GPRS-GTP-MIB-ciscoGprsGtpNotifs.yml b/traps/rules/cisco/CISCO-GPRS-GTP-MIB-ciscoGprsGtpNotifs.yml index 05561417..d2b14516 100644 --- a/traps/rules/cisco/CISCO-GPRS-GTP-MIB-ciscoGprsGtpNotifs.yml +++ b/traps/rules/cisco/CISCO-GPRS-GTP-MIB-ciscoGprsGtpNotifs.yml @@ -19,7 +19,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpGSNPathFailedNotif" root.out.event.id = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpGSNPathFailedNotif" root.out.event.category.name = "GSN Peer Status" - root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string() root.out.event.message = "GSN Peer Failed to Respond to GTP 'Echo Request' Message ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -39,7 +39,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpGSNPathRecoveredNotif" root.out.event.id = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpGSNPathRecoveredNotif" root.out.event.category.name = "GSN Peer Status" - root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string() root.out.event.message = "GSN Peer Responded to GTP 'Echo Request' Message ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" @@ -61,9 +61,9 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpPDPCxtActivationRejNotif" root.out.event.id = "SNMPTRAP-cisco-CISCO-GPRS-GTP-MIB-cgprsGtpPDPCxtActivationRejNotif" root.out.event.category.name = "PDP Context Status" - root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", TID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + root.out.object.name = "Peer: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", TID: " + this.trap.VarBinds.index(1).Value.snmp_display_string() root.out.event.message = "PDP Context Activation Rejected" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string() root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" diff --git a/traps/rules/cisco/CISCO-HC-ALARM-MIB-cHcAlarmNotifPrefix.yml b/traps/rules/cisco/CISCO-HC-ALARM-MIB-cHcAlarmNotifPrefix.yml deleted file mode 100644 index 7b4e0d6f..00000000 --- a/traps/rules/cisco/CISCO-HC-ALARM-MIB-cHcAlarmNotifPrefix.yml +++ /dev/null @@ -1,68 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-HC-ALARM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_hc_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cHcAlarmVariable = this.trap.VarBinds.index(0).Value - root.out.cisco.cHcAlarmSampleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.4") - root.out.cisco.cHcAlarmAbsValue = this.trap.VarBinds.index(2).Value - root.out.cisco.cHcAlarmValueStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.6") - root.out.cisco.cHcAlarmRisingThreshAbsValueLo = this.trap.VarBinds.index(4).Value - root.out.cisco.cHcAlarmRisingThreshAbsValueHi = this.trap.VarBinds.index(5).Value - root.out.cisco.cHcAlarmRisingThresholdValStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.10") - root.out.cisco.cHcAlarmRisingEventIndex = this.trap.VarBinds.index(7).Value - - label: c_hc_rising_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "High Capacity RMON Alarm" - root.out.object.name = "cHcAlarmEntry.2" - - label: c_hc_rising_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HC RMON Alarm: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.4").string() + " of " + this.trap.VarBinds.index(0).Value.string() + " Crossed [Error Sign of Value Unknown]" - - check: this.trap.SpecificTrap == 2 - processors: - - label: c_hc_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cHcAlarmVariable = this.trap.VarBinds.index(0).Value - root.out.cisco.cHcAlarmSampleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.4") - root.out.cisco.cHcAlarmAbsValue = this.trap.VarBinds.index(2).Value - root.out.cisco.cHcAlarmValueStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.6") - root.out.cisco.cHcAlarmFallingThreshAbsValueLo = this.trap.VarBinds.index(4).Value - root.out.cisco.cHcAlarmFallingThreshAbsValueHi = this.trap.VarBinds.index(5).Value - root.out.cisco.cHcAlarmFallingThrsholdValStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.13") - root.out.cisco.cHcAlarmFallingEventIndex = this.trap.VarBinds.index(7).Value - - label: c_hc_falling_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "High Capacity RMON Alarm" - root.out.object.name = "cHcAlarmEntry.2" - - label: c_hc_falling_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HC RMON Alarm Cleared: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.10.93.1.1.1.1.4").string() + " of " + this.trap.VarBinds.index(0).Value.string() + " Crossed [Error Sign of Value Unknown]" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-HSRP-MIB-cHsrpMIBNotifications.yml b/traps/rules/cisco/CISCO-HSRP-MIB-cHsrpMIBNotifications.yml deleted file mode 100644 index bcc8ed3e..00000000 --- a/traps/rules/cisco/CISCO-HSRP-MIB-cHsrpMIBNotifications.yml +++ /dev/null @@ -1,106 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-HSRP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_hsrp_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cHsrpGrpStandbyState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.106.1.2.1.1.15") - - label: c_hsrp_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-HSRP-MIB-cHsrpStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-HSRP-MIB-cHsrpStateChange" - root.out.event.category.name = "HSRP Group Status" - root.out.object.name = "cHsrpGrpEntry.106.2" - - label: c_hsrp_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: c_hsrp_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Initializing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: c_hsrp_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Learning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: c_hsrp_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Listening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: c_hsrp_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Speaking" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: c_hsrp_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group in Standby" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: c_hsrp_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: c_hsrp_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "HSRP Group Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: c_hsrp_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ICSUDSU-MIB-ciscoICsuDsuMIBNotifications.yml b/traps/rules/cisco/CISCO-ICSUDSU-MIB-ciscoICsuDsuMIBNotifications.yml deleted file mode 100644 index 044ead3a..00000000 --- a/traps/rules/cisco/CISCO-ICSUDSU-MIB-ciscoICsuDsuMIBNotifications.yml +++ /dev/null @@ -1,240 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ICSUDSU-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoICsuDsuT1LoopStatus = this.trap.VarBinds.index(0).Value - - label: cisco_icsu_dsu_t1loop_status_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ICSUDSU-MIB-ciscoICsuDsuT1LoopStatusNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ICSUDSU-MIB-ciscoICsuDsuT1LoopStatusNotification" - root.out.event.category.name = "T1 Loop Status" - root.out.object.name = "ciscoICsuDsuT1StatusEntry.3" - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 0 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Loss of Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Loss of Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 3 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Loss of Signal and Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Remote Alarm Indication" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 8 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 16 - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Loopback" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_icsu_dsu_t1loop_status_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "T1 CSU/DSU Status Unknown, ciscoICsuDsuT1LoopStatus: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_icsu_dsu_t1loop_status_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoICsuDsuSw56kLoopStatus = this.trap.VarBinds.index(0).Value - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ICSUDSU-MIB-ciscoICsuDsuSw56kLoopStatusNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ICSUDSU-MIB-ciscoICsuDsuSw56kLoopStatusNotification" - root.out.event.category.name = "Sw56k Loop Status" - root.out.object.name = "ciscoICsuDsuSw56kLineStatusEntry.3" - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 0 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU Receiving Out-of-Service/Out-of-Frame Code from Network" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU No Receive Signal, Sealing Current Below -45db" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU No Sealing Current" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 8 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU No Frame Syncronization" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 16 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU Attempting to Rate Adapt" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 32 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU RT Test from Telco" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value.string() == 64 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_64 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU LL Test from Telco" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value.string() == 128 - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_128 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU Remote Digital Loopback from Remote DSU" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Sw56k CSU/DSU Status Unknown, ciscoICsuDsuSw56kLoopStatus: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_icsu_dsu_sw56k_loop_status_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-IF-THRESHOLD-MIB-cifthMIBNotificationsPrefix.yml b/traps/rules/cisco/CISCO-IF-THRESHOLD-MIB-cifthMIBNotificationsPrefix.yml deleted file mode 100644 index 522e1e81..00000000 --- a/traps/rules/cisco/CISCO-IF-THRESHOLD-MIB-cifthMIBNotificationsPrefix.yml +++ /dev/null @@ -1,165 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-IF-THRESHOLD-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cifth_if_threshold_fired_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cifthIfLastThresholdFired = this.trap.VarBinds.index(0).Value - root.out.cisco.cifthIfThresholdFiredLstChange = this.trap.VarBinds.index(1).Value - root.out.cisco.cifthIfThresholdFiredLstSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.218.1.3.3.1.5") - - label: cifth_if_threshold_fired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthIfThresholdFired" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthIfThresholdFired" - root.out.event.category.name = "Interface Threshold Status" - root.out.object.name = "cifthIfThresholdFiredEntry.218.2" - root.out.event.message = "Threshold Crossed" - - label: cifth_if_threshold_fired_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cifth_if_threshold_fired_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Interface Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cifth_if_threshold_fired_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Interface Degraded" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: cifth_if_threshold_fired_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Interface Information" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(2).Value == 4 - processors: - - label: cifth_if_threshold_fired_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Interface Warning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cifth_if_threshold_fired_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Interface Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cifth_if_threshold_fired_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cifth_if_threshold_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cifthIfLastThresholdFired = this.trap.VarBinds.index(0).Value - root.out.cisco.cifthIfThresholdFiredLstChange = this.trap.VarBinds.index(1).Value - root.out.cisco.cifthIfThresholdFiredLstSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.218.1.3.3.1.5") - - label: cifth_if_threshold_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthIfThresholdCleared" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthIfThresholdCleared" - root.out.event.category.name = "Interface Threshold Status" - root.out.object.name = "cifthIfThresholdFiredEntry.218.2" - root.out.event.message = "Interface Threshold Cleared ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cifth_template_if_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cifthTemplateIfAssignOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.218.1.2.2.1.2") - - label: cifth_template_if_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthTemplateIfStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IF-THRESHOLD-MIB-cifthTemplateIfStatusChange" - root.out.event.category.name = "Interface Threshold Template Status" - root.out.object.name = "cifthTemplateIfAssignEntry.218.2" - - label: cifth_template_if_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cifth_template_if_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Template Thresholds Up on Interface" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cifth_template_if_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Template Thresholds Down on Interface" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cifth_template_if_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Template Thresholds Status Unknown on Interface" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cifth_template_if_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-IP-ENCRYPTION-MIB-cieMIBTraps.yml b/traps/rules/cisco/CISCO-IP-ENCRYPTION-MIB-cieMIBTraps.yml deleted file mode 100644 index 163f1049..00000000 --- a/traps/rules/cisco/CISCO-IP-ENCRYPTION-MIB-cieMIBTraps.yml +++ /dev/null @@ -1,88 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-IP-ENCRYPTION-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cie_test_completion_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cieTestConnSessionStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.52.1.4.1.1.7") - root.out.cisco.cieTestConnProtectedAddr = this.trap.VarBinds.index(1).Value - root.out.cisco.cieTestConnUnprotectedAddr = this.trap.VarBinds.index(2).Value - - label: cie_test_completion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IP-ENCRYPTION-MIB-cieTestCompletion" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IP-ENCRYPTION-MIB-cieTestCompletion" - root.out.event.category.name = "Encrypted Session Status" - root.out.object.name = "cieTestConnEntry.2" - - label: cie_test_completion_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cie_test_completion_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Encrypted Session Establishment In Progress" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cie_test_completion_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Encrypted Session Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cie_test_completion_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Encrypted Session Successful" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cie_test_completion_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Encrypted Session Failed, Bad Crypto Map Name" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cie_test_completion_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Encrypted Session Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cie_test_completion_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Protected IP: " + this.trap.VarBinds.index(1).Value.string() + ", Unprotected IP: " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeatsNotifications.yml b/traps/rules/cisco/CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeatsNotifications.yml deleted file mode 100644 index f7aaa8c6..00000000 --- a/traps/rules/cisco/CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeatsNotifications.yml +++ /dev/null @@ -1,35 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-IPMROUTE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ip_mroute_missing_heart_beats_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoIpMRouteHeartBeatSourceAddr = this.trap.VarBinds.index(0).Value - root.out.cisco.ciscoIpMRouteHeartBeatInterval = this.trap.VarBinds.index(1).Value - root.out.cisco.ciscoIpMRouteHeartBeatWindowSize = this.trap.VarBinds.index(2).Value - root.out.cisco.ciscoIpMRouteHeartBeatCount = this.trap.VarBinds.index(3).Value - - label: cisco_ip_mroute_missing_heart_beats_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeats" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPMROUTE-MIB-ciscoIpMRouteMissingHeartBeats" - root.out.event.category.name = "IPM Heartbeat Status" - root.out.object.name = "ciscoIpMRouteHeartBeatEntry.10.2.3.1" - root.out.event.message = "Failed to Receive IP Multicast Router Heartbeat ( From: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecMIBNotifications.yml b/traps/rules/cisco/CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecMIBNotifications.yml deleted file mode 100644 index 6c7c8a1c..00000000 --- a/traps/rules/cisco/CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecMIBNotifications.yml +++ /dev/null @@ -1,281 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-IPSEC-FLOW-MONITOR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cike_tunnel_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cikeTunLifeTime = this.trap.VarBinds.index(2).Value - - label: cike_tunnel_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeTunnelStart" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeTunnelStart" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Active ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cike_tunnel_stop_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cikeTunActiveTime = this.trap.VarBinds.index(2).Value - - label: cike_tunnel_stop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeTunnelStop" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeTunnelStop" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Stopped ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cike_sys_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cike_sys_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeSysFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeSysFailure" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Internal or System Capacity Error ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cike_cert_crl_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cike_cert_crl_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeCertCrlFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeCertCrlFailure" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Certificate or CRL Error ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cike_protocol_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cike_protocol_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeProtocolFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeProtocolFailure" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Protocol Error ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cike_no_sa_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cike_no_sa_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeNoSa" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cikeNoSa" - root.out.event.category.name = "Phase-1 IKE Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-1 IKE Tunnel Non-Existent Security Association ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cip_sec_tunnel_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipSecTunLifeTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cipSecTunLifeSize = this.trap.VarBinds.index(1).Value - - label: cip_sec_tunnel_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecTunnelStart" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecTunnelStart" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry.2" - root.out.event.message = "IPsec Phase-2 Tunnel Active ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cip_sec_tunnel_stop_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipSecTunActiveTime = this.trap.VarBinds.index(0).Value - - label: cip_sec_tunnel_stop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecTunnelStop" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecTunnelStop" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry.2" - root.out.event.message = "IPsec Phase-2 Tunnel Inactive ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cip_sec_sys_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cipSecTunActiveTime = this.trap.VarBinds.index(2).Value - root.out.cisco.cipSecSpiProtocol = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.171.1.3.4.1.4") - - label: cip_sec_sys_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecSysFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecSysFailure" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry." - root.out.event.message = "IPsec Phase-2 Tunnel Internal or System Capacity Error ( " + root.out.object.name + ", " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cip_sec_set_up_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cikePeerLocalAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cikePeerRemoteAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cip_sec_set_up_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecSetUpFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecSetUpFailure" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cikePeerEntry." - root.out.event.message = "IPsec Phase-2 Tunnel Setup Failed ( " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " to " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cip_sec_early_tun_term_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipSecTunActiveTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cipSecSpiProtocol = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.171.1.3.4.1.4") - - label: cip_sec_early_tun_term_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecEarlyTunTerm" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecEarlyTunTerm" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry.2" - root.out.event.message = "IPsec Phase-2 Tunnel Terminated Early ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cip_sec_protocol_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipSecTunActiveTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cipSecSpiProtocol = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.171.1.3.4.1.4") - - label: cip_sec_protocol_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecProtocolFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecProtocolFailure" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry.2" - root.out.event.message = "IPsec Phase-2 Tunnel Protocol Error ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cip_sec_no_sa_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecNoSa" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-FLOW-MONITOR-MIB-cipSecNoSa" - root.out.event.category.name = "Phase-2 Tunnel Status" - root.out.object.name = "cipSecTunnelEntry.2" - root.out.event.message = "IPsec Phase-2 Tunnel Non-Existent Security Association ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-IPSEC-MIB-cipsMIBNotifications.yml b/traps/rules/cisco/CISCO-IPSEC-MIB-cipsMIBNotifications.yml deleted file mode 100644 index ed8692a0..00000000 --- a/traps/rules/cisco/CISCO-IPSEC-MIB-cipsMIBNotifications.yml +++ /dev/null @@ -1,155 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-IPSEC-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cips_isakmp_policy_added_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsNumIsakmpPolicies = this.trap.VarBinds.index(0).Value - - label: cips_isakmp_policy_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsIsakmpPolicyAdded" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsIsakmpPolicyAdded" - root.out.event.category.name = "ISAKMP Policy Status" - root.out.object.name = "" - root.out.event.message = "ISAKMP Policy Element Added" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cips_isakmp_policy_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsNumIsakmpPolicies = this.trap.VarBinds.index(0).Value - - label: cips_isakmp_policy_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsIsakmpPolicyDeleted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsIsakmpPolicyDeleted" - root.out.event.category.name = "ISAKMP Policy Status" - root.out.object.name = "" - root.out.event.message = "ISAKMP Policy Element Deleted" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cips_cryptomap_added_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsStaticCryptomapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.62.1.2.3.3.1.2") - root.out.cisco.cipsStaticCryptomapSetSize = this.trap.VarBinds.index(1).Value - - label: cips_cryptomap_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapAdded" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapAdded" - root.out.event.category.name = "Cryptomap Status" - root.out.object.name = "cipsStaticCryptomapSetEntry." - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.62.1.2.3.3.1.2").string() + "Cryptomap Added to Cryptomap Set ( Cryptomap Set: $String )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cips_cryptomap_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsStaticCryptomapSetSize = this.trap.VarBinds.index(0).Value - - label: cips_cryptomap_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapDeleted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapDeleted" - root.out.event.category.name = "Cryptomap Status" - root.out.object.name = "cipsStaticCryptomapSetEntry." - root.out.event.message = "Cryptomap Deleted from Cryptomap Set ( Cryptomap Set: $String )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cips_cryptomap_set_attached_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsStaticCryptomapSetSize = this.trap.VarBinds.index(0).Value - root.out.cisco.cipsStaticCryptomapSetNumIsakmp = this.trap.VarBinds.index(1).Value - root.out.cisco.cipsStaticCryptomapSetNumDynamic = this.trap.VarBinds.index(2).Value - - label: cips_cryptomap_set_attached_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapSetAttached" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapSetAttached" - root.out.event.category.name = "Cryptomap Attachment Status" - root.out.object.name = "cipsStaticCryptomapSetEntry." - root.out.event.message = "Cryptomap Set Attached to an Interface ( Cryptomap Set: $String )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cips_cryptomap_set_detached_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsStaticCryptomapSetSize = this.trap.VarBinds.index(0).Value - - label: cips_cryptomap_set_detached_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapSetDetached" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsCryptomapSetDetached" - root.out.event.category.name = "Cryptomap Attachment Status" - root.out.object.name = "cipsStaticCryptomapSetEntry." - root.out.event.message = "Cryptomap Set Detached from an Interface ( Cryptomap Set: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cips_too_many_sas_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cipsMaxSAs = this.trap.VarBinds.index(0).Value - - label: cips_too_many_sas_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsTooManySAs" - root.out.event.id = "SNMPTRAP-cisco-CISCO-IPSEC-MIB-cipsTooManySAs" - root.out.event.category.name = "Security Association Status" - root.out.object.name = "" - root.out.event.message = "Security Association Setup Failed, SAs, " + this.trap.VarBinds.index(0).Value.string() + ", Exceeded " + this.trap.VarBinds.index(0).Value.string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ISCSI-MIB-cIscsiNotificationsPrefix.yml b/traps/rules/cisco/CISCO-ISCSI-MIB-cIscsiNotificationsPrefix.yml deleted file mode 100644 index c8d31e4e..00000000 --- a/traps/rules/cisco/CISCO-ISCSI-MIB-cIscsiNotificationsPrefix.yml +++ /dev/null @@ -1,82 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ISCSI-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_iscsi_tgt_login_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cIscsiTgtLoginFailures = this.trap.VarBinds.index(0).Value - root.out.cisco.cIscsiTgtLastFailureType = this.trap.VarBinds.index(1).Value - root.out.cisco.cIscsiTgtLastIntrFailureName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cIscsiTgtLastIntrFailureAddrType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.94.1.7.1.1.5") - root.out.cisco.cIscsiTgtLastIntrFailureAddr = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: c_iscsi_tgt_login_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiTgtLoginFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiTgtLoginFailure" - root.out.event.category.name = "iSCSI Login Status" - root.out.object.name = "cIscsiTargetAttributesEntry.94.2" - root.out.event.message = "iSCSI Login Attempt Failed by Target ( Initiator: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: c_iscsi_intr_login_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cIscsiIntrLoginFailures = this.trap.VarBinds.index(0).Value - root.out.cisco.cIscsiIntrLastFailureType = this.trap.VarBinds.index(1).Value - root.out.cisco.cIscsiIntrLastTgtFailureName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cIscsiIntrLastTgtFailureAddrType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.94.1.9.1.1.5") - root.out.cisco.cIscsiIntrLastTgtFailureAddr = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: c_iscsi_intr_login_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiIntrLoginFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiIntrLoginFailure" - root.out.event.category.name = "iSCSI Login Status" - root.out.object.name = "cIscsiInitiatorAttributesEntry.94.2" - root.out.event.message = "iSCSI Login Attempt Failed by Initiator ( Target: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: c_iscsi_inst_session_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cIscsiInstSsnFailures = this.trap.VarBinds.index(0).Value - root.out.cisco.cIscsiInstLastSsnFailureType = this.trap.VarBinds.index(1).Value - root.out.cisco.cIscsiInstLastSsnRmtNodeName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: c_iscsi_inst_session_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiInstSessionFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISCSI-MIB-cIscsiInstSessionFailure" - root.out.event.category.name = "iSCSI Session Status" - root.out.object.name = "cIscsiInstanceAttributesEntry.2" - root.out.event.message = "Active iSCSI Session Failed ( Remote Node: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ISDN-MIB-ciscoIsdnMibTraps.yml b/traps/rules/cisco/CISCO-ISDN-MIB-ciscoIsdnMibTraps.yml deleted file mode 100644 index 165f532f..00000000 --- a/traps/rules/cisco/CISCO-ISDN-MIB-ciscoIsdnMibTraps.yml +++ /dev/null @@ -1,664 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ISDN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: demand_nbr_call_information_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.demandNbrLogIf = this.trap.VarBinds.index(0).Value - root.out.cisco.demandNbrName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.demandNbrAddress = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.demandNbrLastDuration = this.trap.VarBinds.index(3).Value - root.out.cisco.demandNbrClearReason = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.cisco.demandNbrClearCode = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: demand_nbr_call_information_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCallInformation" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCallInformation" - root.out.event.category.name = "ISDN Call Status" - root.out.object.name = "demandNbrEntry.26.2" - - label: demand_nbr_call_information_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call is Active - processors: - - label: demand_nbr_call_information_rules_2_call is active - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Active" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call rejected - processors: - - label: demand_nbr_call_information_rules_2_call rejected - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Rejected" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Destination out of order - processors: - - label: demand_nbr_call_information_rules_2_destination out of order - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Destination Out of Order" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Interworking error; unspecified - processors: - - label: demand_nbr_call_information_rules_2_interworking error; unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Interworking Error" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Invalid call reference value - processors: - - label: demand_nbr_call_information_rules_2_invalid call reference value - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Invalid Call Reference Value" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == No user responding - processors: - - label: demand_nbr_call_information_rules_2_no user responding - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call No User Responding" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal call clearing - processors: - - label: demand_nbr_call_information_rules_2_normal call clearing - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Normal Clearing" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal, unspecified - processors: - - label: demand_nbr_call_information_rules_2_normal, unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Normal, Unspecified" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Recovery on timer expiry - processors: - - label: demand_nbr_call_information_rules_2_recovery on timer expiry - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Recovered on Timer Expiry" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Requested circuit/channel not available - processors: - - label: demand_nbr_call_information_rules_2_requested circuit/channel not available - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Requested Circuit/Channel Not Available" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Temporary failure - processors: - - label: demand_nbr_call_information_rules_2_temporary failure - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Temporary Failure" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Unknown Cause value - processors: - - label: demand_nbr_call_information_rules_2_unknown cause value - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call Cleared, Unknown Cause" - - processors: - - label: demand_nbr_call_information_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call, " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - - label: demand_nbr_call_information_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", Clear Code: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " ( Call Address: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: demand_nbr_call_details_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.demandNbrLogIf = this.trap.VarBinds.index(0).Value - root.out.cisco.demandNbrName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.demandNbrAddress = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.demandNbrLastDuration = this.trap.VarBinds.index(3).Value - root.out.cisco.demandNbrClearReason = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.cisco.demandNbrClearCode = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.demandNbrCallOrigin = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.9.26.1.1.1.1.17") - - label: demand_nbr_call_details_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCallDetails" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCallDetails" - root.out.event.category.name = "ISDN Call Status" - root.out.object.name = "demandNbrEntry.26.2" - - label: demand_nbr_call_details_rules_2 - switch: - - check: this.trap.VarBinds.index(6).Value == 1 - processors: - - label: demand_nbr_call_details_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Outgoing Call" - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: demand_nbr_call_details_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Incoming Call" - - check: this.trap.VarBinds.index(6).Value == 3 - processors: - - label: demand_nbr_call_details_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Callback" - - processors: - - label: demand_nbr_call_details_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call" - - label: demand_nbr_call_details_rules_3 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call is Active - processors: - - label: demand_nbr_call_details_rules_3_call is active - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Active" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call rejected - processors: - - label: demand_nbr_call_details_rules_3_call rejected - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Rejected" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Destination out of order - processors: - - label: demand_nbr_call_details_rules_3_destination out of order - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Destination Out of Order" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Interworking error; unspecified - processors: - - label: demand_nbr_call_details_rules_3_interworking error; unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Interworking Error" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Invalid call reference value - processors: - - label: demand_nbr_call_details_rules_3_invalid call reference value - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Invalid Call Reference Value" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == No user responding - processors: - - label: demand_nbr_call_details_rules_3_no user responding - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " No User Responding" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal call clearing - processors: - - label: demand_nbr_call_details_rules_3_normal call clearing - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Normal Clearing" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal, unspecified - processors: - - label: demand_nbr_call_details_rules_3_normal, unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Normal, Unspecified" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Recovery on timer expiry - processors: - - label: demand_nbr_call_details_rules_3_recovery on timer expiry - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Recovered on Timer Expiry" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Requested circuit/channel not available - processors: - - label: demand_nbr_call_details_rules_3_requested circuit/channel not available - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Requested Circuit/Channel Not Available" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Temporary failure - processors: - - label: demand_nbr_call_details_rules_3_temporary failure - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Temporary Failure" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Unknown Cause value - processors: - - label: demand_nbr_call_details_rules_3_unknown cause value - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Cleared, Unknown Cause" - - processors: - - label: demand_nbr_call_details_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", Clear Code: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - - label: demand_nbr_call_details_rules_4 - switch: - - check: this.trap.VarBinds.index(6).Value == 1 - processors: - - label: demand_nbr_call_details_rules_4_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( to Call Address: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: demand_nbr_call_details_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( from Call Address: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(6).Value == 3 - processors: - - label: demand_nbr_call_details_rules_4_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( from Call Address: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - processors: - - label: demand_nbr_call_details_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call Address: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - label: demand_nbr_call_details_rules_5 - mapping: |- - #!blobl - root = this - - root.out.object.name = "demandNbrEntry.26.2" - - label: demand_nbr_call_details_rules_6 - switch: - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 1 - processors: - - label: demand_nbr_call_details_rules_6_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Outgoing Call" - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 2 - processors: - - label: demand_nbr_call_details_rules_6_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Incoming Call" - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 3 - processors: - - label: demand_nbr_call_details_rules_6_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Callback" - - processors: - - label: demand_nbr_call_details_rules_6_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call" - - label: demand_nbr_call_details_rules_7 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call is Active - processors: - - label: demand_nbr_call_details_rules_7_call is active - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Active" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Call rejected - processors: - - label: demand_nbr_call_details_rules_7_call rejected - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Rejected" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Destination out of order - processors: - - label: demand_nbr_call_details_rules_7_destination out of order - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Destination Out of Order" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Interworking error; unspecified - processors: - - label: demand_nbr_call_details_rules_7_interworking error; unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Interworking Error" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Invalid call reference value - processors: - - label: demand_nbr_call_details_rules_7_invalid call reference value - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Invalid Call Reference Value" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == No user responding - processors: - - label: demand_nbr_call_details_rules_7_no user responding - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " No User Responding" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal call clearing - processors: - - label: demand_nbr_call_details_rules_7_normal call clearing - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Normal Clearing" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Normal, unspecified - processors: - - label: demand_nbr_call_details_rules_7_normal, unspecified - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Normal, Unspecified" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Recovery on timer expiry - processors: - - label: demand_nbr_call_details_rules_7_recovery on timer expiry - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Recovered on Timer Expiry" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Requested circuit/channel not available - processors: - - label: demand_nbr_call_details_rules_7_requested circuit/channel not available - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Requested Circuit/Channel Not Available" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Temporary failure - processors: - - label: demand_nbr_call_details_rules_7_temporary failure - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Temporary Failure" - - check: this.trap.VarBinds.index(4).Value.snmp_display_string().string() == Unknown Cause value - processors: - - label: demand_nbr_call_details_rules_7_unknown cause value - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Cleared, Unknown Cause" - - processors: - - label: demand_nbr_call_details_rules_7_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", Clear Code: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - - label: demand_nbr_call_details_rules_8 - switch: - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 1 - processors: - - label: demand_nbr_call_details_rules_8_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( to Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 2 - processors: - - label: demand_nbr_call_details_rules_8_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( from Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(5).Value.snmp_octet_string().string() == 3 - processors: - - label: demand_nbr_call_details_rules_8_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( from Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - processors: - - label: demand_nbr_call_details_rules_8_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - label: demand_nbr_call_details_rules_9 - mapping: |- - #!blobl - root = this - - root.out.object.name = "demandNbrEntry.26.2" - - label: demand_nbr_call_details_rules_10 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_display_string().string() == 1 - processors: - - label: demand_nbr_call_details_rules_10_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Outgoing Call ( to Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_display_string().string() == 2 - processors: - - label: demand_nbr_call_details_rules_10_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Incoming Call ( from Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_display_string().string() == 3 - processors: - - label: demand_nbr_call_details_rules_10_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Callback ( from Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - processors: - - label: demand_nbr_call_details_rules_10_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call ( Call Address: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - label: demand_nbr_call_details_rules_11 - mapping: |- - #!blobl - root = this - - root.out.object.name = "demandNbrEntry.26.2" - - label: demand_nbr_call_details_rules_12 - switch: - - check: this.trap.VarBinds.index(1).Value.snmp_display_string().string() == 1 - processors: - - label: demand_nbr_call_details_rules_12_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Outgoing Call" - - check: this.trap.VarBinds.index(1).Value.snmp_display_string().string() == 2 - processors: - - label: demand_nbr_call_details_rules_12_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Incoming Call" - - check: this.trap.VarBinds.index(1).Value.snmp_display_string().string() == 3 - processors: - - label: demand_nbr_call_details_rules_12_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Callback" - - processors: - - label: demand_nbr_call_details_rules_12_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN Call" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: demand_nbr_layer2change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.isdnLapdOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.3.4.1.2") - - label: demand_nbr_layer2change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrLayer2Change" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrLayer2Change" - root.out.event.category.name = "ISDN D-Channel Status" - root.out.object.name = "isdnLapdEntry." + this.trap.VarBinds.index(0).Value.string() - - label: demand_nbr_layer2change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: demand_nbr_layer2change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN D-Channel All Layers Inactive" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: demand_nbr_layer2change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN D-Channel Layer-1 Activated, Layer-2 Datalink Not Established" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: demand_nbr_layer2change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN D-Channel Layer-1 Activated, Layer-2 Datalink Established" - - label: demand_nbr_layer2change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: demand_nbr_cnanotification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.isdnSignalingIfIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.ifIndex = this.trap.VarBinds.index(1).Value - - label: demand_nbr_cnanotification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCNANotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISDN-MIB-demandNbrCNANotification" - root.out.event.category.name = "ISDN Incoming Call Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "ISDN Incoming Call Rejected, Requested Circuit/Channel Not Available ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ISDNU-IF-MIB-ciuIfMIBNotifications.yml b/traps/rules/cisco/CISCO-ISDNU-IF-MIB-ciuIfMIBNotifications.yml deleted file mode 100644 index f06b484a..00000000 --- a/traps/rules/cisco/CISCO-ISDNU-IF-MIB-ciuIfMIBNotifications.yml +++ /dev/null @@ -1,96 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ISDNU-IF-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ciu_if_loop_status_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciuIfLoopStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.18.1.1.2.1.6") - - label: ciu_if_loop_status_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ISDNU-IF-MIB-ciuIfLoopStatusNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ISDNU-IF-MIB-ciuIfLoopStatusNotification" - root.out.event.category.name = "ISDN BRI Int. U Interface Loopback Status" - root.out.object.name = "ciuIfStatusEntry.2" - - label: ciu_if_loop_status_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: ciu_if_loop_status_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: ciu_if_loop_status_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface in Type-2 (CO to U) Loopback" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: ciu_if_loop_status_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface in Type-3 (Processor to U) Loopback" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: ciu_if_loop_status_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface in NT Quiet Mode" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: ciu_if_loop_status_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface in Insertion Loss Measurement Test Mode" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: ciu_if_loop_status_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "ISDN BRI Integrated U Interface Loopback Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: ciu_if_loop_status_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ITP-GRT-MIB-ciscoGrtNotifications.yml b/traps/rules/cisco/CISCO-ITP-GRT-MIB-ciscoGrtNotifications.yml deleted file mode 100644 index 2b6db0c9..00000000 --- a/traps/rules/cisco/CISCO-ITP-GRT-MIB-ciscoGrtNotifications.yml +++ /dev/null @@ -1,236 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ITP-GRT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_grt_dest_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgrtDestNotifSupFlag = this.trap.VarBinds.index(2).Value.bool() - root.out.cisco.cgrtDestNotifChanges = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_grt_dest_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GRT Destination Status" - root.out.object.name = "Network: $String - - label: cisco_grt_dest_state_change_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "GRT Destination Status Unknown" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = "[Multiple Destinations! See Details!] " + root.out.event.message - - label: cisco_grt_dest_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GRT Destination Status" - root.out.object.name = "Destination: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = "GRT Destination State Change, See Details [MTTrapd Probe Not in Use]" - root.out.event.class.name = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtDestStateChange" - root.out.event.id = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtDestStateChange" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_grt_mgmt_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgrtMgmtNotifSupFlag = this.trap.VarBinds.index(2).Value.bool() - root.out.cisco.cgrtMgmtNotifChanges = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_grt_mgmt_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GRT Management Route Status" - root.out.object.name = "Destination: $String - - label: cisco_grt_mgmt_state_change_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "GRT Management Route Status Unknown" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = "[Multiple Destinations! See Details!] " + root.out.event.message - - label: cisco_grt_mgmt_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GRT Management Route Status" - root.out.object.name = "Destination: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = "GRT Management Route State Change, See Details [MTTrapd Probe Not in Use]" - root.out.event.class.name = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtMgmtStateChange" - root.out.event.id = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtMgmtStateChange" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_grt_route_table_load_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgrtInstLoadStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.334.1.2.1.1.3") - root.out.cisco.cgrtInstTableName = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cgrtInstLastURL = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cisco_grt_route_table_load_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtRouteTableLoad" - root.out.event.id = "SNMPTRAP-CISCO-ITP-GRT-MIB-ciscoGrtRouteTableLoad" - root.out.event.category.name = "GRT Route Table Load Status" - root.out.object.name = "cgrtInstEntry." - - label: cisco_grt_route_table_load_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cisco_grt_route_table_load_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load Not Requested" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cisco_grt_route_table_load_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load In Progress" - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: cisco_grt_route_table_load_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load Complete" - - check: this.trap.VarBinds.index(2).Value == 4 - processors: - - label: cisco_grt_route_table_load_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load Complete with Errors" - - check: this.trap.VarBinds.index(2).Value == 5 - processors: - - label: cisco_grt_route_table_load_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load Failed" - - processors: - - label: cisco_grt_route_table_load_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Route Table Load Status Unknown" - - label: cisco_grt_route_table_load_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Route Table: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_grt_dest_state_change_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgrtDestNotifSuppressed = this.trap.VarBinds.index(2).Value - root.out.cisco.cgrtDestDisplay = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cgrtDestStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.334.1.2.2.1.1") - root.out.cisco.cgrtDestCongestion = this.trap.VarBinds.index(5).Value - - label: cisco_grt_dest_state_change_rev1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_grt_mgmt_state_change_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgrtRouteStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.334.1.2.3.1.6") - root.out.cisco.cgrtRouteMgmtStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.334.1.2.3.1.7") - root.out.cisco.cgrtRouteDynamic = this.trap.VarBinds.index(4).Value.bool() - root.out.cisco.cgrtRouteAdminStatus = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.334.1.2.3.1.10") - root.out.cisco.cgrtRouteNotifSuppressed = this.trap.VarBinds.index(6).Value - root.out.cisco.cgrtRouteDisplay = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cisco_grt_mgmt_state_change_rev1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_grt_no_route_msudiscards_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cgspEventSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.cgspCLLICode = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cgspInstDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cgrtNoRouteMSUsInterval = this.trap.VarBinds.index(3).Value - root.out.cisco.cgrtIntervalNoRouteMSUs = this.trap.VarBinds.index(4).Value - - label: cisco_grt_no_route_msudiscards_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ITP-SCCP-MIB-cItpSccpNotifications.yml b/traps/rules/cisco/CISCO-ITP-SCCP-MIB-cItpSccpNotifications.yml deleted file mode 100644 index dc0b0e39..00000000 --- a/traps/rules/cisco/CISCO-ITP-SCCP-MIB-cItpSccpNotifications.yml +++ /dev/null @@ -1,70 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ITP-SCCP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_itp_sccp_gtt_map_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpDisplayName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cItpSccpGttMapDisplayPC = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSccpGttMapDisplaySS = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSccpGttMapSsStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.233.1.3.1.1.7") - - label: c_itp_sccp_gtt_map_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ITP-SCCP-MIB-cItpSccpGttMapStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ITP-SCCP-MIB-cItpSccpGttMapStateChange" - root.out.event.category.name = "Mated Application Status" - root.out.object.name = "cItpSccpGttMapTableEntry.." - - label: c_itp_sccp_gtt_map_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: c_itp_sccp_gtt_map_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mated Application Subsystem Allowed" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: c_itp_sccp_gtt_map_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mated Application Subsystem Prohibited" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: c_itp_sccp_gtt_map_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mated Application Subsystem Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: c_itp_sccp_gtt_map_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Point Code: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + ", Subsystem: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ITP-SP-MIB-cItpSpNotifications.yml b/traps/rules/cisco/CISCO-ITP-SP-MIB-cItpSpNotifications.yml deleted file mode 100644 index cea53b36..00000000 --- a/traps/rules/cisco/CISCO-ITP-SP-MIB-cItpSpNotifications.yml +++ /dev/null @@ -1,225 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ITP-SP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_itp_sp_linkset_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.232.1.3.1.1.6") - root.out.cisco.cItpSpLinksetDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetSourceDisplayPC = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetAdjacentDisplayPC = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: c_itp_sp_linkset_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SP Linkset Status" - root.out.object.name = "1" - - label: c_itp_sp_linkset_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: c_itp_sp_linkset_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Available ( LinksetName - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: c_itp_sp_linkset_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Administratively Shutdown ( LinksetName - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: c_itp_sp_linkset_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Unavailable ( LinksetName - - label: c_itp_sp_linkset_state_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: c_itp_sp_link_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.232.1.4.1.1.3") - root.out.cisco.cItpSpLinkDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetSourceDisplayPC = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetAdjacentDisplayPC = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkStateReason = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.232.1.4.1.1.108") - - label: c_itp_sp_link_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SP Link Status" - root.out.object.name = "0.2" - - label: c_itp_sp_link_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: c_itp_sp_link_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Available ( LinksetName.LinkSlc - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: c_itp_sp_link_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Failed, lookup($6, cItpSpLinkStateReason) ( LinksetName.LinkSlc - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: c_itp_sp_link_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Administratively Shutdown, lookup($6, cItpSpLinkStateReason) ( LinksetName.LinkSlc - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: c_itp_sp_link_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Unavailable, lookup($6, cItpSpLinkStateReason) ( LinksetName.LinkSlc - - label: c_itp_sp_link_state_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: c_itp_sp_congestion_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkCongestionState = this.trap.VarBinds.index(1).Value - root.out.cisco.cItpSpLinkDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetSourceDisplayPC = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetAdjacentDisplayPC = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: c_itp_sp_congestion_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SP Link Congestion" - - label: c_itp_sp_congestion_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value.string() == 0 - processors: - - label: c_itp_sp_congestion_change_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Congestion Low on Signalling Point Link ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value.string() == 1 - processors: - - label: c_itp_sp_congestion_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Congestion Moderate on Signalling Point Link ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value.string() == 2 - processors: - - label: c_itp_sp_congestion_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Congestion High on Signalling Point Link ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - - check: this.trap.VarBinds.index(1).Value.string() == 3 - processors: - - label: c_itp_sp_congestion_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Congestion Excessive on Signalling Point Link ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - - label: c_itp_sp_congestion_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: c_itp_sp_link_rcvd_util_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkUtilStateRcvd = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.232.1.4.1.1.136") - root.out.cisco.cItpSpLinkDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetSourceDisplayPC = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetAdjacentDisplayPC = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkUtilizationRcvd = this.trap.VarBinds.index(5).Value - - label: c_itp_sp_link_rcvd_util_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: c_itp_sp_link_sent_util_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cItpSpCLLICode = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkUtilStateSent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.232.1.4.1.1.141") - root.out.cisco.cItpSpLinkDisplayName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetSourceDisplayPC = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cItpSpLinksetAdjacentDisplayPC = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.cisco.cItpSpLinkUtilizationSent = this.trap.VarBinds.index(5).Value - - label: c_itp_sp_link_sent_util_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorMIBNotifications.yml b/traps/rules/cisco/CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorMIBNotifications.yml deleted file mode 100644 index 70acd26f..00000000 --- a/traps/rules/cisco/CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorMIBNotifications.yml +++ /dev/null @@ -1,761 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-LOCAL-DIRECTOR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_local_director_virtual_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldVirtualState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.1.1.1.4") - - label: cisco_local_director_virtual_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorVirtualStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorVirtualStateChange" - root.out.event.category.name = "Virtual Machine Status" - root.out.object.name = "cldVirtualTableEntry.4.1.9.9.99.2" - - label: cisco_local_director_virtual_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Out of Service, Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Reached Connection Limit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Manually Taken Offline" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Only Accepting 'Sticky Association' Connections" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_local_director_virtual_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_virtual_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_virtual_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VM IP: 4.1.9.9, TCP Port: 99, Bind ID: 2 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_local_director_real_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldRealState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.2.1.1.3") - - label: cisco_local_director_real_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorRealStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorRealStateChange" - root.out.event.category.name = "Real Machine Status" - root.out.object.name = "cldRealTableEntry.1.9.9.99.2" - - label: cisco_local_director_real_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_real_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_real_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Out of Service, Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_real_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_real_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_real_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Reached Connection Limit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_local_director_real_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Manually Taken Offline" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_local_director_real_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Only Accepting 'Sticky Association' Connections" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_local_director_real_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_real_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_real_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( IP: 1.9.9.99, TCP Port: 2 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_local_director_failover_enable_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldFailoverEnabled = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.3.1") - - label: cisco_local_director_failover_enable_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverEnableChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverEnableChange" - root.out.event.category.name = "Failover Status" - root.out.object.name = "" - - label: cisco_local_director_failover_enable_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_failover_enable_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LocalDirector Failover Enabled" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_failover_enable_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LocalDirector Failover Disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_local_director_failover_enable_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "LocalDirector Failover Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_failover_enable_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_local_director_failover_cable_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldFailoverCableStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.3.2") - - label: cisco_local_director_failover_cable_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverCableChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverCableChange" - root.out.event.category.name = "Failover Cable Status" - root.out.object.name = "" - - label: cisco_local_director_failover_cable_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_failover_cable_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Connected, both Units Powered On" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_failover_cable_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Connected, Remote Unit Powered Off" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_failover_cable_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Disconnected Locally" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_failover_cable_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Disconnected from Remote Unit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_failover_cable_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Bad" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_failover_cable_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Failover Serial Cable Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_failover_cable_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_local_director_failover_unit_status_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldFailoverUnitStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.3.4") - - label: cisco_local_director_failover_unit_status_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverUnitStatus" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorFailoverUnitStatus" - root.out.event.category.name = "Failover Status" - root.out.object.name = "" - - label: cisco_local_director_failover_unit_status_rules_2 - switch: - - check: 'this.trap.VarBinds.index(0).Value == ' - processors: - - label: cisco_local_director_failover_unit_status_rules_2_ - mapping: |- - #!blobl - root = this - - root.out.event.message = "LocalDirector Active: Currently Active and Handling Load-Balancing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - root.out.event.message = "LocalDirector in Standby: Not Active and Only Monitoring 'Active' Unit" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_local_director_failover_unit_status_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "LocalDirector Failover Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_failover_unit_status_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_local_director_evirtual_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldeVirtualState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.1.2.1.5") - - label: cisco_local_director_evirtual_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorEVirtualStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorEVirtualStateChange" - root.out.event.category.name = "Virtual Machine Status" - root.out.object.name = "cldeVirtualTableEntry.1.4.1.9.9.99.2" - - label: cisco_local_director_evirtual_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Out of Service, Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Reached Connection Limit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Manually Taken Offline" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Only Accepting 'Sticky Association' Connections" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_evirtual_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_evirtual_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VM IP: 1.4.1.9, TCP Port: 9, Bind ID: 99, Protocol: lookup($cldeVirtualProtocol_Raw, MachineProtocol) )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cisco_local_director_ereal_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldeRealState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.2.2.1.5") - - label: cisco_local_director_ereal_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorERealStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorERealStateChange" - root.out.event.category.name = "Real Machine Status" - root.out.object.name = "cldeRealTableEntry.1.4.1.9.9.99.2" - - label: cisco_local_director_ereal_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Out of Service, Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Reached Connection Limit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Manually Taken Offline" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Only Accepting 'Sticky Association' Connections" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_local_director_ereal_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_ereal_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Real Machine Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_ereal_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( IP: 1.4.1.9, TCP Port: 9, Bind ID: 99, Protocol: lookup($cldeRealProtocol_Raw, MachineProtocol) )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cisco_local_director_ex_virtual_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cldexVirtualState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.99.1.1.3.1.6") - - label: cisco_local_director_ex_virtual_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorExVirtualStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-LOCAL-DIRECTOR-MIB-ciscoLocalDirectorExVirtualStateChange" - root.out.event.category.name = "Virtual Machine Status" - root.out.object.name = "cldexVirtualTableEntry....." - - label: cisco_local_director_ex_virtual_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Out of Service, Manually" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Reached Connection Limit" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Manually Taken Offline" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Only Accepting 'Sticky Association' Connections" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Failed" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: cisco_local_director_ex_virtual_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Machine Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_local_director_ex_virtual_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VM IP: , TCP Port: , Bind ID: , Protocol: lookup($cldexVirtualProtocol_Raw, MachineProtocol), Rule: $String )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-MAC-NOTIFICATION-MIB-cmnMIBNotifications.yml b/traps/rules/cisco/CISCO-MAC-NOTIFICATION-MIB-cmnMIBNotifications.yml deleted file mode 100644 index d7ccb600..00000000 --- a/traps/rules/cisco/CISCO-MAC-NOTIFICATION-MIB-cmnMIBNotifications.yml +++ /dev/null @@ -1,79 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-MAC-NOTIFICATION-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cmn_mac_changed_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmnHistMacChangedMsg = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cmnHistTimestamp = this.trap.VarBinds.index(1).Value - - label: cmn_mac_changed_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacChangedNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacChangedNotification" - root.out.event.category.name = "MAC Address Change" - root.out.object.name = "" - root.out.event.message = "MAC Address Changed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cmn_mac_move_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmnMACMoveAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.cmnMACMoveVlanNumber = this.trap.VarBinds.index(1).Value - root.out.cisco.cmnMACMoveFromPortId = this.trap.VarBinds.index(2).Value - root.out.cisco.cmnMACMoveToPortId = this.trap.VarBinds.index(3).Value - root.out.cisco.cmnMACMoveTime = this.trap.VarBinds.index(4).Value - - label: cmn_mac_move_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacMoveNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacMoveNotification" - root.out.event.category.name = "MAC Address Move" - root.out.object.name = "dot1dBasePortEntry." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "MAC Address Moved ( MAC: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", VLAN: " + this.trap.VarBinds.index(1).Value.string() + ", From Port: dot1dBasePortEntry." + this.trap.VarBinds.index(2).Value.string() + ", To Port: dot1dBasePortEntry." + this.trap.VarBinds.index(3).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cmn_mac_threshold_exceed_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmnUtilizationUtilization = this.trap.VarBinds.index(0).Value - root.out.cisco.cmnMACThresholdLimit = this.trap.VarBinds.index(1).Value - root.out.cisco.cmnUtilizationTimeStamp = this.trap.VarBinds.index(2).Value - - label: cmn_mac_threshold_exceed_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacThresholdExceedNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MAC-NOTIFICATION-MIB-cmnMacThresholdExceedNotif" - root.out.event.category.name = "Forwarding Table Utilization" - root.out.object.name = "cmnUtilizationEntry.2" - root.out.event.message = "Forwarding Table MAC Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", Exceeded, Utilization: " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-MOBILE-IP-MIB-ciscoMobileIpMIBNotifications.yml b/traps/rules/cisco/CISCO-MOBILE-IP-MIB-ciscoMobileIpMIBNotifications.yml deleted file mode 100644 index d7d461e6..00000000 --- a/traps/rules/cisco/CISCO-MOBILE-IP-MIB-ciscoMobileIpMIBNotifications.yml +++ /dev/null @@ -1,185 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-MOBILE-IP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cmi_mr_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mnState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.44.1.3.1.1") - - label: cmi_mr_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrStateChange" - root.out.event.category.name = "Mobile Router Status" - root.out.object.name = "" - - label: cmi_mr_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cmi_mr_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Home" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cmi_mr_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Registered" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cmi_mr_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Pending" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cmi_mr_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Isolated" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cmi_mr_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cmi_mr_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Mobile Router Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cmi_mr_state_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cmi_mr_coa_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mnRegCOA = this.trap.VarBinds.index(0).Value - root.out.cisco.mnRegAgentAddress = this.trap.VarBinds.index(1).Value - - label: cmi_mr_coa_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrCoaChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrCoaChange" - root.out.event.category.name = "Mobile Router CoA Change" - root.out.object.name = "mnRegistrationEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Mobile Router Care-of-Address Changed to " + this.trap.VarBinds.index(0).Value.string() + " ( MR Agent: " + this.trap.VarBinds.index(1).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cmi_mr_new_ma_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmiMrMaIsHa = this.trap.VarBinds.index(0).Value.bool() - root.out.cisco.cmiMrMaAdvFlags = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.5.4.1.1.7") - root.out.cisco.cmiMrMaAdvRcvIf = this.trap.VarBinds.index(2).Value - - label: cmi_mr_new_ma_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrNewMA" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiMrNewMA" - root.out.event.category.name = "Mobile Router Agent Discovery" - root.out.object.name = "cmiMrMaAdvEntry.." - root.out.event.message = "Mobile Router Discovered New Mobile Agent ( Mobile Agent: , Interface: ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cmi_ha_mn_reg_req_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmiNtRegCOAType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.6.3") - root.out.cisco.cmiNtRegCOA = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cmiNtRegHAAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.6.5") - root.out.cisco.cmiNtRegHomeAgent = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cmiNtRegHomeAddressType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.6.7") - root.out.cisco.cmiNtRegHomeAddress = this.trap.VarBinds.index(5).Value - root.out.cisco.cmiNtRegNAI = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.cisco.cmiNtRegDeniedCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.6.10") - - label: cmi_ha_mn_reg_req_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiHaMnRegReqFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-MOBILE-IP-MIB-cmiHaMnRegReqFailed" - root.out.event.category.name = "Mobile Node Registration Status" - root.out.object.name = "Network Access Identifier: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.event.message = "Mobile Node Registration Failed, " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.9.9.174.1.6.10").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cmi_ha_max_bindings_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cmiHaRegTotalMobilityBindings = this.trap.VarBinds.index(0).Value - root.out.cisco.cmiHaMaximumBindings = this.trap.VarBinds.index(1).Value - - label: cmi_ha_max_bindings_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-NETWORK-REGISTRAR-MIB-ciscoNetRegMIBNotifications.yml b/traps/rules/cisco/CISCO-NETWORK-REGISTRAR-MIB-ciscoNetRegMIBNotifications.yml deleted file mode 100644 index 36fe4892..00000000 --- a/traps/rules/cisco/CISCO-NETWORK-REGISTRAR-MIB-ciscoNetRegMIBNotifications.yml +++ /dev/null @@ -1,485 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-NETWORK-REGISTRAR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_net_reg_free_address_low_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrDHCPScopeFreeAddrLowThreshold = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrDHCPScopeFreeAddrValue = this.trap.VarBinds.index(1).Value - root.out.cisco.cnrDHCPScopeFreeAddrUnits = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.1.1.1.5") - - label: cisco_net_reg_free_address_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Free Address" - root.out.object.name = "" - - label: cisco_net_reg_free_address_low_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cisco_net_reg_free_address_low_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Available IP Addresses ( " + this.trap.VarBinds.index(1).Value.string() + " ) Below " + this.trap.VarBinds.index(0).Value.string() + " ( DHCPScopeName - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cisco_net_reg_free_address_low_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Available IP Addresses ( " + this.trap.VarBinds.index(1).Value.string() + "% ) Below " + this.trap.VarBinds.index(0).Value.string() + "% ( DHCPScopeName - - label: cisco_net_reg_free_address_low_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_net_reg_free_address_high_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrDHCPScopeFreeAddrHighThreshold = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrDHCPScopeFreeAddrValue = this.trap.VarBinds.index(1).Value - root.out.cisco.cnrDHCPScopeFreeAddrUnits = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.1.1.1.5") - - label: cisco_net_reg_free_address_high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Free Address" - root.out.object.name = "" - - label: cisco_net_reg_free_address_high_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cisco_net_reg_free_address_high_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Available IP Addresses ( " + this.trap.VarBinds.index(1).Value.string() + " ) Above " + this.trap.VarBinds.index(0).Value.string() + " ( DHCPScopeName - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cisco_net_reg_free_address_high_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Available IP Addresses ( " + this.trap.VarBinds.index(1).Value.string() + "% ) Above " + this.trap.VarBinds.index(0).Value.string() + "% ( DHCPScopeName - - label: cisco_net_reg_free_address_high_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_net_reg_server_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4") - - label: cisco_net_reg_server_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4").string() - root.out.event.message = lookup($1, cnrNotifServerType) Server started" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_net_reg_server_stop_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4") - - label: cisco_net_reg_server_stop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4").string() - root.out.event.message = lookup($1, cnrNotifServerType) Server stopped" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_net_reg_dnsqueue_too_big_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg DNS Queue Status" - root.out.object.name = "" - root.out.event.message = "DNS Queue Too Big, Pending DNS Updates Reached Limit" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_net_reg_other_server_not_responding_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifServerType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4") - - label: cisco_net_reg_other_server_not_responding_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Other Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = lookup($2, cnrNotifServerType) Server at " + this.trap.VarBinds.index(0).Value.string() + " Not Responding to Updates from CNR server" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cisco_net_reg_duplicate_address_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDupIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifMACAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cnrNotifDupIpAddressDetectedBy = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.5") - - label: cisco_net_reg_duplicate_address_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Duplicate Address" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Duplicate IP Address ( " + this.trap.VarBinds.index(0).Value.string() + " ) at MAC Address " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 8 - processors: - - label: cisco_net_reg_address_conflict_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifContestedIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(1).Value - root.out.cisco.cnrNotifDhcpv6Server = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cnrNotifFailoverPairName = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_net_reg_address_conflict_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Address Conflict" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Ownership of IP Address " + this.trap.VarBinds.index(0).Value.string() + " Claimed by Two or More DHCP Servers ( cnrNotifServer - - check: this.trap.SpecificTrap == 9 - processors: - - label: cisco_net_reg_other_server_responding_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifServerType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.4") - - label: cisco_net_reg_other_server_responding_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Other Server Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = lookup($2, cnrNotifServerType) Server at " + this.trap.VarBinds.index(0).Value.string() + " Responding to Updates from CNR server" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cisco_net_reg_failover_config_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifDhcpv6Server = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cnrNotifFailoverPairName = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cnrNotifFailoverCfgErrType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.20") - - label: cisco_net_reg_failover_config_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NetReg Failover Config Mismatch" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Server Configuration Does Not Match Failover Peer " + this.trap.VarBinds.index(0).Value.string() - - check: this.trap.SpecificTrap == 11 - processors: - - label: cisco_net_reg_free_addr_low_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDHCPScopeFreeAddrLow = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifDHCPScopeFreeAddrValue = this.trap.VarBinds.index(1).Value - root.out.cisco.cnrNotifDHCPScopeName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.cnrNotifPrimarySubnetNumber = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.cnrNotifDHCPThresholdType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.10") - root.out.cisco.cnrNotifDHCPThresholdValue = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: cisco_net_reg_free_addr_low_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cisco_net_reg_free_addr_high_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDHCPScopeFreeAddrHigh = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifDHCPScopeFreeAddrValue = this.trap.VarBinds.index(1).Value - root.out.cisco.cnrNotifDHCPScopeName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.cnrNotifPrimarySubnetNumber = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.cnrNotifDHCPThresholdType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.10") - root.out.cisco.cnrNotifDHCPThresholdValue = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: cisco_net_reg_free_addr_high_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cisco_net_reg_other_server_not_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifRelatedServerType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.14") - root.out.cisco.cnrNotifDhcpv6Server = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cisco_net_reg_other_server_not_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cisco_net_reg_other_server_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifRelatedServerType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.120.1.2.14") - root.out.cisco.cnrNotifDhcpv6Server = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cisco_net_reg_other_server_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: cisco_net_reg_ha_dns_partner_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - - label: cisco_net_reg_ha_dns_partner_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: cisco_net_reg_ha_dns_partner_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - - label: cisco_net_reg_ha_dns_partner_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: cisco_net_reg_masters_not_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDnsServerIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifZoneName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cnrNotifDnsRemoteServersList = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cisco_net_reg_masters_not_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: cisco_net_reg_masters_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDnsServerIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifZoneName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cnrNotifDnsRemoteServersList = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cisco_net_reg_masters_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: cisco_net_reg_secondary_zones_expired_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDnsServerIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifZoneName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cnrNotifDnsRemoteServersList = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: cisco_net_reg_secondary_zones_expired_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: cisco_net_reg_dns_forwarders_not_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDnsServerIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifDnsRemoteServersList = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_net_reg_dns_forwarders_not_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: cisco_net_reg_dns_forwarders_resp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifDnsServerIpAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifDnsRemoteServersList = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_net_reg_dns_forwarders_resp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: cisco_net_reg_ha_dns_config_err_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cnrNotifServer = this.trap.VarBinds.index(0).Value - root.out.cisco.cnrNotifZoneName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_net_reg_ha_dns_config_err_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-NS-MIB-fcNameServerNotifications.yml b/traps/rules/cisco/CISCO-NS-MIB-fcNameServerNotifications.yml deleted file mode 100644 index 763a8d0b..00000000 --- a/traps/rules/cisco/CISCO-NS-MIB-fcNameServerNotifications.yml +++ /dev/null @@ -1,101 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-NS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fc_name_server_reject_reg_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcNameServerPortName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcNameServerRejectReasonCode = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.293.1.3.1") - root.out.cisco.fcNameServerRejReasonCodeExp = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.293.1.3.2") - - label: fc_name_server_reject_reg_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-NS-MIB-fcNameServerRejectRegNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-NS-MIB-fcNameServerRejectRegNotify" - root.out.event.category.name = "Name Server Registration Status" - root.out.object.name = "fcNameServerEntry.." - root.out.event.message = "Name Server Rejected Registration Request, " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.293.1.3.1").string() + " ( NS Port: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: fc_name_server_database_full_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(0).Value - - label: fc_name_server_database_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-NS-MIB-fcNameServerDatabaseFull" - root.out.event.id = "SNMPTRAP-cisco-CISCO-NS-MIB-fcNameServerDatabaseFull" - root.out.event.category.name = "Name Server Database Status" - root.out.object.name = "vsanEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Name Server Database Full" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN000" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN00" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fc_name_server_entry_add_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcNameServerPortName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcNameServerPortType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.293.1.1.4.1.8") - - label: fc_name_server_entry_add_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: fc_name_server_entry_delete_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fcNameServerPortName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.fcNameServerPortType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.293.1.1.4.1.8") - - label: fc_name_server_entry_delete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-OAM-MIB-oamLoopbackPingMIBTraps.yml b/traps/rules/cisco/CISCO-OAM-MIB-oamLoopbackPingMIBTraps.yml deleted file mode 100644 index 86170993..00000000 --- a/traps/rules/cisco/CISCO-OAM-MIB-oamLoopbackPingMIBTraps.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-OAM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: oam_loopback_ping_completion_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.oamLoopbackPingCompleted = this.trap.VarBinds.index(0).Value.bool() - - label: oam_loopback_ping_completion_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-OAM-MIB-oamLoopbackPingCompletionTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-OAM-MIB-oamLoopbackPingCompletionTrap" - root.out.event.category.name = "OAM Loopback Ping Completion" - root.out.object.name = "oamLoopbackPingEntry.2" - root.out.event.message = "Loopback Ping Completed for Sequence of OAM Loopback Cells ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-OPTICAL-PATCH-MIB-cOPatchMIBNotifications.yml b/traps/rules/cisco/CISCO-OPTICAL-PATCH-MIB-cOPatchMIBNotifications.yml deleted file mode 100644 index 4d6f4b60..00000000 --- a/traps/rules/cisco/CISCO-OPTICAL-PATCH-MIB-cOPatchMIBNotifications.yml +++ /dev/null @@ -1,96 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-OPTICAL-PATCH-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_opatch_event_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cOPatchLowIfIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cOPatchHighIfIndex = this.trap.VarBinds.index(1).Value - root.out.cisco.cOPatchType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4") - root.out.cisco.cOPatchStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.5") - root.out.cisco.cOPatchEventType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4") - root.out.cisco.cOPatchLastConVerChange = this.trap.VarBinds.index(5).Value - root.out.cisco.cOPatchConVer = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.10") - root.out.cisco.cOPatchLastILVerChange = this.trap.VarBinds.index(7).Value - root.out.cisco.cOPatchILVer = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.12") - root.out.cisco.cOPatchLastILVer = this.trap.VarBinds.index(9).Value - root.out.cisco.cOPatchExcessIL = this.trap.VarBinds.index(10).Value - - label: c_opatch_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-OPTICAL-PATCH-MIB-cOPatchEvent" - root.out.event.id = "SNMPTRAP-cisco-CISCO-OPTICAL-PATCH-MIB-cOPatchEvent" - root.out.event.category.name = "Optical Patch Status" - root.out.object.name = "cOPatchEntry.2" - - label: c_opatch_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: c_opatch_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4").string() + " Optical Patch " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4").string() + ", Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: c_opatch_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4").string() + " Optical Patch " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4").string() + ", Unknown Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: c_opatch_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4").string() + " Optical Patch " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4").string() + ", Wrong Interface Type" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: c_opatch_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4").string() + " Optical Patch " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4").string() + ", Frequency Channel Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: c_opatch_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.5.1.4").string() + " Optical Patch " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.67.1.4").string() + ", Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: c_opatch_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Patch: " + root.out.object.name + ", Low: ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", High: ifEntry." + this.trap.VarBinds.index(1).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-OSCP-MIB-ciscoOscpNotificationsPrefix.yml b/traps/rules/cisco/CISCO-OSCP-MIB-ciscoOscpNotificationsPrefix.yml deleted file mode 100644 index 77c2d39f..00000000 --- a/traps/rules/cisco/CISCO-OSCP-MIB-ciscoOscpNotificationsPrefix.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-OSCP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: coscp_notify_trans_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.coscpLinkTransDown = this.trap.VarBinds.index(0).Value - - label: coscp_notify_trans_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-OSCP-MIB-coscpNotifyTransDown" - root.out.event.id = "SNMPTRAP-cisco-CISCO-OSCP-MIB-coscpNotifyTransDown" - root.out.event.category.name = "OSCP Link Status" - root.out.object.name = "coscpLinkEntry.2" - root.out.event.message = "Optical Supervisory Channel Link Down ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-PIM-MIB-ciscoPimMIBNotifications.yml b/traps/rules/cisco/CISCO-PIM-MIB-ciscoPimMIBNotifications.yml deleted file mode 100644 index b92bee4a..00000000 --- a/traps/rules/cisco/CISCO-PIM-MIB-ciscoPimMIBNotifications.yml +++ /dev/null @@ -1,109 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-PIM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_pim_interface_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.pimInterfaceStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.61.1.1.2.1.7") - - label: cisco_pim_interface_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PIM Interface Status" - root.out.object.name = "2" - root.out.event.message = "PIM Interface Up ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_pim_interface_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.pimInterfaceStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.61.1.1.2.1.7") - - label: cisco_pim_interface_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PIM Interface Status" - root.out.object.name = "2" - root.out.event.message = "PIM Interface Down ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_pim_rpmapping_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.pimRPSetHoldTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cpimRPMappingChangeType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.2.1.1") - - label: cisco_pim_rpmapping_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RP Mapping" - root.out.object.name = "" - root.out.event.message = lookup($2, cpimRPMappingChangeType) ( Component.GroupAddr.GroupMask.Addr - - label: cisco_pim_rpmapping_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_pim_invalid_register_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cpimLastErrorOriginType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.4") - root.out.cisco.cpimLastErrorOrigin = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cpimLastErrorGroupType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.6") - root.out.cisco.cpimLastErrorGroup = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cpimLastErrorRPType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.8") - root.out.cisco.cpimLastErrorRP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.cpimInvalidRegisterMsgsRcvd = this.trap.VarBinds.index(6).Value - - label: cisco_pim_invalid_register_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Register Message" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - root.out.event.message = "Invalid Register Message ( Origin - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_pim_invalid_join_prune_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cpimLastErrorOriginType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.4") - root.out.cisco.cpimLastErrorOrigin = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cpimLastErrorGroupType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.6") - root.out.cisco.cpimLastErrorGroup = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cpimLastErrorRPType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.184.1.1.8") - root.out.cisco.cpimLastErrorRP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.cpimInvalidJoinPruneMsgsRcvd = this.trap.VarBinds.index(6).Value - - label: cisco_pim_invalid_join_prune_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Join/Prune" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + "." + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - root.out.event.message = "Invalid Join/Prune Message ( Origin - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-PING-MIB-ciscoPingMIBTraps.yml b/traps/rules/cisco/CISCO-PING-MIB-ciscoPingMIBTraps.yml deleted file mode 100644 index c3c4a127..00000000 --- a/traps/rules/cisco/CISCO-PING-MIB-ciscoPingMIBTraps.yml +++ /dev/null @@ -1,30 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-PING-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ping_completion_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoPingCompleted = this.trap.VarBinds.index(0).Value.bool() - root.out.cisco.ciscoPingSentPackets = this.trap.VarBinds.index(1).Value - root.out.cisco.ciscoPingReceivedPackets = this.trap.VarBinds.index(2).Value - - label: cisco_ping_completion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Ping Completion" - root.out.object.name = "2" - root.out.event.message = "Ping Sequence Completed: SentPackets - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-PPPOE-MIB-ciscoPppoeMIBNotification.yml b/traps/rules/cisco/CISCO-PPPOE-MIB-ciscoPppoeMIBNotification.yml deleted file mode 100644 index fbd81a1f..00000000 --- a/traps/rules/cisco/CISCO-PPPOE-MIB-ciscoPppoeMIBNotification.yml +++ /dev/null @@ -1,272 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-PPPOE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: c_pppoe_system_session_threshold_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemCurrSessions = this.trap.VarBinds.index(0).Value - root.out.cisco.cPppoeSystemMaxAllowedSessions = this.trap.VarBinds.index(1).Value - root.out.cisco.cPppoeSystemThresholdSessions = this.trap.VarBinds.index(2).Value - - label: c_pppoe_system_session_threshold_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-PPPOE-MIB-cPppoeSystemSessionThresholdTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-PPPOE-MIB-cPppoeSystemSessionThresholdTrap" - root.out.event.category.name = "PPPoE Session Threshold" - root.out.object.name = "" - root.out.event.message = "PPPoE Active Sessions, " + this.trap.VarBinds.index(0).Value.string() + ", Exceeds " + this.trap.VarBinds.index(2).Value.string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: c_pppoe_vc_session_threshold_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeVcCurrSessions = this.trap.VarBinds.index(0).Value - root.out.cisco.cPppoeVcMaxAllowedSessions = this.trap.VarBinds.index(1).Value - root.out.cisco.cPppoeVcThresholdSessions = this.trap.VarBinds.index(2).Value - - label: c_pppoe_vc_session_threshold_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-PPPOE-MIB-cPppoeVcSessionThresholdTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-PPPOE-MIB-cPppoeVcSessionThresholdTrap" - root.out.event.category.name = "PPPoE VC Session Threshold" - root.out.object.name = "" - root.out.event.message = "PPPoE Active VC Sessions, " + this.trap.VarBinds.index(0).Value.string() + ", Exceeds " + this.trap.VarBinds.index(2).Value.string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: c_pppoe_system_session_per_maclimit_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerMacSessionlimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cPppoeSystemSessionClientMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: c_pppoe_system_session_per_maclimit_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: c_pppoe_system_session_per_macthrottle_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerMacThrottleRatelimit = this.trap.VarBinds.index(0).Value - root.out.cisco.cPppoeSystemSessionClientMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: c_pppoe_system_session_per_macthrottle_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: c_pppoe_system_session_per_vlanlimit_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerVLANlimit = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cPppoeSystemSessionVlanID = this.trap.VarBinds.index(2).Value - root.out.cisco.cPppoeSystemSessionInnerVlanID = this.trap.VarBinds.index(3).Value - - label: c_pppoe_system_session_per_vlanlimit_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: c_pppoe_system_session_per_vlanthrottle_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerVLANthrottleRatelimit = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cPppoeSystemSessionVlanID = this.trap.VarBinds.index(2).Value - root.out.cisco.cPppoeSystemSessionInnerVlanID = this.trap.VarBinds.index(3).Value - - label: c_pppoe_system_session_per_vlanthrottle_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: c_pppoe_system_session_per_vclimit_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerVClimit = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cPppoeSystemSessionVci = this.trap.VarBinds.index(2).Value - root.out.cisco.cPppoeSystemSessionVpi = this.trap.VarBinds.index(3).Value - - label: c_pppoe_system_session_per_vclimit_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: c_pppoe_system_session_per_vcthrottle_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemPerVCThrottleRatelimit = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cPppoeSystemSessionVci = this.trap.VarBinds.index(2).Value - root.out.cisco.cPppoeSystemSessionVpi = this.trap.VarBinds.index(3).Value - - label: c_pppoe_system_session_per_vcthrottle_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: c_pppoe_system_session_loss_threshold_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemSessionLossThreshold = this.trap.VarBinds.index(0).Value - - label: c_pppoe_system_session_loss_threshold_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: c_pppoe_per_interface_session_loss_threshold_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.cPppoePerInterfaceSessionLossThreshold = this.trap.VarBinds.index(1).Value - - label: c_pppoe_per_interface_session_loss_threshold_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: c_pppoe_system_session_loss_percent_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cPppoeSystemSessionLossPercent = this.trap.VarBinds.index(0).Value - - label: c_pppoe_system_session_loss_percent_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: c_pppoe_per_interface_session_loss_percent_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.cPppoePerInterfaceSessionLossPercent = this.trap.VarBinds.index(1).Value - - label: c_pppoe_per_interface_session_loss_percent_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeMIBNotifs.yml b/traps/rules/cisco/CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeMIBNotifs.yml deleted file mode 100644 index 908c0160..00000000 --- a/traps/rules/cisco/CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeMIBNotifs.yml +++ /dev/null @@ -1,37 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-PSA-MICROCODE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_psa_microcode_reload_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.entPhysicalDescr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cpmcModulePsaCurrBundleId = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.259.1.1.1.1.1") - root.out.cisco.cpmcModulePsaPrevBundleId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.259.1.1.1.1.2") - root.out.cisco.cpmcModulePsaFeaturesEnabled = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.259.1.1.1.1.3") - root.out.cisco.cpmcModulePsaFeaturesDisabled = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.259.1.1.1.1.4") - - label: cisco_psa_microcode_reload_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeReload" - root.out.event.id = "SNMPTRAP-cisco-CISCO-PSA-MICROCODE-MIB-ciscoPsaMicrocodeReload" - root.out.event.category.name = "PSA Microcode Status" - root.out.object.name = "cpmcModulePsaEntry.259" - root.out.event.message = "PSA Microcode Reloaded, Current Microcode Bundle: " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.259.1.1.1.1.1").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-REPEATER-MIB-ciscoRptrMIBTraps.yml b/traps/rules/cisco/CISCO-REPEATER-MIB-ciscoRptrMIBTraps.yml deleted file mode 100644 index 28e7a559..00000000 --- a/traps/rules/cisco/CISCO-REPEATER-MIB-ciscoRptrMIBTraps.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-REPEATER-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_rptr_illegal_src_addr_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoRptrPortLastIllegalSrcAddr = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: cisco_rptr_illegal_src_addr_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-REPEATER-MIB-ciscoRptrIllegalSrcAddrTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-REPEATER-MIB-ciscoRptrIllegalSrcAddrTrap" - root.out.event.category.name = "Repeater Port Status" - root.out.object.name = "ciscoRptrPortEntry.22.3" - root.out.event.message = "Illegal MAC Source Address Violation ( MAC: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ", Group: 22, Port: 3 )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-RF-MIB-ciscoRFMIBNotifications.yml b/traps/rules/cisco/CISCO-RF-MIB-ciscoRFMIBNotifications.yml deleted file mode 100644 index 5eba59f9..00000000 --- a/traps/rules/cisco/CISCO-RF-MIB-ciscoRFMIBNotifications.yml +++ /dev/null @@ -1,98 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-RF-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_rfswact_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cRFStatusUnitId = this.trap.VarBinds.index(0).Value - root.out.cisco.sysUpTime = this.trap.VarBinds.index(1).Value - root.out.cisco.cRFStatusLastSwactReasonCode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.8") - - label: cisco_rfswact_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SWACT Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SWACT: " + this.trap.VarBinds.index(0).Value.string() + " Active: " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.8").string() - - label: cisco_rfswact_notif_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_rfprogression_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cRFStatusUnitId = this.trap.VarBinds.index(0).Value - root.out.cisco.cRFStatusUnitState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.2") - root.out.cisco.cRFStatusPeerUnitId = this.trap.VarBinds.index(2).Value - root.out.cisco.cRFStatusPeerUnitState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.4") - - label: cisco_rfprogression_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Unit Status" - root.out.object.name = "Unit ID: " + this.trap.VarBinds.index(0).Value.string() + ", Peer Unit ID: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Redundant Unit State Change, Unit: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.2").string() + ", Peer Unit: " + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.4").string() - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_rfissu_state_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cRFStatusUnitId = this.trap.VarBinds.index(0).Value - root.out.cisco.cRFStatusUnitState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.2") - root.out.cisco.cRFStatusIssuState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.12") - - label: cisco_rfissu_state_notif_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_rfissu_state_notif_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cRFStatusIssuStateRev1 = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.13") - root.out.cisco.cRFStatusIssuFromVersion = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cRFStatusIssuToVersion = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cRFStatusLastSwactReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.176.1.1.8") - - label: cisco_rfissu_state_notif_rev1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-RHINO-MIB-ciscoLS1010ChassisMIBNotifications.yml b/traps/rules/cisco/CISCO-RHINO-MIB-ciscoLS1010ChassisMIBNotifications.yml deleted file mode 100644 index 5a2debdf..00000000 --- a/traps/rules/cisco/CISCO-RHINO-MIB-ciscoLS1010ChassisMIBNotifications.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-RHINO-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ls1010chassis_failure_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoLS1010ChassisPs0Status = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.5") - root.out.cisco.ciscoLS1010ChassisPs1Status = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.9") - root.out.cisco.ciscoLS1010ChassisFanStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.11") - root.out.cisco.ciscoLS1010Chassis12VoltStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.15") - root.out.cisco.ciscoLS1010ChassisTempStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.16") - - label: cisco_ls1010chassis_failure_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RHINO-MIB-ciscoLS1010ChassisFailureNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RHINO-MIB-ciscoLS1010ChassisFailureNotification" - root.out.event.category.name = "LS1010 Chassis Status" - root.out.object.name = "" - root.out.event.message = "LS1010 Chassis OK, PS0: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.5").string() + ", PS1: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.9").string() + ", Fan: " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.11").string() + ", 12V: " + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.15").string() + ", Temp: " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.16").string() - root.out.event.message = "LS1010 Chassis Failure, PS0: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.5").string() + ", PS1: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.9").string() + ", Fan: " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.11").string() + ", 12V: " + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.15").string() + ", Temp: " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.5.11.1.1.16").string() - - label: cisco_ls1010chassis_failure_notification_rules_7 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_ls1010chassis_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RHINO-MIB-ciscoLS1010ChassisChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RHINO-MIB-ciscoLS1010ChassisChangeNotification" - root.out.event.category.name = "LS1010 Chassis Status" - root.out.object.name = "" - root.out.event.message = "LS1010 Chassis OK, PS0: lookup($1, ciscoLS1010OperStatus), PS1: lookup($2, ciscoLS1010OperStatus), Fan: lookup($3, ciscoLS1010OperStatus), 12V: lookup($4, ciscoLS1010Chassis12VoltStatus), Temp: lookup($5, ciscoLS1010ChassisTempStatus) - root.out.event.message = "LS1010 Chassis Failure, PS0: lookup($1, ciscoLS1010OperStatus), PS1: lookup($2, ciscoLS1010OperStatus), Fan: lookup($3, ciscoLS1010OperStatus), 12V: lookup($4, ciscoLS1010Chassis12VoltStatus), Temp: lookup($5, ciscoLS1010ChassisTempStatus) - - label: cisco_ls1010chassis_change_notification_rules_2 - mapping: | - #!blobl - root = this - - label: cisco_ls1010chassis_change_notification_rules_3 - mapping: | - #!blobl - root = this - - label: cisco_ls1010chassis_change_notification_rules_4 - mapping: | - #!blobl - root = this - - label: cisco_ls1010chassis_change_notification_rules_5 - mapping: | - #!blobl - root = this - - label: cisco_ls1010chassis_change_notification_rules_6 - mapping: | - #!blobl - root = this - - label: cisco_ls1010chassis_change_notification_rules_7 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-RSCN-MIB-rscnNotifications.yml b/traps/rules/cisco/CISCO-RSCN-MIB-rscnNotifications.yml deleted file mode 100644 index 4256844b..00000000 --- a/traps/rules/cisco/CISCO-RSCN-MIB-rscnNotifications.yml +++ /dev/null @@ -1,96 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-RSCN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: rscn_els_reject_req_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rscnElsRejReasonCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.2") - root.out.cisco.rscnNotifyFcId = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: rscn_els_reject_req_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RSCN-MIB-rscnElsRejectReqNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RSCN-MIB-rscnElsRejectReqNotify" - root.out.event.category.name = "SCR/RSCN Request Status" - root.out.object.name = "Fibre Channel ID: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "SCR or RSCN Request Rejected, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.2").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: rscn_ils_reject_req_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rscnIlsRejReasonCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.1") - root.out.cisco.rscnNotifyFcId = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: rscn_ils_reject_req_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RSCN-MIB-rscnIlsRejectReqNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RSCN-MIB-rscnIlsRejectReqNotify" - root.out.event.category.name = "SW_RSCN Request Status" - root.out.object.name = "Fibre Channel ID: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "SW_RSCN Request Rejected, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.1").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: rscn_els_rx_reject_req_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rscnElsRejReasonCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.2") - root.out.cisco.rscnNotifyFcId = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: rscn_els_rx_reject_req_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: rscn_ils_rx_reject_req_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rscnIlsRejReasonCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.292.1.3.1") - root.out.cisco.rscnNotifyFcId = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: rscn_ils_rx_reject_req_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-RSRB-MIB-rsrbNotifications.yml b/traps/rules/cisco/CISCO-RSRB-MIB-rsrbNotifications.yml deleted file mode 100644 index 93b896bd..00000000 --- a/traps/rules/cisco/CISCO-RSRB-MIB-rsrbNotifications.yml +++ /dev/null @@ -1,136 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-RSRB-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: rsrb_peer_state_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rsrbRemotePeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.29.1.2.1.1.5") - - label: rsrb_peer_state_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RSRB-MIB-rsrbPeerStateChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RSRB-MIB-rsrbPeerStateChangeNotification" - root.out.event.category.name = "RSRB Peer Status" - root.out.object.name = "rsrbRemotePeerEntry.29.2" - - label: rsrb_peer_state_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: rsrb_peer_state_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Dead" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: rsrb_peer_state_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connection Closed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: rsrb_peer_state_change_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connection Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: rsrb_peer_state_change_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connection Open, Waiting Transport" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: rsrb_peer_state_change_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connection Waiting for Remote Response" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: rsrb_peer_state_change_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Responded" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: rsrb_peer_state_change_notification_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Opened" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: rsrb_peer_state_change_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connection Draining" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: rsrb_peer_state_change_notification_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: rsrb_peer_state_change_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RSRB Remote Peer Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rsrb_peer_state_change_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-RTTMON-MIB-rttMonNotifications.yml b/traps/rules/cisco/CISCO-RTTMON-MIB-rttMonNotifications.yml deleted file mode 100644 index 085c87ea..00000000 --- a/traps/rules/cisco/CISCO-RTTMON-MIB-rttMonNotifications.yml +++ /dev/null @@ -1,339 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-RTTMON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: rtt_mon_connection_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonCtrlOperConnectionLostOccurred = this.trap.VarBinds.index(2).Value.bool() - - label: rtt_mon_connection_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonConnectionChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonConnectionChangeNotification" - root.out.event.category.name = "RTT Connection Status" - root.out.object.name = "rttMonCtrlOperEntry." - - label: rtt_mon_connection_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.bool().string() == 1 - processors: - - label: rtt_mon_connection_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Connection Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value.bool().string() == 2 - processors: - - label: rtt_mon_connection_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: rtt_mon_connection_change_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rtt_mon_connection_change_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: rtt_mon_timeout_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonCtrlOperTimeoutOccurred = this.trap.VarBinds.index(2).Value.bool() - - label: rtt_mon_timeout_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonTimeoutNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonTimeoutNotification" - root.out.event.category.name = "RTT Operation Status" - root.out.object.name = "rttMonCtrlOperEntry." - - label: rtt_mon_timeout_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.bool().string() == 1 - processors: - - label: rtt_mon_timeout_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Timed-Out" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value.bool().string() == 2 - processors: - - label: rtt_mon_timeout_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Successful" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: rtt_mon_timeout_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rtt_mon_timeout_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: rtt_mon_threshold_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonCtrlOperOverThresholdOccurred = this.trap.VarBinds.index(2).Value.bool() - - label: rtt_mon_threshold_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonThresholdNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonThresholdNotification" - root.out.event.category.name = "RTT Threshold Status" - root.out.object.name = "rttMonCtrlOperEntry." - - label: rtt_mon_threshold_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.bool().string() == 1 - processors: - - label: rtt_mon_threshold_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Threshold Crossed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value.bool().string() == 2 - processors: - - label: rtt_mon_threshold_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Threshold Normal" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: rtt_mon_threshold_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Threshold Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rtt_mon_threshold_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: rtt_mon_verify_error_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonCtrlOperVerifyErrorOccurred = this.trap.VarBinds.index(2).Value.bool() - - label: rtt_mon_verify_error_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonVerifyErrorNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-RTTMON-MIB-rttMonVerifyErrorNotification" - root.out.event.category.name = "RTT Operation Status" - root.out.object.name = "rttMonCtrlOperEntry." - - label: rtt_mon_verify_error_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.bool().string() == 1 - processors: - - label: rtt_mon_verify_error_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value.bool().string() == 2 - processors: - - label: rtt_mon_verify_error_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Successful" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: rtt_mon_verify_error_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Response Time Operation Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rtt_mon_verify_error_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = root.out.event.message + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: rtt_mon_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonReactVar = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.42.1.2.19.1.2") - root.out.cisco.rttMonReactOccurred = this.trap.VarBinds.index(3).Value.bool() - root.out.cisco.rttMonReactValue = this.trap.VarBinds.index(4).Value - root.out.cisco.rttMonReactThresholdRising = this.trap.VarBinds.index(5).Value - root.out.cisco.rttMonReactThresholdFalling = this.trap.VarBinds.index(6).Value - root.out.cisco.rttMonEchoAdminLSPSelector = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: rtt_mon_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: rtt_mon_lpd_discovery_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMplsVpnMonCtrlTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonLpdGrpStatsTargetPE = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonLpdGrpStatsLPDFailCause = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.42.1.3.7.1.14") - root.out.cisco.rttMonLpdGrpStatsLPDFailOccurred = this.trap.VarBinds.index(3).Value.bool() - - label: rtt_mon_lpd_discovery_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: rtt_mon_lpd_grp_status_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMplsVpnMonCtrlTag = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.rttMonLpdGrpStatsTargetPE = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonLpdGrpStatsGroupStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.42.1.3.7.1.16") - - label: rtt_mon_lpd_grp_status_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: rtt_mon_notification_v2_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.rttMonCtrlAdminLongTag = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.rttMonHistoryCollectionAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.rttMonReactVar = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.42.1.2.19.1.2") - root.out.cisco.rttMonReactOccurred = this.trap.VarBinds.index(3).Value.bool() - root.out.cisco.rttMonReactValue = this.trap.VarBinds.index(4).Value - root.out.cisco.rttMonReactThresholdRising = this.trap.VarBinds.index(5).Value - root.out.cisco.rttMonReactThresholdFalling = this.trap.VarBinds.index(6).Value - root.out.cisco.rttMonEchoAdminLSPSelector = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: rtt_mon_notification_v2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SCSI-MIB-ciscoScsiNotifications.yml b/traps/rules/cisco/CISCO-SCSI-MIB-ciscoScsiNotifications.yml deleted file mode 100644 index 4f658f40..00000000 --- a/traps/rules/cisco/CISCO-SCSI-MIB-ciscoScsiNotifications.yml +++ /dev/null @@ -1,220 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SCSI-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_scsi_tgt_dev_status_changed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoScsiTgtDeviceStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.95.1.4.1.1.2") - - label: cisco_scsi_tgt_dev_status_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SCSI-MIB-ciscoScsiTgtDevStatusChanged" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SCSI-MIB-ciscoScsiTgtDevStatusChanged" - root.out.event.category.name = "SCSI Device Status" - root.out.object.name = "ciscoScsiTgtDevEntry.95.2" - - label: cisco_scsi_tgt_dev_status_changed_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Available" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Broken" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Readying" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Abnormal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Non-Addressable Device Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Non-Addressable Device Failure, Readying" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Non-Addressable Device Failure, Abnormal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_scsi_tgt_dev_status_changed_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI Device Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_scsi_tgt_dev_status_changed_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_scsi_lu_status_changed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ciscoScsiLuStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.95.1.5.1.1.8") - - label: cisco_scsi_lu_status_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SCSI-MIB-ciscoScsiLuStatusChanged" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SCSI-MIB-ciscoScsiLuStatusChanged" - root.out.event.category.name = "SCSI LUN Status" - root.out.object.name = "ciscoScsiLuEntry.10.95.2" - - label: cisco_scsi_lu_status_changed_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Available" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Not Available" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Broken" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Readying" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_scsi_lu_status_changed_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Abnormal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_scsi_lu_status_changed_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SCSI LUN Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_scsi_lu_status_changed_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SDLLC-MIB-convSdllcNotifications.yml b/traps/rules/cisco/CISCO-SDLLC-MIB-convSdllcNotifications.yml deleted file mode 100644 index b7ec1612..00000000 --- a/traps/rules/cisco/CISCO-SDLLC-MIB-convSdllcNotifications.yml +++ /dev/null @@ -1,89 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SDLLC-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: conv_sdllc_peer_state_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.convSdllcAddrState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.28.1.2.1.1.4") - - label: conv_sdllc_peer_state_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDLLC Peer Status" - root.out.object.name = "28.2" - - label: conv_sdllc_peer_state_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Disconnected ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Disconnecting ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Pending, SDLC Primary Side ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Disconnect Pending, Network Side ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Pending, Network Side ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Pending, SDLC Secondary Side ( ifIndex.SdlcAddr - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: conv_sdllc_peer_state_change_notification_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SDLLC Connection Connected ( ifIndex.SdlcAddr - - label: conv_sdllc_peer_state_change_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubNotificationsPrefix.yml b/traps/rules/cisco/CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubNotificationsPrefix.yml deleted file mode 100644 index 1069108b..00000000 --- a/traps/rules/cisco/CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubNotificationsPrefix.yml +++ /dev/null @@ -1,120 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cssRepeaterPortLinkStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.44.1.3.1.1.5") - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubRptrPortLinkChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubRptrPortLinkChange" - root.out.event.category.name = "Repeater Port Link Status" - root.out.object.name = "cssRepeaterPortEntry.44.2" - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Repeater Port Link OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Link on Repeater Port" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Repeater Port Link Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sibu_stackable_dual_speed_hub_rptr_port_link_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Group: 44, Port: 2 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cssSwitchPortLinkStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.44.1.4.1.1.11") - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubSwitchPortLinkChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SIBU-STACKABLE-DUAL-SPEED-HUB-MIB-ciscoSibuStackableDualSpeedHubSwitchPortLinkChange" - root.out.event.category.name = "Switch Port Link Status" - root.out.object.name = "cssSwitchPortEntry.10.44.2" - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Port Link OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Link on Switch Port" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Switch Port Link Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sibu_stackable_dual_speed_hub_switch_port_link_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Group: 10, Module: 44, Port: 2 )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SLB-MIB-ciscoSlbMIBNotifications.yml b/traps/rules/cisco/CISCO-SLB-MIB-ciscoSlbMIBNotifications.yml deleted file mode 100644 index 37b6b949..00000000 --- a/traps/rules/cisco/CISCO-SLB-MIB-ciscoSlbMIBNotifications.yml +++ /dev/null @@ -1,429 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SLB-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_slb_virtual_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbVirtualServerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.4.1.1.2") - - label: cisco_slb_virtual_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SLB-MIB-ciscoSlbVirtualStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SLB-MIB-ciscoSlbVirtualStateChange" - root.out.event.category.name = "Virtual Server Status" - root.out.object.name = "slbVirtualServerTableEntry.." - - label: cisco_slb_virtual_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_slb_virtual_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server Out of Service" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_slb_virtual_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_slb_virtual_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server in Standby" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_slb_virtual_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server's Real Server Not Operational" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_slb_virtual_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server in Standby, Real Server Not Operational" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_slb_virtual_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server's Real Server Testing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_slb_virtual_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server Out of Memory" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_slb_virtual_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Virtual Server Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_slb_virtual_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Server: $String )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_slb_real_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbRealState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.3.1.1.4") - - label: cisco_slb_real_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SLB-MIB-ciscoSlbRealStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SLB-MIB-ciscoSlbRealStateChange" - root.out.event.category.name = "Real Server Status" - root.out.object.name = "slbRealTableEntry...1.9.9.161.2" - - label: cisco_slb_real_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_slb_real_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Out of Service" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_slb_real_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server In Service" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_slb_real_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_slb_real_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Failed, Ready to Test" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_slb_real_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Failed, Testing" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_slb_real_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Throttled, Maximum Connections Reached" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: cisco_slb_real_state_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Throttled, Maximum Clients Reached" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: cisco_slb_real_state_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Throttled by DFP" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: cisco_slb_real_state_change_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server SLB Probe Failed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: cisco_slb_real_state_change_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server SLB Probe Testing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: cisco_slb_real_state_change_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Waiting for Operational" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: cisco_slb_real_state_change_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Waiting for Testing" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: cisco_slb_real_state_change_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Inband Health Probe Failed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: cisco_slb_real_state_change_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server HTTP Return Code Failed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: cisco_slb_real_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Server Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_slb_real_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Server: $String, IP: 1.9.9.161, Port: 2 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_slb_sasp_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbSaspEnabled = this.trap.VarBinds.index(0).Value.bool() - - label: cisco_slb_sasp_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_slb_sasp_agent_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbSaspAgentState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.13.1.1.5") - - label: cisco_slb_sasp_agent_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_slb_vserver_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbVServerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.4.2.1.4") - root.out.cisco.slbVServerStateChangeDescr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.slbVServerClassMap = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.slbVServerPolicyMap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cisco_slb_vserver_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_slb_vserver_vipstate_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.slbVServerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.4.2.1.4") - root.out.cisco.slbVServerStateChangeDescr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.slbVServerClassMap = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.slbVServerPolicyMap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.slbVServerIpAddressType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.4.3.1.2") - root.out.cisco.slbVServerIpAddress = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.slbVServerProtocol = this.trap.VarBinds.index(6).Value - - label: cisco_slb_vserver_vipstate_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cisco_slb_virtual_server_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalParentRelPos = this.trap.VarBinds.index(0).Value - root.out.cisco.slbVirtualServerState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.4.1.1.2") - root.out.cisco.slbVirtualIpAddress = this.trap.VarBinds.index(2).Value - root.out.cisco.slbVirtualProtocol = this.trap.VarBinds.index(3).Value - root.out.cisco.slbVirtualPort = this.trap.VarBinds.index(4).Value - root.out.cisco.slbName = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cisco_slb_virtual_server_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cisco_slb_real_server_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.entPhysicalParentRelPos = this.trap.VarBinds.index(0).Value - root.out.cisco.slbRealState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.3.1.1.4") - root.out.cisco.slbInetAddressType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.161.1.8.6") - root.out.cisco.slbInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.slbPort = this.trap.VarBinds.index(4).Value - root.out.cisco.slbName = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cisco_slb_real_server_state_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SNA-LLC-MIB-snaLlcMIBNotifications.yml b/traps/rules/cisco/CISCO-SNA-LLC-MIB-snaLlcMIBNotifications.yml deleted file mode 100644 index 2e39569d..00000000 --- a/traps/rules/cisco/CISCO-SNA-LLC-MIB-snaLlcMIBNotifications.yml +++ /dev/null @@ -1,148 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SNA-LLC-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: llc_cc_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.llcCcOperState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.8.1.3.2.1.1") - root.out.cisco.llcCcOperLastFailTime = this.trap.VarBinds.index(1).Value - root.out.cisco.llcCcOperLastFailCause = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.10.8.1.3.2.1.19") - root.out.cisco.llcCcOperLastFailFRMRInfo = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: llc_cc_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "llcCc Status Change" - root.out.object.name = "" - - label: llc_cc_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: llc_cc_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component aDM ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: llc_cc_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Setup ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: llc_cc_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Normal ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: llc_cc_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Busy ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: llc_cc_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Rejected ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: llc_cc_status_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Waiting ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: llc_cc_status_change_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Waiting, Busy ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: llc_cc_status_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Waiting, Rejected ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: llc_cc_status_change_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Disconnected ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 10 - processors: - - label: llc_cc_status_change_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Reset ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 11 - processors: - - label: llc_cc_status_change_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Error ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 12 - processors: - - label: llc_cc_status_change_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Connected ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 13 - processors: - - label: llc_cc_status_change_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Reset, Check ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - check: this.trap.VarBinds.index(0).Value == 14 - processors: - - label: llc_cc_status_change_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "LLC Connection Component Reset, Waiting ( ifIndex.PortVirtual.SapNumber.CcRMac.CcRSap - - label: llc_cc_status_change_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SONET-MIB-ciscoSonetMIBNotifs.yml b/traps/rules/cisco/CISCO-SONET-MIB-ciscoSonetMIBNotifs.yml deleted file mode 100644 index abc15e3e..00000000 --- a/traps/rules/cisco/CISCO-SONET-MIB-ciscoSonetMIBNotifs.yml +++ /dev/null @@ -1,362 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SONET-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_sonet_section_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sonetSectionCurrentStatus = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_sonet_section_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetSectionStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetSectionStatusChange" - root.out.event.category.name = "SONET Section Status" - root.out.object.name = "sonetSectionCurrentEntry.1" - - label: cisco_sonet_section_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_sonet_section_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Section OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_sonet_section_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Section Loss of Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_sonet_section_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Section Loss of Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 6 - processors: - - label: cisco_sonet_section_status_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Section Loss of Signal and Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sonet_section_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Section Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sonet_section_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Interface: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_sonet_line_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sonetLineCurrentStatus = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_sonet_line_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetLineStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetLineStatusChange" - root.out.event.category.name = "SONET Line Status" - root.out.object.name = "sonetLineCurrentEntry.2" - - label: cisco_sonet_line_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_sonet_line_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Line OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_sonet_line_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Line Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_sonet_line_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Line Remote Defect Indicator" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 6 - processors: - - label: cisco_sonet_line_status_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Line AIS and RDI" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sonet_line_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Line Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sonet_line_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Interface: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_sonet_path_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sonetPathCurrentStatus = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_sonet_path_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetPathStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetPathStatusChange" - root.out.event.category.name = "SONET Path Status" - root.out.object.name = "sonetPathCurrentEntry.3" - - label: cisco_sonet_path_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_sonet_path_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_sonet_path_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path STS Loss of Pointer" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_sonet_path_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path STS Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 8 - processors: - - label: cisco_sonet_path_status_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path Remote Defect Indicator" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 16 - processors: - - label: cisco_sonet_path_status_change_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path Unequipped" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 32 - processors: - - label: cisco_sonet_path_status_change_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path Signal Label Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sonet_path_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET Path Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sonet_path_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Interface: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_sonet_vtstatus_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sonetVTCurrentStatus = this.trap.VarBinds.index(0).Value - root.out.cisco.ifDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cisco_sonet_vtstatus_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetVTStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SONET-MIB-ciscoSonetVTStatusChange" - root.out.event.category.name = "SONET VT Status" - root.out.object.name = "sonetVTCurrentEntry.4" - - label: cisco_sonet_vtstatus_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.string() == 1 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.string() == 2 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Loss of Pointer" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 4 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 8 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Remote Defect Indicator" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 16 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Path RFI" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 32 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Unequipped" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.string() == 64 - processors: - - label: cisco_sonet_vtstatus_change_rules_2_64 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Signal Label Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cisco_sonet_vtstatus_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SONET VT Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sonet_vtstatus_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Interface: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SP-MIB-ciscoSpMIBNotifications.yml b/traps/rules/cisco/CISCO-SP-MIB-ciscoSpMIBNotifications.yml deleted file mode 100644 index b23a0b80..00000000 --- a/traps/rules/cisco/CISCO-SP-MIB-ciscoSpMIBNotifications.yml +++ /dev/null @@ -1,200 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_sp_linkset_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cSpLinksetState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.73.1.2.1.1.3") - - label: cisco_sp_linkset_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SP-MIB-ciscoSpLinksetStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SP-MIB-ciscoSpLinksetStateChange" - root.out.event.category.name = "Signalling Point Linkset Status" - root.out.object.name = "cSpLinksetTableEntry." - - label: cisco_sp_linkset_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_sp_linkset_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_sp_linkset_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_sp_linkset_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Administratively Inhibited" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_sp_linkset_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Administratively Uninhibited" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_sp_linkset_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Administratively Unavailable" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_sp_linkset_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Administratively Available" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: cisco_sp_linkset_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Linkset Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sp_linkset_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Linkset: $String )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_sp_link_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cSpLinkState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.73.1.3.1.1.2") - - label: cisco_sp_link_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SP-MIB-ciscoSpLinkStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SP-MIB-ciscoSpLinkStateChange" - root.out.event.category.name = "Signalling Point Link Status" - root.out.object.name = "cSpLinkTableEntry..2" - - label: cisco_sp_link_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cisco_sp_link_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cisco_sp_link_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cisco_sp_link_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Administratively Inhibited" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cisco_sp_link_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Administratively Uninhibited" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: cisco_sp_link_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Administratively Unavailable" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: cisco_sp_link_state_change_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Administratively Available" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: cisco_sp_link_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Signalling Point Link Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cisco_sp_link_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Linkset: $String, Link SLC: 2 )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SRP-MIB-srpTrapsNotifications.yml b/traps/rules/cisco/CISCO-SRP-MIB-srpTrapsNotifications.yml index 3a37e223..8717e584 100644 --- a/traps/rules/cisco/CISCO-SRP-MIB-srpTrapsNotifications.yml +++ b/traps/rules/cisco/CISCO-SRP-MIB-srpTrapsNotifications.yml @@ -27,7 +27,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRP-MIB-srpTrapRingWrapped" root.out.event.id = "SNMPTRAP-cisco-CISCO-SRP-MIB-srpTrapRingWrapped" root.out.event.category.name = "SRP IPS Wrapping" - root.out.object.name = "srpMACSideEntry." + this.trap.VarBinds.index(0).Value.string() + "." + root.out.object.name = "srpMACSideEntry." + this.trap.VarBinds.index(0).Value.string() root.out.event.message = "SRP Interface Wrapped ( " + root.out.object.name + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -55,7 +55,7 @@ root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRP-MIB-srpTrapRingRestored" root.out.event.id = "SNMPTRAP-cisco-CISCO-SRP-MIB-srpTrapRingRestored" root.out.event.category.name = "SRP IPS Wrapping" - root.out.object.name = "srpMACSideEntry." + this.trap.VarBinds.index(0).Value.string() + "." + root.out.object.name = "srpMACSideEntry." + this.trap.VarBinds.index(0).Value.string() root.out.event.message = "SRP Interface Restored ( " + root.out.object.name + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" diff --git a/traps/rules/cisco/CISCO-SRST-MIB-ciscoSrstMIBNotifications.yml b/traps/rules/cisco/CISCO-SRST-MIB-ciscoSrstMIBNotifications.yml deleted file mode 100644 index 7cc1c517..00000000 --- a/traps/rules/cisco/CISCO-SRST-MIB-ciscoSrstMIBNotifications.yml +++ /dev/null @@ -1,174 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SRST-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: csrst_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.csrstSysNotifSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.441.2.2.2.1") - root.out.cisco.csrstState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.441.1.3.1") - root.out.cisco.csrstSysNotifReason = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: csrst_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstStateChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstStateChange" - root.out.event.category.name = "SRST Status" - root.out.object.name = "" - - label: csrst_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: csrst_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Survivable Remote Site Telephony Active" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: csrst_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Survivable Remote Site Telephony Inactive" - - processors: - - label: csrst_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Survivable Remote Site Telephony Status Unknown" - - label: csrst_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 2 - processors: - - label: csrst_fail_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.csrstSysNotifSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.441.2.2.2.1") - root.out.cisco.csrstSysNotifReason = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: csrst_fail_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstFailNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstFailNotif" - root.out.event.category.name = "SRST Router Status" - root.out.object.name = "" - - label: csrst_fail_notif_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: csrst_fail_notif_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SRST Router OK" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: csrst_fail_notif_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SRST Router Failure" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: csrst_fail_notif_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "SRST Router Catastrophic Failure" - - processors: - - label: csrst_fail_notif_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "SRST Router Status Unknown" - - label: csrst_fail_notif_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - - check: this.trap.SpecificTrap == 3 - processors: - - label: csrst_sip_phone_un_reg_threshold_exceed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.csrstSipPhoneUnRegThreshold = this.trap.VarBinds.index(0).Value - root.out.cisco.csrstSipPhoneCurrentRegistered = this.trap.VarBinds.index(1).Value - - label: csrst_sip_phone_un_reg_threshold_exceed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstSipPhoneUnRegThresholdExceed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstSipPhoneUnRegThresholdExceed" - root.out.event.category.name = "SIP Phone Registration Threshold" - root.out.object.name = "" - root.out.event.message = "Unregistered SIP Phone Fell Below " + this.trap.VarBinds.index(0).Value.string() + ", " + this.trap.VarBinds.index(1).Value.string() + " SIP Phone Currently Registered" - - check: this.trap.SpecificTrap == 4 - processors: - - label: csrst_sip_phone_reg_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.csrstSipEndpointIpAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: csrst_sip_phone_reg_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstSipPhoneRegFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstSipPhoneRegFailed" - root.out.event.category.name = "SIP Phone Registration Status" - root.out.object.name = "csrstSipEndpointEntry.441" - root.out.event.message = "SIP Phone Registration Failed ( SIP Phone: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: csrst_conference_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.csrstMaxConferences = this.trap.VarBinds.index(0).Value - - label: csrst_conference_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstConferenceFailed" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SRST-MIB-csrstConferenceFailed" - root.out.event.category.name = "Three-Party Conference Threshold" - root.out.object.name = "" - root.out.event.message = "Maximum Supported Number of Simultaneous Three-Party Conferences Exceeded " + this.trap.VarBinds.index(0).Value.string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-STACK-MIB-ciscoStackNotificationsPrefix.yml b/traps/rules/cisco/CISCO-STACK-MIB-ciscoStackNotificationsPrefix.yml deleted file mode 100644 index 9c42d3f8..00000000 --- a/traps/rules/cisco/CISCO-STACK-MIB-ciscoStackNotificationsPrefix.yml +++ /dev/null @@ -1,250 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ler_alarm_on_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fddimibPORTSMTIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.fddimibPORTIndex = this.trap.VarBinds.index(1).Value - - label: ler_alarm_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-lerAlarmOn" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-lerAlarmOn" - root.out.event.category.name = "Link Error Rate" - root.out.object.name = "fddimibPORTEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Link Error Rate Alarm ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ler_alarm_off_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.fddimibPORTSMTIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.fddimibPORTIndex = this.trap.VarBinds.index(1).Value - - label: ler_alarm_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-lerAlarmOff" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-lerAlarmOff" - root.out.event.category.name = "Link Error Rate" - root.out.object.name = "fddimibPORTEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Link Error Rate Alarm Cleared ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: module_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.moduleIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.moduleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.3.1.1.2") - - label: module_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-moduleUp" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-moduleUp" - root.out.event.category.name = "Module Status" - root.out.object.name = "moduleEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.3.1.1.2").string() + " Module Up ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: module_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.moduleIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.moduleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.3.1.1.2") - - label: module_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-moduleDown" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-moduleDown" - root.out.event.category.name = "Module Status" - root.out.object.name = "moduleEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.3.1.1.2").string() + " Module Down ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 5 - processors: - - label: chassis_alarm_on_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.chassisTempAlarm = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.13") - root.out.cisco.chassisMinorAlarm = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.11") - root.out.cisco.chassisMajorAlarm = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.12") - - label: chassis_alarm_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-chassisAlarmOn" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-chassisAlarmOn" - root.out.event.category.name = "Chassis Status" - root.out.object.name = "" - - label: chassis_alarm_on_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: chassis_alarm_on_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Alarm Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: chassis_alarm_on_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Too high" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: chassis_alarm_on_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Critical, System Shutdown Imminent" - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - label: chassis_alarm_on_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Minor Chassis Alarm" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "Major Chassis Alarm" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - root.out.event.message = "All Chassis Alarms Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.message = "Unknown Chassis Alarm Status" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 6 - processors: - - label: chassis_alarm_off_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.chassisTempAlarm = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.13") - root.out.cisco.chassisMinorAlarm = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.11") - root.out.cisco.chassisMajorAlarm = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.2.12") - - label: chassis_alarm_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-chassisAlarmOff" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-chassisAlarmOff" - root.out.event.category.name = "Chassis Status" - root.out.object.name = "" - root.out.event.message = "All Chassis Alarms Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 7 - processors: - - label: ip_permit_denied_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ipPermitDeniedAddress = this.trap.VarBinds.index(0).Value - root.out.cisco.ipPermitDeniedAccess = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.17.3.1.2") - - label: ip_permit_denied_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-ipPermitDeniedTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-ipPermitDeniedTrap" - root.out.event.category.name = "IP Permit Access" - root.out.object.name = "ipPermitDeniedListEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Host Denied " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.5.1.17.3.1.2").string() + " Access ( Host IP: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 9 - processors: - - label: sys_config_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysConfigChangeTime = this.trap.VarBinds.index(0).Value - root.out.cisco.sysConfigChangeInfo = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sys_config_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-sysConfigChangeTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-sysConfigChangeTrap" - root.out.event.category.name = "NVRAM Config Change" - root.out.object.name = "" - root.out.event.message = "NVRAM Config Change, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 10 - processors: - - label: token_ring_soft_err_exceeded_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ringStationMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.ifIndex = this.trap.VarBinds.index(1).Value - root.out.cisco.ifName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: token_ring_soft_err_exceeded_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STACK-MIB-tokenRingSoftErrExceededTrap" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STACK-MIB-tokenRingSoftErrExceededTrap" - root.out.event.category.name = "Token Ring Soft Error" - root.out.object.name = "ringStationEntry." - root.out.event.message = "Token Ring Station Exceeded Soft Error Threshold ( Station: " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ", Interface: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-STP-EXTENSIONS-MIB-stpxNotificationsPrefix.yml b/traps/rules/cisco/CISCO-STP-EXTENSIONS-MIB-stpxNotificationsPrefix.yml deleted file mode 100644 index f9e37a53..00000000 --- a/traps/rules/cisco/CISCO-STP-EXTENSIONS-MIB-stpxNotificationsPrefix.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-STP-EXTENSIONS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: stpx_inconsistency_update_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.stpxInconsistentState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.3.1.1.3") - - label: stpx_inconsistency_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxInconsistencyUpdate" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxInconsistencyUpdate" - root.out.event.category.name = "VLAN Port STP Consistency" - root.out.object.name = "stpxInconsistencyEntry.82.2" - - label: stpx_inconsistency_update_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: stpx_inconsistency_update_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port Spanning Tree Consistent" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: stpx_inconsistency_update_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port Spanning Tree Port-Type Inconsistency" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: stpx_inconsistency_update_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port Spanning Tree PVID Inconsistency" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: stpx_inconsistency_update_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port Spanning Tree Consistency Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: stpx_inconsistency_update_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VLAN: 82, Port: 2 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: stpx_root_inconsistency_update_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.stpxRootInconsistencyState = this.trap.VarBinds.index(0).Value.bool() - root.out.cisco.stpxSpanningTreeType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1") - - label: stpx_root_inconsistency_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxRootInconsistencyUpdate" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxRootInconsistencyUpdate" - root.out.event.category.name = "VLAN Port STP Root Consistency" - root.out.object.name = "stpxRootInconsistencyEntry.82.2" - - label: stpx_root_inconsistency_update_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.bool().string() == 1 - processors: - - label: stpx_root_inconsistency_update_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Root Inconsistency" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.bool().string() == 2 - processors: - - label: stpx_root_inconsistency_update_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Root Consistent" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: stpx_root_inconsistency_update_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Root Consistency Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: stpx_root_inconsistency_update_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VLAN: 82, Port: 2 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: stpx_loop_inconsistency_update_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.stpxLoopInconsistencyState = this.trap.VarBinds.index(0).Value.bool() - root.out.cisco.stpxSpanningTreeType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1") - - label: stpx_loop_inconsistency_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxLoopInconsistencyUpdate" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STP-EXTENSIONS-MIB-stpxLoopInconsistencyUpdate" - root.out.event.category.name = "VLAN Port STP Loop Consistency" - root.out.object.name = "stpxLoopInconsistencyEntry.82.2" - - label: stpx_loop_inconsistency_update_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.bool().string() == 1 - processors: - - label: stpx_loop_inconsistency_update_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Loop Inconsistency" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value.bool().string() == 2 - processors: - - label: stpx_loop_inconsistency_update_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Loop Consistent" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: stpx_loop_inconsistency_update_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Port " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.6.1").string() + " Spanning Tree Loop Consistency Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: stpx_loop_inconsistency_update_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: stpx_mst_inconsistency_update_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.stpxMstInconsistencyState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.82.1.3.2.1.3") - - label: stpx_mst_inconsistency_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-STUN-MIB-stunNotifications.yml b/traps/rules/cisco/CISCO-STUN-MIB-stunNotifications.yml deleted file mode 100644 index d2decf4c..00000000 --- a/traps/rules/cisco/CISCO-STUN-MIB-stunNotifications.yml +++ /dev/null @@ -1,106 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-STUN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: stun_peer_state_change_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.stunRoutePeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.30.1.4.1.1.6") - - label: stun_peer_state_change_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-STUN-MIB-stunPeerStateChangeNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-STUN-MIB-stunPeerStateChangeNotification" - root.out.event.category.name = "STUN Peer State Change" - root.out.object.name = "stunRouteEntry.30.2" - - label: stun_peer_state_change_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: stun_peer_state_change_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Dead" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: stun_peer_state_change_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Closed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: stun_peer_state_change_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Opening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: stun_peer_state_change_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Open, Waiting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: stun_peer_state_change_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: stun_peer_state_change_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Direct" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: stun_peer_state_change_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "STUN Route Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: stun_peer_state_change_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SYSLOG-MIB-ciscoSyslogMIBNotifications.yml b/traps/rules/cisco/CISCO-SYSLOG-MIB-ciscoSyslogMIBNotifications.yml deleted file mode 100644 index c764973b..00000000 --- a/traps/rules/cisco/CISCO-SYSLOG-MIB-ciscoSyslogMIBNotifications.yml +++ /dev/null @@ -1,54 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SYSLOG-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: clog_message_generated_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.clogHistFacility = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.clogHistSeverity = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.41.1.2.3.1.3") - root.out.cisco.clogHistMsgName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.cisco.clogHistMsgText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.clogHistTimestamp = this.trap.VarBinds.index(4).Value - - label: clog_message_generated_rules_1 - mapping: | - #!blobl - root = this - - label: clog_message_generated_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "--" - root.out.event.category.name = "-" - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.class.name = "SYSLOG-cisco-ios-" + root.out.event.category.name - root.out.event.id = "SYSLOG-cisco-ios-" + root.out.event.category.name - - label: clog_message_generated_rules_5 - mapping: | - #!blobl - root = this - - label: clog_message_generated_rules_6 - mapping: | - #!blobl - root = this - - label: clog_message_generated_rules_7 - mapping: | - #!blobl - root = this - - label: clog_message_generated_rules_8 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseFailNotificationPrefix.yml b/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseFailNotificationPrefix.yml deleted file mode 100644 index 1bb556e9..00000000 --- a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseFailNotificationPrefix.yml +++ /dev/null @@ -1,49 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SYSTEM-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cse_fail_sw_core_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cse_fail_sw_core_notify_extended_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.cseSwCoresFileName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cseSwCorePath = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.cseSwCoresPID = this.trap.VarBinds.index(3).Value - - label: cse_fail_sw_core_notify_extended_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseHaNotificationPrefix.yml b/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseHaNotificationPrefix.yml deleted file mode 100644 index b2fdf284..00000000 --- a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseHaNotificationPrefix.yml +++ /dev/null @@ -1,54 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SYSTEM-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cse_ha_restart_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cseHaRestartReason = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.305.1.3.2") - root.out.cisco.cseHaRestartService = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.cseHaRestartStateless = this.trap.VarBinds.index(2).Value.bool() - - label: cse_ha_restart_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-SYSTEM-EXT-MIB-cseHaRestartNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-SYSTEM-EXT-MIB-cseHaRestartNotify" - root.out.event.category.name = "Service Status" - root.out.object.name = "Service: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Service Restarted on Active Supervisor, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.305.1.3.2").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cse_shut_down_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cseHaShutDownReason = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: cse_shut_down_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseMaintModeNotificationPrefix.yml b/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseMaintModeNotificationPrefix.yml deleted file mode 100644 index adee2e3d..00000000 --- a/traps/rules/cisco/CISCO-SYSTEM-EXT-MIB-cseMaintModeNotificationPrefix.yml +++ /dev/null @@ -1,52 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-SYSTEM-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cse_normal_mode_change_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cseMaintModeState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.305.1.7.1") - - label: cse_normal_mode_change_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cse_maint_mode_change_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cseMaintModeState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.305.1.7.1") - - label: cse_maint_mode_change_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-SYSTEM-MIB-ciscoSystemMIBNotifications.yml b/traps/rules/cisco/CISCO-SYSTEM-MIB-ciscoSystemMIBNotifications.yml index 710eb3d7..7c719416 100644 --- a/traps/rules/cisco/CISCO-SYSTEM-MIB-ciscoSystemMIBNotifications.yml +++ b/traps/rules/cisco/CISCO-SYSTEM-MIB-ciscoSystemMIBNotifications.yml @@ -20,7 +20,7 @@ root.out.event.id = "SNMPTRAP-cisco-CISCO-SYSTEM-MIB-ciscoSystemClockChanged" root.out.event.category.name = "System Clock Changed" root.out.object.name = "" - root.out.event.message = "System Clock Local Date and Time Manually Changed to " + this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli().string() + root.out.event.message = "System Clock Local Date and Time Manually Changed to " + this.trap.VarBinds.index(0).Value.snmp_date_and_time().string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - processors: diff --git a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsConfig.yml b/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsConfig.yml deleted file mode 100644 index 808c9b2d..00000000 --- a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsConfig.yml +++ /dev/null @@ -1,85 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-TS-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ts_stack_cfg_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsNumSwitches = this.trap.VarBinds.index(2).Value - - label: cisco_ts_stack_cfg_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stack Configuration" - root.out.object.name = "" - root.out.event.message = "Switch Added or Removed from Stack" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_ts_stack_pro_stack_matrix_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsProStackMatrixStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.32.1.1.13") - - label: cisco_ts_stack_pro_stack_matrix_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stack Matrix" - root.out.object.name = "" - - label: cisco_ts_stack_pro_stack_matrix_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cisco_ts_stack_pro_stack_matrix_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Stack Switched Over to Primary Matrix" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cisco_ts_stack_pro_stack_matrix_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Stack Switched Over to Secondary Matrix" - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: cisco_ts_stack_pro_stack_matrix_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Stack Not Connected to a Matrix" - - check: this.trap.VarBinds.index(2).Value == 4 - processors: - - label: cisco_ts_stack_pro_stack_matrix_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Stack Matrix Failed" - - label: cisco_ts_stack_pro_stack_matrix_change_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsPort.yml b/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsPort.yml deleted file mode 100644 index 36a30fb7..00000000 --- a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsPort.yml +++ /dev/null @@ -1,148 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-TS-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ts_port_str_nfwd_entry_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsPortCfgActualForwardingMode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.32.4.1.1.16") - - label: cisco_ts_port_str_nfwd_entry_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_ts_port_cfg_loss_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsPortStatsCfgLoss = this.trap.VarBinds.index(2).Value - - label: cisco_ts_port_cfg_loss_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_ts_beacon_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsPortCfgNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_beacon_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_ts_beacon_end_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsPortCfgNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_beacon_end_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cisco_ts_duplicate_macaddr_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsPortCfgNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_duplicate_macaddr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cisco_ts_port_soft_err_exceeded_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsStackSwitchNumber = this.trap.VarBinds.index(2).Value - root.out.cisco.ciscoTsPortCfgNumber = this.trap.VarBinds.index(3).Value - root.out.cisco.ringStationIfIndex = this.trap.VarBinds.index(4).Value - root.out.cisco.ringStationMacAddress = this.trap.VarBinds.index(5).Value.snmp_mac_address() - root.out.cisco.ifName = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: cisco_ts_port_soft_err_exceeded_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsStack.yml b/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsStack.yml deleted file mode 100644 index 1e8b3eeb..00000000 --- a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsStack.yml +++ /dev/null @@ -1,56 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-TS-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_ts_stack_temp_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsStackSwitchTemperature = this.trap.VarBinds.index(2).Value - - label: cisco_ts_stack_temp_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_ts_stack_pwr_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsStackSwitchPwrSupplyStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.32.2.1.1.30") - - label: cisco_ts_stack_pwr_status_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsTChannel.yml b/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsTChannel.yml deleted file mode 100644 index a6edeb02..00000000 --- a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsTChannel.yml +++ /dev/null @@ -1,58 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-TS-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ts_token_channel_failed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTCPorts = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cisco_ts_token_channel_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_ts_token_channel_status_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTCStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.5.32.7.1.1.4") - root.out.cisco.ciscoTsTCPorts = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.ciscoTsTCActivePorts = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cisco_ts_token_channel_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsVLANS.yml b/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsVLANS.yml deleted file mode 100644 index bf324781..00000000 --- a/traps/rules/cisco/CISCO-TS-STACK-MIB-ciscoTsVLANS.yml +++ /dev/null @@ -1,100 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-TS-STACK-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_ts_tr_crfnew_root_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTrCRFInfoTrCRFNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_tr_crfnew_root_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cisco_ts_tr_crftopology_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTrCRFInfoTrCRFNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_tr_crftopology_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cisco_ts_tr_brfnew_root_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTrBRFInfoTrBRFNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_tr_brfnew_root_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cisco_ts_tr_brftopology_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.sysLocation = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.ciscoTsTrBRFInfoTrBRFNumber = this.trap.VarBinds.index(2).Value - - label: cisco_ts_tr_brftopology_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfNotifications.yml b/traps/rules/cisco/CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfNotifications.yml deleted file mode 100644 index 2d898394..00000000 --- a/traps/rules/cisco/CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfNotifications.yml +++ /dev/null @@ -1,53 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-VIRTUAL-NW-IF-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: virtual_nw_if_create_entry_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.virtualNwIfIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.ifName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: virtual_nw_if_create_entry_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfCreateEntryNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfCreateEntryNotify" - root.out.event.category.name = "Virtual Interface Status" - root.out.object.name = "virtualNwIfEntry.290.1.3" - root.out.event.message = lookup($virtualNwIfType_Raw, virtualNwIfType) Virtual Interface Created ( lookup($virtualNwIfType_Raw, virtualNwIfType): 3, Interface: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: virtual_nw_if_delete_entry_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.virtualNwIfIndex = this.trap.VarBinds.index(0).Value - - label: virtual_nw_if_delete_entry_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfDeleteEntryNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VIRTUAL-NW-IF-MIB-virtualNwIfDeleteEntryNotify" - root.out.event.category.name = "Virtual Interface Status" - root.out.object.name = "virtualNwIfEntry.290.1.3" - root.out.event.message = lookup($virtualNwIfType_Raw, virtualNwIfType)Virtual Interface Deleted ( lookup($virtualNwIfType_Raw, virtualNwIfType): 3 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-VOICE-APPS-MIB-ciscoVoiceAppsMIBNotifications.yml b/traps/rules/cisco/CISCO-VOICE-APPS-MIB-ciscoVoiceAppsMIBNotifications.yml deleted file mode 100644 index 6e15e08d..00000000 --- a/traps/rules/cisco/CISCO-VOICE-APPS-MIB-ciscoVoiceAppsMIBNotifications.yml +++ /dev/null @@ -1,118 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-VOICE-APPS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cva_module_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvaAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.1") - root.out.cisco.cvaModuleName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cva_module_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleStart" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleStart" - root.out.event.category.name = "Voice Application Module Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Voice Application Module Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cva_module_stop_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvaAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.1") - root.out.cisco.cvaModuleName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cvaModuleFailureCause = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.5") - root.out.cisco.cvaModuleFailureName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.cvaModuleFailureMessage = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: cva_module_stop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleStop" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleStop" - root.out.event.category.name = "Voice Application Module Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Voice Application Module Stopped, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.5").string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cva_module_run_time_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvaAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.1") - root.out.cisco.cvaModuleName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cvaModuleRunTimeFailureCause = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.7") - root.out.cisco.cvaModuleFailureName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.cvaModuleFailureMessage = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: cva_module_run_time_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleRunTimeFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaModuleRunTimeFailure" - root.out.event.category.name = "Voice Application Module Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Voice Application Module Runtime " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.7").string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cva_process_start_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvaAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.1") - root.out.cisco.cvaModuleName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cvaProcessId = this.trap.VarBinds.index(2).Value - - label: cva_process_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaProcessStart" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaProcessStart" - root.out.event.category.name = "Voice Application Process Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", PID: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Voice Application Process Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cva_process_stop_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvaAlarmSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.190.1.2.1") - root.out.cisco.cvaModuleName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cvaProcessId = this.trap.VarBinds.index(2).Value - - label: cva_process_stop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaProcessStop" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-APPS-MIB-cvaProcessStop" - root.out.event.category.name = "Voice Application Process Status" - root.out.object.name = "Module: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", PID: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Voice Application Process Stopped ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-VOICE-DIAL-CONTROL-MIB-cvdcMIBNotifications.yml b/traps/rules/cisco/CISCO-VOICE-DIAL-CONTROL-MIB-cvdcMIBNotifications.yml deleted file mode 100644 index cd8f4de0..00000000 --- a/traps/rules/cisco/CISCO-VOICE-DIAL-CONTROL-MIB-cvdcMIBNotifications.yml +++ /dev/null @@ -1,231 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-VOICE-DIAL-CONTROL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cvdc_poor_qo_vnotification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvVoIPCallHistoryConnectionId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cvVoIPCallHistoryIcpif = this.trap.VarBinds.index(1).Value - root.out.cisco.cvVoIPCallHistoryRemoteIPAddress = this.trap.VarBinds.index(2).Value - root.out.cisco.cCallHistoryCallOrigin = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.10.25.1.4.3.1.12") - root.out.cisco.cvCommonDcCallHistoryCoderTypeRate = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.55.1.2.1.1.3") - - label: cvdc_poor_qo_vnotification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-DIAL-CONTROL-MIB-cvdcPoorQoVNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-DIAL-CONTROL-MIB-cvdcPoorQoVNotification" - root.out.event.category.name = "VoIP Quality of Voice" - root.out.object.name = "cvVoIPCallHistoryEntry.2" - root.out.event.message = "Poor VoIP Quality of Voice, Coder Rate: " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.55.1.2.1.1.3").string() - - label: cvdc_poor_qo_vnotification_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: cvdc_poor_qo_vnotification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call To: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: cvdc_poor_qo_vnotification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call From: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: cvdc_poor_qo_vnotification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Callback To: " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: cvdc_poor_qo_vnotification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call: " + this.trap.VarBinds.index(2).Value.string() + " )" - - label: cvdc_poor_qo_vnotification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cvdc_poor_qo_vnotification_rev1_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvVoIPCallHistoryConnectionId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cvVoIPCallHistoryIcpif = this.trap.VarBinds.index(1).Value - root.out.cisco.cvVoIPCallHistoryRemMediaIPAddrT = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.63.1.4.2.1.27") - root.out.cisco.cvVoIPCallHistoryRemMediaIPAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.cisco.cCallHistoryCallOrigin = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.10.25.1.4.3.1.12") - root.out.cisco.cvCommonDcCallHistoryCoderTypeRate = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.10.55.1.2.1.1.3") - - label: cvdc_poor_qo_vnotification_rev1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VOICE-DIAL-CONTROL-MIB-cvdcPoorQoVNotificationRev1" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VOICE-DIAL-CONTROL-MIB-cvdcPoorQoVNotificationRev1" - root.out.event.category.name = "VoIP Quality of Voice" - root.out.object.name = "cvVoIPCallHistoryEntry.2" - root.out.event.message = "Poor VoIP Quality of Voice, Coder Rate: " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.10.55.1.2.1.1.3").string() - - label: cvdc_poor_qo_vnotification_rev1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cvdc_poor_qo_vnotification_rev1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call To: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cvdc_poor_qo_vnotification_rev1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call From: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cvdc_poor_qo_vnotification_rev1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Callback To: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - processors: - - label: cvdc_poor_qo_vnotification_rev1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Call: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - label: cvdc_poor_qo_vnotification_rev1_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cvdc_active_ds0s_high_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvCallActiveDS0s = this.trap.VarBinds.index(0).Value - root.out.cisco.cvCallActiveDS0sHighThreshold = this.trap.VarBinds.index(1).Value - - label: cvdc_active_ds0s_high_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cvdc_active_ds0s_low_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvCallActiveDS0s = this.trap.VarBinds.index(0).Value - root.out.cisco.cvCallActiveDS0sLowThreshold = this.trap.VarBinds.index(1).Value - - label: cvdc_active_ds0s_low_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cvdc_fallback_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cvVoIPCallHistoryConnectionId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.cvVoIPCallHistoryFallbackIcpif = this.trap.VarBinds.index(1).Value - root.out.cisco.cvVoIPCallHistoryFallbackLoss = this.trap.VarBinds.index(2).Value - root.out.cisco.cvVoIPCallHistoryFallbackDelay = this.trap.VarBinds.index(3).Value - root.out.cisco.cvVoIPCallHistoryRemSigIPAddrT = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.63.1.4.2.1.24") - root.out.cisco.cvVoIPCallHistoryRemSigIPAddr = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.cisco.cvVoIPCallHistoryRemMediaIPAddrT = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.9.9.63.1.4.2.1.27") - root.out.cisco.cvVoIPCallHistoryRemMediaIPAddr = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.cisco.cCallHistoryCallOrigin = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.9.10.25.1.4.3.1.12") - root.out.cisco.cvCommonDcCallHistoryCoderTypeRate = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.9.10.55.1.2.1.1.3") - - label: cvdc_fallback_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cvdc_policy_violation_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ccVoIPCallActivePolicyName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.cisco.cvVoIPCallActiveReversedDirectionPeerAddress = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.callActivePeerId = this.trap.VarBinds.index(2).Value - root.out.cisco.callActivePeerAddress = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: cvdc_policy_violation_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-VSAN-MIB-vsanNotifications.yml b/traps/rules/cisco/CISCO-VSAN-MIB-vsanNotifications.yml deleted file mode 100644 index 0ccff814..00000000 --- a/traps/rules/cisco/CISCO-VSAN-MIB-vsanNotifications.yml +++ /dev/null @@ -1,156 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-VSAN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: vsan_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.vsanAdminState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.282.1.1.3.1.4") - root.out.cisco.vsanOperState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.282.1.1.3.1.8") - - label: vsan_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VSAN-MIB-vsanStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VSAN-MIB-vsanStatusChange" - root.out.event.category.name = "VSAN Status" - root.out.object.name = "vsanEntry." + this.trap.VarBinds.index(0).Value.string() - - label: vsan_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: vsan_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Up, Administratively Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: vsan_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Up, Administratively Suspended" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: vsan_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Up, Administrative Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: vsan_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: vsan_status_change_rules_3_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Down, Administratively Active" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: vsan_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Down, Administratively Suspended" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: vsan_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Down, Administrative Status Unknown" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - label: vsan_status_change_rules_4 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: vsan_status_change_rules_4_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Status Unknown, Administratively Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: vsan_status_change_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Status Unknown, Administratively Suspended" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: vsan_status_change_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VSAN Status Unknown, Administrative Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: vsan_status_change_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( VSAN: VSAN000" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN00" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN" + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: vsan_port_membership_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vsanFcFeElementName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.cisco.ifIndex = this.trap.VarBinds.index(1).Value - root.out.cisco.notifyVsanIndex = this.trap.VarBinds.index(2).Value - - label: vsan_port_membership_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-VTP-MIB-vtpNotifications.yml b/traps/rules/cisco/CISCO-VTP-MIB-vtpNotifications.yml new file mode 100644 index 00000000..39d509aa --- /dev/null +++ b/traps/rules/cisco/CISCO-VTP-MIB-vtpNotifications.yml @@ -0,0 +1,1435 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Cisco CISCO-VTP-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # vtpConfigRevNumberError + # + # A configuration revision number error notification signifies that a device has incremented its + # vtpConfigRevNumberErrors counter. + # + # managementDomainConfigRevNumber (Gauge32) - The current Configuration Revision Number as known by the local device + # for this management domain when managementDomainVersionInUse is version1(1) or version2(2). If + # managementDomainVersionInUse is version3(4), this object has the same value with vtpDatabaseRevisionNumber of + # VLAN database type. This value is updated (if necessary) whenever a VTP advertisement is received or generated. + # When in the 'no management-domain' state, this value is 0. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value.string() + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigRevNumberError" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigRevNumberError" + root.out.event.category.name = "VTP configuration state" + root.out.event.message = "VTP configuration revision number error, rev. " + root.out.cisco.managementDomainConfigRevNumber + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigRevNumberError" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigRevNumberError-unknown" + root.out.event.category.name = "VTP configuration state" + root.out.event.message = "VTP configuration revision number error - UNEXPECTED VARBINDS for vtpConfigRevNumberError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 2 + # vtpConfigDigestError + # + # A configuration digest error notification signifies that a device has incremented its vtpConfigDigestErrors + # counter. + # + # managementDomainConfigRevNumber (Gauge32) - The current Configuration Revision Number as known by the local device + # for this management domain when managementDomainVersionInUse is version1(1) or version2(2). If + # managementDomainVersionInUse is version3(4), this object has the same value with vtpDatabaseRevisionNumber of + # VLAN database type. This value is updated (if necessary) whenever a VTP advertisement is received or generated. + # When in the 'no management-domain' state, this value is 0. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value.string() + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigDigestError" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigDigestError" + root.out.event.category.name = "VTP configuration state" + root.out.event.message = "VTP configuration digest error, rev. " + root.out.cisco.managementDomainConfigRevNumber + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigDigestError" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpConfigDigestError-unknown" + root.out.event.category.name = "VTP configuration state" + root.out.event.message = "VTP configuration digest error - UNEXPECTED VARBINDS for vtpConfigDigestError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 3 + # vtpServerDisabled + # + # A VTP Server disabled notification is generated when the local system is no longer able to function as a VTP + # Server because the number of defined VLANs is greater than vtpMaxVlanStorage or the local system is not able to + # recover complete VTP information after a reboot. + # + # managementDomainConfigRevNumber (Gauge32) - The current Configuration Revision Number as known by the local device + # for this management domain when managementDomainVersionInUse is version1(1) or version2(2). If + # managementDomainVersionInUse is version3(4), this object has the same value with vtpDatabaseRevisionNumber of + # VLAN database type. This value is updated (if necessary) whenever a VTP advertisement is received or generated. + # When in the 'no management-domain' state, this value is 0. + # vtpMaxVlanStorage (Integer32) - An estimate of the maximum number of VLANs about which the local system can + # recover complete VTP information after a reboot. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.1.2") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value.string() + root.out.cisco.vtpMaxVlanStorage = this.trap.VarBinds.index(1).Value + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpServerDisabled" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpServerDisabled" + root.out.event.category.name = "VTP server state" + root.out.event.message = "VTP server disabled, defined VLANs exceeds maximum VLAN storage of " + root.out.cisco.vtpMaxVlanStorage.string() + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpServerDisabled" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpServerDisabled-unknown" + root.out.event.category.name = "VTP server state" + root.out.event.message = "VTP server disabled - UNEXPECTED VARBINDS for vtpServerDisabled trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 4 + # vtpMtuTooBig + # + # A VTP MTU tooBig notification is generated when a VLAN's MTU size is larger than can be supported either: + # - by one or more of its trunk ports: the included vtpVlanState has the value 'mtuTooBigForTrunk' and the included + # vlanTrunkPortManagementDomain is for the first (or only) trunk port + # - by the device itself: vtpVlanState has the value 'mtuTooBigForDevice' and any instance of + # vlanTrunkPortManagementDomain is included. + # Devices which have no trunk ports do not send vtpMtuTooBig notifications. + # + # vlanTrunkPortManagementDomain (Integer32) - The value of managementDomainIndex for the management domain on this + # trunk port. + # vtpVlanState (INTEGER) - The state of this VLAN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.6.1.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.3.1.1.2") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta vtpVlanState = this.trap.VarBinds.index(1).Value + + root.out.cisco.vlanTrunkPortManagementDomain = this.trap.VarBinds.index(0).Value.string() + root.out.cisco.vtpVlanState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.46.1.3.1.1.2") + + root.out.object.name = "CISCO-VTP-MIB::vtpVlanEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.3.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.vtpVlanEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.cisco.managementDomainIndex = root.TEMP.vtpVlanEntry.index(0).string() + root.out.cisco.vtpVlanIndex = root.TEMP.vtpVlanEntry.index(1).string() + root.out.object.label = "domain: " + root.out.cisco.managementDomainIndex + ", VLAN: " + root.out.cisco.vtpVlanIndex + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpMtuTooBig" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpMtuTooBig" + root.out.event.category.name = "VLAN state" + + - switch: + - check: metadata("vtpVlanState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-operational" + root.out.event.message = "VLAN operational, MTU size OK" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("vtpVlanState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-suspended" + root.out.event.message = "VLAN suspended, MTU size too large" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("vtpVlanState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-mtuTooBigForDevice" + root.out.event.message = "VLAN MTU too big for device" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("vtpVlanState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-mtuTooBigForTrunk" + root.out.event.message = "VLAN MTU too big for trunk" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "VLAN state unknown, MTU size too large" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpMtuTooBig" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpMtuTooBig-unknown" + root.out.event.category.name = "VLAN state" + root.out.event.message = "VLAN state changed - UNEXPECTED VARBINDS for vtpMtuTooBig trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 6 + # vtpVersionOneDeviceDetected + # + # A VTP version one device detected notification is generated by a device when: + # a) a management domain has been put into version 2 mode (as accessed by managementDomainVersionInUse). + # b) 15 minutes has passed since a). + # c) a version 1 PDU is detected on a trunk on the device that is in that management domain which has a lower + # revision number than the current configuration. + # + # vlanTrunkPortManagementDomain (Integer32) - The value of managementDomainIndex for the management domain on this + # trunk port. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.6.1.1.2") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.vlanTrunkPortManagementDomain = this.trap.VarBinds.index(0).Value.string() + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.6.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.cisco.vlanTrunkPortManagementDomain + ", trunk port: ifIndex " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionOneDeviceDetected" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionOneDeviceDetected" + root.out.event.category.name = "trunk port VTP version" + root.out.event.message = "VTP v1 device detected on non-v1 trunk port" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionOneDeviceDetected" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionOneDeviceDetected-unknown" + root.out.event.category.name = "trunk port VTP version" + root.out.event.message = "version one device detected on VTP trunk port - UNEXPECTED VARBINDS for vtpVersionOneDeviceDetected trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 7 + # vlanTrunkPortDynamicStatusChange + # + # A vlanTrunkPortDynamicStatusChange notification is generated by a device when the value of + # vlanTrunkPortDynamicStatus object has been changed. + # + # vlanTrunkPortDynamicStatus (INTEGER) - Indicates whether the specified interface is either acting as a trunk or not. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.6.1.1.14") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta vlanTrunkPortDynamicStatus = this.trap.VarBinds.index(0).Value + + root.out.cisco.vlanTrunkPortDynamicStatus = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.46.1.6.1.1.14") + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.6.1.1.14") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "trunk port: ifIndex " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vlanTrunkPortDynamicStatusChange" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vlanTrunkPortDynamicStatusChange" + root.out.event.category.name = "trunk port dynamic trunking state" + + - switch: + - check: metadata("vlanTrunkPortDynamicStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-on" + root.out.event.message = "trunk port dynamic trunking on, always a trunk and will initiate negotiation" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("vlanTrunkPortDynamicStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-off" + root.out.event.message = "trunk port dynamic trunking off, never a trunk" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("vlanTrunkPortDynamicStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-desirable" + root.out.event.message = "trunk port dynamic trunking desirable, will initiate negotiation" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("vlanTrunkPortDynamicStatus") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-auto" + root.out.event.message = "trunk port dynamic trunking automatic, capable and willing but doesn't initiate negotiation" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("vlanTrunkPortDynamicStatus") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-onNoNegotiate" + root.out.event.message = "trunk port dynamic trunking on, always a trunk but doesn't initiate negotiation" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "trunk port dynamic trunking state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vlanTrunkPortDynamicStatusChange" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vlanTrunkPortDynamicStatusChange-unknown" + root.out.event.category.name = "trunk port dynamic trunking state" + root.out.event.message = "trunk port dynamic trunking state changed - UNEXPECTED VARBINDS for vlanTrunkPortDynamicStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 8 + # vtpLocalModeChanged + # + # A vtpLocalModeChanged notification is generated by a device when the value of the object managementDomainLocalMode + # is changed. + # + # managementDomainLocalMode (INTEGER) - The local VTP mode in this management domain. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.3") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.managementDomainLocalMode = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.3") + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpLocalModeChanged" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpLocalModeChanged" + root.out.event.category.name = "VTP local mode state" + root.out.event.message = "VTP local mode changed to " + root.out.cisco.managementDomainLocalMode + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpLocalModeChanged" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpLocalModeChanged-unknown" + root.out.event.category.name = "VTP local mode state" + root.out.event.message = "VTP local mode state change - UNEXPECTED VARBINDS for vtpLocalModeChanged trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 9 + # vtpVersionInUseChanged + # + # A vtpVersionInUseChanged notification is generated by a device when the value of the object + # managementDomainVersionInUse is changed. + # + # managementDomainVersionInUse (INTEGER) - The current version of the VTP that is in use by the designated + # management domain. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.11") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.managementDomainVersionInUse = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.11") + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.11") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionInUseChanged" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionInUseChanged" + root.out.event.category.name = "VTP in-use version" + root.out.event.message = "VTP version in-use changed to " + root.out.cisco.managementDomainVersionInUse + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionInUseChanged" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVersionInUseChanged-unknown" + root.out.event.category.name = "VTP in-use version" + root.out.event.message = "VTP version in-use changed - UNEXPECTED VARBINDS for vtpVersionInUseChanged trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 10 + # vtpVlanCreated + # + # A vtpVlanCreated notification is generated by a device when a VLAN is created. + # + # vtpVlanName (DisplayString) - The name of this VLAN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.3.1.1.4") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.vtpVlanName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "CISCO-VTP-MIB::vtpVlanEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.3.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.vtpVlanEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.cisco.managementDomainIndex = root.TEMP.vtpVlanEntry.index(0).string() + root.out.cisco.vtpVlanIndex = root.TEMP.vtpVlanEntry.index(1).string() + root.out.object.label = "domain: " + root.out.cisco.managementDomainIndex + ", VLAN: " + root.out.cisco.vtpVlanIndex + ", VLAN name: " + root.out.cisco.vtpVlanName + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanCreated" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanCreated" + root.out.event.category.name = "VLAN state" + root.out.event.message = "VLAN created" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanCreated" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanCreated-unknown" + root.out.event.category.name = "VLAN state" + root.out.event.message = "VLAN created - UNEXPECTED VARBINDS for vtpVlanCreated trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 11 + # vtpVlanDeleted + # + # A vtpVlanDeleted notification is generated by a device when a VLAN is deleted. + # + # vtpVlanName (DisplayString) - The name of this VLAN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.3.1.1.4") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.vtpVlanName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "CISCO-VTP-MIB::vtpVlanEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.3.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.vtpVlanEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.cisco.managementDomainIndex = root.TEMP.vtpVlanEntry.index(0).string() + root.out.cisco.vtpVlanIndex = root.TEMP.vtpVlanEntry.index(1).string() + root.out.object.label = "domain: " + root.out.cisco.managementDomainIndex + ", VLAN: " + root.out.cisco.vtpVlanIndex + ", VLAN name: " + root.out.cisco.vtpVlanName + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanDeleted" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanDeleted" + root.out.event.category.name = "VLAN state" + root.out.event.message = "VLAN deleted" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanDeleted" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanDeleted-unknown" + root.out.event.category.name = "VLAN state" + root.out.event.message = "VLAN deleted - UNEXPECTED VARBINDS for vtpVlanDeleted trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 12 + # vtpVlanRingNumberConflict + # + # A VTP ring number configuration conflict notification is generated if, and only at the time when, a device learns + # of a conflict between: + # a) the ring number (vtpVlanPortLocalSegment) being used on a token ring segment attached to the port identified + # by ifIndex, and + # b) the VTP-obtained ring number (vtpVlanRingNumber) for the VLAN identified by vtpVlanIndex. + # When such a conflict occurs, the bridge port is put into an administrative down position until the conflict is + # resolved through local/network management intervention. This notification is only applicable to VLANs of type + # 'tokenRing'. + # + # vtpVlanRingNumber (Integer32) - The ring number of this VLAN. + # ifIndex (Integer32) - A unique value, greater than zero, for each interface. + # vtpVlanPortLocalSegment (Integer32) - The ring (segment) number in use on a 802.5 ring. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.3.1.1.7") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.2.2.1.1") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.9.9.46.2.1.1") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.cisco.vtpVlanRingNumber = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ifIndex = this.trap.VarBinds.index(1).Value.string() + root.out.cisco.vtpVlanPortLocalSegment = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "CISCO-VTP-MIB::vtpVlanEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.3.1.1.7") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.vtpVlanEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.cisco.managementDomainIndex = root.TEMP.vtpVlanEntry.index(0).string() + root.out.cisco.vtpVlanIndex = root.TEMP.vtpVlanEntry.index(1).string() + root.out.object.label = "domain: " + root.out.cisco.managementDomainIndex + ", VLAN: " + root.out.cisco.vtpVlanIndex + ", ring: " + root.out.cisco.vtpVlanRingNumber + ", interface: ifIndex " + root.out.ietf.ifIndex + ", segment: " + root.out.cisco.vtpVlanPortLocalSegment + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanRingNumberConflict" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanRingNumberConflict" + root.out.event.category.name = "VTP VLAN ring number state" + root.out.event.message = "VTP VLAN ring number conflict" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanRingNumberConflict" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpVlanRingNumberConflict-unknown" + root.out.event.category.name = "VTP VLAN ring number state" + root.out.event.message = "VTP VLAN ring number conflict - UNEXPECTED VARBINDS for vtpVlanRingNumberConflict trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 13 + # vtpPruningStateOperChange + # + # A vtpPruningStateOperChange notification is generated by the device when the instance value of + # managementDomainPruningStateOper is changed. + # + # managementDomainPruningStateOper (INTEGER) - Indicates whether VTP pruning is operationally enabled or disabled in + # this managament domain. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.9.9.46.1.2.1.1.12") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta managementDomainPruningStateOper = this.trap.VarBinds.index(0).Value + + root.out.cisco.managementDomainPruningStateOper = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.12") + + root.out.object.name = "CISCO-VTP-MIB::managementDomainEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.9.9.46.1.2.1.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "domain: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpPruningStateOperChange" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpPruningStateOperChange" + root.out.event.category.name = "VTP pruning state" + + - switch: + - check: metadata("managementDomainPruningStateOper") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-enabled" + root.out.event.message = "VTP pruning enabled" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("managementDomainPruningStateOper") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-disabled" + root.out.event.message = "VTP pruning disabled" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "VTP pruning state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpPruningStateOperChange" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-vtpPruningStateOperChange-unknown" + root.out.event.category.name = "VTP pruning state" + root.out.event.message = "VTP pruning state changed - UNEXPECTED VARBINDS for vtpPruningStateOperChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-unknown" + root.out.event.id = "SNMPTRAP-CISCO-VTP-MIB-vtpNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Cisco CISCO-VTP-MIB-vtpNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/cisco/CISCO-VTP-MIB-vtpNotificationsPrefix.yml b/traps/rules/cisco/CISCO-VTP-MIB-vtpNotificationsPrefix.yml deleted file mode 100644 index 4c4f2b22..00000000 --- a/traps/rules/cisco/CISCO-VTP-MIB-vtpNotificationsPrefix.yml +++ /dev/null @@ -1,344 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-VTP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: vtp_config_rev_number_error_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value - - label: vtp_config_rev_number_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpConfigRevNumberError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpConfigRevNumberError" - root.out.event.category.name = "Configuration Revision Number" - root.out.object.name = "managementDomainEntry.2" - root.out.event.message = "Configuration Revision Number Error, Rev. " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: vtp_config_digest_error_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value - - label: vtp_config_digest_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpConfigDigestError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpConfigDigestError" - root.out.event.category.name = "Configuration Digest" - root.out.object.name = "managementDomainEntry.2" - root.out.event.message = "Configuration Digest Error, Rev. " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: vtp_server_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainConfigRevNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.vtpMaxVlanStorage = this.trap.VarBinds.index(1).Value - - label: vtp_server_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpServerDisabled" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpServerDisabled" - root.out.event.category.name = "VTP Server Status" - root.out.object.name = "managementDomainEntry.2" - root.out.event.message = "VTP Server Disabled, Defined VLANs Exceeds vtpMaxVlanStorage ( " + this.trap.VarBinds.index(1).Value.string() + " ) ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: vtp_mtu_too_big_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vlanTrunkPortManagementDomain = this.trap.VarBinds.index(0).Value - root.out.cisco.vtpVlanState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.3.1.1.2") - - label: vtp_mtu_too_big_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpMtuTooBig" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpMtuTooBig" - root.out.event.category.name = "VTP MTU Status" - root.out.object.name = "vtpVlanEntry." + this.trap.VarBinds.index(0).Value.string() + ".4" - - label: vtp_mtu_too_big_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: vtp_mtu_too_big_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Operational, MTU Size OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: vtp_mtu_too_big_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN Suspended, MTU Size Too Large" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: vtp_mtu_too_big_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN's MTU Size Too Large for Device" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: vtp_mtu_too_big_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN's MTU Size Too Large for Trunk" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: vtp_mtu_too_big_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "VLAN's MTU Size Too Large" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - label: vtp_mtu_too_big_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: vtp_version_one_device_detected_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vlanTrunkPortManagementDomain = this.trap.VarBinds.index(0).Value - - label: vtp_version_one_device_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVersionOneDeviceDetected" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVersionOneDeviceDetected" - root.out.event.category.name = "VTP Version Mismatch" - root.out.object.name = "managementDomainEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "VTP Ver.1 Device Detected in Management Domain ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 7 - processors: - - label: vlan_trunk_port_dynamic_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vlanTrunkPortDynamicStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.6.1.1.14") - - label: vlan_trunk_port_dynamic_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vlanTrunkPortDynamicStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vlanTrunkPortDynamicStatusChange" - root.out.event.category.name = "Trunk Port Dynamic Status" - root.out.object.name = "vlanTrunkPortEntry.2" - - label: vlan_trunk_port_dynamic_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: vlan_trunk_port_dynamic_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Trunk Port Trunking" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: vlan_trunk_port_dynamic_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Trunk Port Not Trunking" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: vlan_trunk_port_dynamic_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Trunk Port Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: vlan_trunk_port_dynamic_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: vtp_local_mode_changed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainLocalMode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.3") - - label: vtp_local_mode_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpLocalModeChanged" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpLocalModeChanged" - root.out.event.category.name = "VTP Local Mode" - root.out.object.name = "managementDomainEntry.2" - root.out.event.message = "VTP Local Mode Changed to " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.3").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 9 - processors: - - label: vtp_version_in_use_changed_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainVersionInUse = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.11") - - label: vtp_version_in_use_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVersionInUseChanged" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVersionInUseChanged" - root.out.event.category.name = "VTP Version" - root.out.object.name = "managementDomainEntry.2" - root.out.event.message = "VTP Version Changed to " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.11").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 10 - processors: - - label: vtp_vlan_created_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vtpVlanName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: vtp_vlan_created_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanCreated" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanCreated" - root.out.event.category.name = "VLAN Create/Delete" - root.out.object.name = "vtpVlanEntry.46.2" - root.out.event.message = "VLAN Created ( VLAN: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 11 - processors: - - label: vtp_vlan_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vtpVlanName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: vtp_vlan_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanDeleted" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanDeleted" - root.out.event.category.name = "VLAN Create/Delete" - root.out.object.name = "vtpVlanEntry.46.2" - root.out.event.message = "VLAN Deleted ( VLAN: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 12 - processors: - - label: vtp_vlan_ring_number_conflict_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.vtpVlanRingNumber = this.trap.VarBinds.index(0).Value - root.out.cisco.ifIndex = this.trap.VarBinds.index(1).Value - root.out.cisco.vtpVlanPortLocalSegment = this.trap.VarBinds.index(2).Value - - label: vtp_vlan_ring_number_conflict_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanRingNumberConflict" - root.out.event.id = "SNMPTRAP-cisco-CISCO-VTP-MIB-vtpVlanRingNumberConflict" - root.out.event.category.name = "VLAN Ring Number Configuration" - root.out.object.name = "vtpVlanEntry.46.2" - root.out.event.message = "VTP Ring #, " + this.trap.VarBinds.index(0).Value.string() + ", Conflicts with Token Ring Segment #, " + this.trap.VarBinds.index(2).Value.string() + ", on Port: ifEntry." + this.trap.VarBinds.index(1).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 13 - processors: - - label: vtp_pruning_state_oper_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.managementDomainPruningStateOper = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.46.1.2.1.1.12") - - label: vtp_pruning_state_oper_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WIRELESS-DOCS-EXT-MIB-ciscoWirelessDocsExtNotifications.yml b/traps/rules/cisco/CISCO-WIRELESS-DOCS-EXT-MIB-ciscoWirelessDocsExtNotifications.yml deleted file mode 100644 index 86fd041b..00000000 --- a/traps/rules/cisco/CISCO-WIRELESS-DOCS-EXT-MIB-ciscoWirelessDocsExtNotifications.yml +++ /dev/null @@ -1,223 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WIRELESS-DOCS-EXT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cwdx_he_su_on_off_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cwdIfHeSuStatusMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.cwdIfHeSuStatusIpAddress = this.trap.VarBinds.index(1).Value - root.out.cisco.cwdIfHeSuStatusDownChanIfIndex = this.trap.VarBinds.index(2).Value - root.out.cisco.cwdIfHeSuStatusUpChanIfIndex = this.trap.VarBinds.index(3).Value - root.out.cisco.cwdIfHeSuStatusServiceId = this.trap.VarBinds.index(4).Value - root.out.cisco.cwdxHeSuStatusValue = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.9.9.169.1.3.3.1.1") - - label: cwdx_he_su_on_off_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SU Status" - root.out.object.name = "" - - label: cwdx_he_su_on_off_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Offline ( MAC - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit (see cwdIfHeSuStatusValue for status) ( MAC - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit ( MAC - - check: this.trap.VarBinds.index(5).Value == 4 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Sent Initial Ranging ( MAC - - check: this.trap.VarBinds.index(5).Value == 5 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Online, Network Access Disabled ( MAC - - check: this.trap.VarBinds.index(5).Value == 6 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Online, BPI enabled and KEK assigned ( MAC - - check: this.trap.VarBinds.index(5).Value == 7 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Online, BPI enabled and TEK assigned ( MAC - - check: this.trap.VarBinds.index(5).Value == 8 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Rejected, Bad MIC ( MAC - - check: this.trap.VarBinds.index(5).Value == 9 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Rejected, Bad COS ( MAC - - check: this.trap.VarBinds.index(5).Value == 10 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit KEK Key Assignment Rejected ( MAC - - check: this.trap.VarBinds.index(5).Value == 11 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit TEK Key Assignment Rejected ( MAC - - check: this.trap.VarBinds.index(5).Value == 12 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Online ( MAC - - check: this.trap.VarBinds.index(5).Value == 13 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit TFTP File Transfer Started ( MAC - - check: this.trap.VarBinds.index(5).Value == 14 - processors: - - label: cwdx_he_su_on_off_notification_rules_2_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Sent Time of Day Request ( MAC - - label: cwdx_he_su_on_off_notification_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cwdx_he_su_ch_over_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cwdxHeSuChOverMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.cisco.cwdxHeSuChOverDownFrequency = this.trap.VarBinds.index(1).Value - root.out.cisco.cwdxHeSuChOverUpChannelId = this.trap.VarBinds.index(2).Value - root.out.cisco.cwdxHeSuChOverOpInitiatedTime = this.trap.VarBinds.index(3).Value - root.out.cisco.cwdxHeSuChOverState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9.9.169.1.3.6.1.7") - - label: cwdx_he_su_ch_over_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SU Channel Override" - root.out.object.name = "" - - label: cwdx_he_su_ch_over_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit received RNG-RSP Message ( MAC - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Command not Active ( MAC - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit No Operation Needed ( MAC - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Not Found ( MAC - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Head-end Waiting to Send RNG-RSP Message to Subscriber-unit ( MAC - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cwdx_he_su_ch_over_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Subscriber-unit Timeout ( MAC - - label: cwdx_he_su_ch_over_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioDevTraps.yml b/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioDevTraps.yml deleted file mode 100644 index 49df3c39..00000000 --- a/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioDevTraps.yml +++ /dev/null @@ -1,563 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WIRELESS-IF-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cwr_trap_config_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrTrapReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cwr_trap_config_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapConfigMismatch" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapConfigMismatch" - root.out.event.category.name = "Configuration Mismatch" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Configuration Inconsistent, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cwr_trap_init_failure_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrTrapReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cwr_trap_init_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapInitFailure" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapInitFailure" - root.out.event.category.name = "Hardware Initialization" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Hardware Initialization Failure, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cwr_trap_link_quality_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrTrapReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cwr_trap_link_quality_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkQuality" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkQuality" - root.out.event.category.name = "Link Quality" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Link Quality Change, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cwr_trap_link_sync_lost_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - - label: cwr_trap_link_sync_lost_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkSyncLost" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkSyncLost" - root.out.event.category.name = "Link Syncronization Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Radio Link Lost Synchronization with Remote End ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cwr_trap_link_sync_acquired_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - - label: cwr_trap_link_sync_acquired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkSyncAcquired" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLinkSyncAcquired" - root.out.event.category.name = "Link Syncronization Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Radio Link Acquired Synchronization with Remote End ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cwr_trap_if_rx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrIfRxOscState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.2.1.2") - - label: cwr_trap_if_rx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfRxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfRxOsc" - root.out.event.category.name = "IF Receive Oscillator Status" - root.out.object.name = "cwrIntFreqEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cwr_trap_if_rx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_if_rx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_if_rx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_if_rx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_if_rx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cwr_trap_if_tx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrIfTxOscState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.2.1.1") - - label: cwr_trap_if_tx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfTxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfTxOsc" - root.out.event.category.name = "IF Transmit Oscillator Status" - root.out.object.name = "cwrIntFreqEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cwr_trap_if_tx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_if_tx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_if_tx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_if_tx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_if_tx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cwr_trap_if_ref_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrIfRefOscState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.2.1.3") - - label: cwr_trap_if_ref_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfRefOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapIfRefOsc" - root.out.event.category.name = "IF Reference Oscillator Status" - root.out.object.name = "cwrIntFreqEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cwr_trap_if_ref_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_if_ref_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_if_ref_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_if_ref_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_if_ref_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cwr_trap_rf_supply_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrRfSupplyVoltageState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.1.1.14") - - label: cwr_trap_rf_supply_voltage_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfSupplyVoltage" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfSupplyVoltage" - root.out.event.category.name = "RF Supply Voltage Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - - label: cwr_trap_rf_supply_voltage_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_rf_supply_voltage_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Within Specification" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_rf_supply_voltage_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Outside Specification" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_rf_supply_voltage_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_rf_supply_voltage_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cwr_trap_rf_rx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrRfRxOscState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.1.1.12") - - label: cwr_trap_rf_rx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfRxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfRxOsc" - root.out.event.category.name = "RF Receive Oscillator Status" - root.out.object.name = "cwrRfEntry." + this.trap.VarBinds.index(0).Value.string() + ".10" - - label: cwr_trap_rf_rx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_rf_rx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_rf_rx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_rf_rx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_rf_rx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cwr_trap_rf_tx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrRfTxOscState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.1.1.10") - - label: cwr_trap_rf_tx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfTxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfTxOsc" - root.out.event.category.name = "RF Transmit Oscillator" - root.out.object.name = "cwrRfEntry." + this.trap.VarBinds.index(0).Value.string() + ".11" - - label: cwr_trap_rf_tx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_rf_tx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_rf_tx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_rf_tx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_rf_tx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cwr_trap_rf_temp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrRfTemperature = this.trap.VarBinds.index(1).Value - - label: cwr_trap_rf_temp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfTemp" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfTemp" - root.out.event.category.name = "RF Module Temperature" - root.out.object.name = "cwrRfEntry." + this.trap.VarBinds.index(0).Value.string() + ".12" - root.out.event.message = "RF Module Temperature, " + this.trap.VarBinds.index(1).Value.string() + "C, Exceeds Threshold ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cwr_trap_rf_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrRfStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.9.9.136.1.5.1.1.15") - - label: cwr_trap_rf_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapRfStatusChange" - root.out.event.category.name = "RF Resource Status" - root.out.object.name = "cwrRfEntry." + this.trap.VarBinds.index(0).Value.string() + ".13" - - label: cwr_trap_rf_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: cwr_trap_rf_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Online" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: cwr_trap_rf_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Offline" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: cwr_trap_rf_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: cwr_trap_rf_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cwr_trap_link1hr_thresh_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrTrapReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cwr_trap_link1hr_thresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLink1HrThresh" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLink1HrThresh" - root.out.event.category.name = "Link 1hr. Threshold" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Link 1Hr. Threshold Exceeded, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 15 - processors: - - label: cwr_trap_link24hr_thresh_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrTrapReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cwr_trap_link24hr_thresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLink24HrThresh" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-IF-MIB-cwrTrapLink24HrThresh" - root.out.event.category.name = "Link 24hr. Threshold" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Link 24Hr. Threshold Exceeded, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioThreshTraps.yml b/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioThreshTraps.yml deleted file mode 100644 index 3461121e..00000000 --- a/traps/rules/cisco/CISCO-WIRELESS-IF-MIB-cwrRadioThreshTraps.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WIRELESS-IF-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cwr_trap_thresh_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cwrThreshValue = this.trap.VarBinds.index(0).Value - root.out.cisco.cwrThreshHysteresisTime = this.trap.VarBinds.index(1).Value - root.out.cisco.cwrThreshLimitTime = this.trap.VarBinds.index(2).Value - - label: cwr_trap_thresh_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WIRELESS-P2MP-PHY-MIB-p2mpPhyMIBNotification.yml b/traps/rules/cisco/CISCO-WIRELESS-P2MP-PHY-MIB-p2mpPhyMIBNotification.yml deleted file mode 100644 index 4175f6cb..00000000 --- a/traps/rules/cisco/CISCO-WIRELESS-P2MP-PHY-MIB-p2mpPhyMIBNotification.yml +++ /dev/null @@ -1,546 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WIRELESS-P2MP-PHY-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: p2mp_radio_phy_fail_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpLastPhyFailureType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.1.1.1.8") - root.out.cisco.p2mpLastPhyFailureReason = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: p2mp_radio_phy_fail_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpRadioPhyFailNotification" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpRadioPhyFailNotification" - root.out.event.category.name = "Radio Interface Status" - root.out.object.name = "p2mpRadioPhyEntry.2" - - label: p2mp_radio_phy_fail_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Hardware Configuration Unsupported" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Hardware Configuration Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Hardware Initialization Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Communications Link Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Automatic Cable Compensation Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_radio_phy_fail_notification_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Radio Interface Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_radio_phy_fail_notification_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: p2mp_trap_rf_supply_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfSupplyVoltageState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.13") - - label: p2mp_trap_rf_supply_voltage_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfSupplyVoltage" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfSupplyVoltage" - root.out.event.category.name = "RF Supply Voltage Status" - root.out.object.name = "p2mpRfEntry.170.2" - - label: p2mp_trap_rf_supply_voltage_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_rf_supply_voltage_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Within Specification" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_rf_supply_voltage_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Outside Specification" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_rf_supply_voltage_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Supply Voltage Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_rf_supply_voltage_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: p2mp_trap_rf_rx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfRxOscState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.12") - - label: p2mp_trap_rf_rx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfRxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfRxOsc" - root.out.event.category.name = "RF Receive Oscillator Status" - root.out.object.name = "p2mpRfEntry.170.2" - - label: p2mp_trap_rf_rx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_rf_rx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_rf_rx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_rf_rx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Receive Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_rf_rx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: p2mp_trap_rf_tx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfTxOscState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.11") - - label: p2mp_trap_rf_tx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfTxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfTxOsc" - root.out.event.category.name = "RF Transmit Oscillator Status" - root.out.object.name = "p2mpRfEntry.170.2" - - label: p2mp_trap_rf_tx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_rf_tx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_rf_tx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_rf_tx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Transmit Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_rf_tx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: p2mp_trap_rf_temp_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfTemperature = this.trap.VarBinds.index(0).Value - - label: p2mp_trap_rf_temp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfTemp" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfTemp" - root.out.event.category.name = "RF Module Temperature Status" - root.out.object.name = "p2mpRfEntry.170.2" - root.out.event.message = "RF Module Temperature, " + this.trap.VarBinds.index(0).Value.string() + "C, Excessive ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 6 - processors: - - label: p2mp_trap_rf_comm_link_error_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.2") - - label: p2mp_trap_rf_comm_link_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfCommLinkError" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfCommLinkError" - root.out.event.category.name = "RF Communication Link" - root.out.object.name = "p2mpRfEntry.170.2" - root.out.event.message = "Host/IF Module Communications Link Failure to RF " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.2").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: p2mp_trap_tx_power_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.2") - - label: p2mp_trap_tx_power_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapTxPower" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapTxPower" - root.out.event.category.name = "RF Transmit Power Status" - root.out.object.name = "p2mpRfEntry.170.2" - root.out.event.message = "RF " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.2").string() + " Transmit Power Exceeded Threshold" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 8 - processors: - - label: p2mp_trap_rf_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpRfStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.1.2.1.1.14") - - label: p2mp_trap_rf_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfStatusChange" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapRfStatusChange" - root.out.event.category.name = "RF Resource Status" - root.out.object.name = "p2mpRfEntry.170.2" - - label: p2mp_trap_rf_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_rf_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Online" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_rf_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Offline" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_rf_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "RF Resource Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_rf_status_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: p2mp_trap_he_if_rx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpHeIfRxOscState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.3.2.1.2") - - label: p2mp_trap_he_if_rx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfRxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfRxOsc" - root.out.event.category.name = "IF Receive Oscillator" - root.out.object.name = "p2mpHeIntFreqEntry.2" - - label: p2mp_trap_he_if_rx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_he_if_rx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_he_if_rx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_he_if_rx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Receive Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_he_if_rx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: p2mp_trap_he_if_tx_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpHeIfTxOscState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.3.2.1.1") - - label: p2mp_trap_he_if_tx_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfTxOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfTxOsc" - root.out.event.category.name = "IF Transmit Oscillator" - root.out.object.name = "p2mpHeIntFreqEntry.2" - - label: p2mp_trap_he_if_tx_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_he_if_tx_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_he_if_tx_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_he_if_tx_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Transmit Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_he_if_tx_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: p2mp_trap_he_if_ext_ref_osc_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpHeIfRefOscState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.170.1.3.2.1.3") - - label: p2mp_trap_he_if_ext_ref_osc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfExtRefOsc" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-PHY-MIB-p2mpTrapHeIfExtRefOsc" - root.out.event.category.name = "IF Reference Oscillator" - root.out.object.name = "p2mpHeIntFreqEntry.2" - - label: p2mp_trap_he_if_ext_ref_osc_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: p2mp_trap_he_if_ext_ref_osc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Ok" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: p2mp_trap_he_if_ext_ref_osc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Bad" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: p2mp_trap_he_if_ext_ref_osc_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "IF Reference Frequency Oscillator Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: p2mp_trap_he_if_ext_ref_osc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpRfMetricsMIBNotification.yml b/traps/rules/cisco/CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpRfMetricsMIBNotification.yml deleted file mode 100644 index 1f97b421..00000000 --- a/traps/rules/cisco/CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpRfMetricsMIBNotification.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WIRELESS-P2MP-RF-METRICS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: p2mp_trap_thresh_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.p2mpThreshValue = this.trap.VarBinds.index(0).Value - root.out.cisco.p2mpThreshHysteresisTime = this.trap.VarBinds.index(1).Value - root.out.cisco.p2mpThreshLimitTime = this.trap.VarBinds.index(2).Value - - label: p2mp_trap_thresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpTrapThresh" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WIRELESS-P2MP-RF-METRICS-MIB-p2mpTrapThresh" - root.out.event.category.name = "Radio Interface Threshold Status" - root.out.object.name = "p2mpThresholdEntry.6.1.4.1.9.9.180.3.2" - root.out.event.message = "Radio Interface lookup($p2mpThreshAttribute_Raw, P2mpRadioSignalAttribute) lookup($p2mpThreshType_Raw, CwrThreshLimitType) " + this.trap.VarBinds.index(0).Value.string() + " ( MAC: 1.4.1.9.9.180, Interface: ifEntry.6 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-WLAN-VLAN-MIB-ciscoWlanVlanMIBNotifications.yml b/traps/rules/cisco/CISCO-WLAN-VLAN-MIB-ciscoWlanVlanMIBNotifications.yml deleted file mode 100644 index 6bcb6a1c..00000000 --- a/traps/rules/cisco/CISCO-WLAN-VLAN-MIB-ciscoWlanVlanMIBNotifications.yml +++ /dev/null @@ -1,32 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-WLAN-VLAN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cisco_wlan_vlan_wep_change_notif_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.cwvlWlanNUcastKeyValue = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: cisco_wlan_vlan_wep_change_notif_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-WLAN-VLAN-MIB-ciscoWlanVlanWepChangeNotif" - root.out.event.id = "SNMPTRAP-cisco-CISCO-WLAN-VLAN-MIB-ciscoWlanVlanWepChangeNotif" - root.out.event.category.name = "WEP Key Change" - root.out.object.name = "cwvlWlanNUcastKeyEntry.9.268" - root.out.event.message = "WEP Key Changed, New Key: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " ( VLAN: 9 )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCO-ZS-MIB-zoneNotifications.yml b/traps/rules/cisco/CISCO-ZS-MIB-zoneNotifications.yml deleted file mode 100644 index d1cbadf6..00000000 --- a/traps/rules/cisco/CISCO-ZS-MIB-zoneNotifications.yml +++ /dev/null @@ -1,165 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCO-ZS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: zone_service_req_rej_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.zoneMemberFormat = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.1.11.1.4") - root.out.cisco.zoneMemberID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.cisco.zoneServiceRejReasonCode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.3.1") - root.out.cisco.zoneServiceRejReasonCodeExp = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.3.2") - - label: zone_service_req_rej_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneServiceReqRejNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneServiceReqRejNotify" - root.out.event.category.name = "Registration Request Status" - root.out.object.name = "zoneMemberEntry.9.294.1.4" - root.out.event.message = "Registration Request Rejected by Local Zone Server, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.3.1").string() + " ( " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.1.11.1.4").string() + ": " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: zone_merge_failure_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.zoneMergeFailureVSANNum = this.trap.VarBinds.index(1).Value - root.out.cisco.zoneMergeFailureObject = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.cisco.zoneMergeFailureReason = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.3.6") - - label: zone_merge_failure_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneMergeFailureNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneMergeFailureNotify" - root.out.event.category.name = "Zone Merge Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", vsanEntry." + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Zone Merge Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: zone_merge_success_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.ifIndex = this.trap.VarBinds.index(0).Value - root.out.cisco.zoneMergeSuccessVSANNum = this.trap.VarBinds.index(1).Value - - label: zone_merge_success_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneMergeSuccessNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneMergeSuccessNotify" - root.out.event.category.name = "Zone Merge Status" - root.out.object.name = "ifEntry." + this.trap.VarBinds.index(0).Value.string() + ", vsanEntry." + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Zone Merge Successful ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: zone_def_zone_behaviour_chng_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.zoneDefaultZoneBehaviour = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.1.1.1.1") - - label: zone_def_zone_behaviour_chng_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneDefZoneBehaviourChngNotify" - root.out.event.id = "SNMPTRAP-cisco-CISCO-ZS-MIB-zoneDefZoneBehaviourChngNotify" - root.out.event.category.name = "Default Zone Behaviour" - root.out.object.name = "zoneDefaultZoneEntry.4" - root.out.event.message = "Default Zone Behaviour Changed to " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.1.1.1.1").string() - root.out.event.message = root.out.event.message + " ( VSAN: VSAN0004 )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN004 )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN04 )" - root.out.event.message = root.out.event.message + " ( VSAN: VSAN4 )" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 5 - processors: - - label: zone_unsupp_mem_in_int_op_mode_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.zoneVsanId = this.trap.VarBinds.index(0).Value - - label: zone_unsupp_mem_in_int_op_mode_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: zone_activate_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.zoneSetActivateResult = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.9.294.1.1.5.1.2") - root.out.cisco.zoneSwitchWwn = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: zone_activate_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: zone_compact_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.zoneCompactVsan = this.trap.VarBinds.index(0).Value - - label: zone_compact_notify_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCOTRAP-MIB-cisco.yml b/traps/rules/cisco/CISCOTRAP-MIB-cisco.yml deleted file mode 100644 index e617b3ce..00000000 --- a/traps/rules/cisco/CISCOTRAP-MIB-cisco.yml +++ /dev/null @@ -1,58 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCOTRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: reload_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.cisco.whyReload = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: reload_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCOTRAP-MIB-reload" - root.out.event.id = "SNMPTRAP-cisco-CISCOTRAP-MIB-reload" - root.out.event.category.name = "System Reload" - root.out.object.name = "" - root.out.event.message = "System Reinitialized, " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 1 - processors: - - label: tcp_connection_close_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.tslineSesType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.2.9.3.1.1") - root.out.cisco.tcpConnState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.6.13.1.1") - root.out.cisco.loctcpConnElapsed = this.trap.VarBinds.index(2).Value - root.out.cisco.loctcpConnInBytes = this.trap.VarBinds.index(3).Value - root.out.cisco.loctcpConnOutBytes = this.trap.VarBinds.index(4).Value - root.out.cisco.tsLineUser = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: tcp_connection_close_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-CISCOTRAP-MIB-tcpConnectionClose" - root.out.event.id = "SNMPTRAP-cisco-CISCOTRAP-MIB-tcpConnectionClose" - root.out.event.category.name = "TCP Connection Status" - root.out.object.name = "tcpConnEntry....(Remote Port Ignored)" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.2.9.3.1.1").string() + " Connection Terminated ( From: , User: " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/CISCOWORKS-MIB-cwTraps.yml b/traps/rules/cisco/CISCOWORKS-MIB-cwTraps.yml deleted file mode 100644 index 266b66ad..00000000 --- a/traps/rules/cisco/CISCOWORKS-MIB-cwTraps.yml +++ /dev/null @@ -1,82 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CISCOWORKS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cw_app_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cwLogDate = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cwLogSource = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.14.1.1.2") - root.out.cisco.cwLogApp = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.cisco.cwLogMsg = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: cw_app_log_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Application Log" - - label: cw_app_log_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: cw_app_log_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: cw_app_log_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - - check: this.trap.VarBinds.index(2).Value == 3 - processors: - - label: cw_app_log_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() - - label: cw_app_log_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cw_dev_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.cisco.cwLogDate = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cisco.cwLogSource = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9.14.1.1.2") - root.out.cisco.cwLogMsg = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: cw_dev_log_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Log" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cisco/MPLS-LDP-MIB-mplsLdpNotificationPrefix.yml b/traps/rules/cisco/MPLS-LDP-MIB-mplsLdpNotificationPrefix.yml deleted file mode 100644 index 5ecf7e88..00000000 --- a/traps/rules/cisco/MPLS-LDP-MIB-mplsLdpNotificationPrefix.yml +++ /dev/null @@ -1,133 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MPLS-LDP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mpls_ldp_failed_init_session_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpEntityFailedInitSessionThreshold = this.trap.VarBinds.index(0).Value - - label: mpls_ldp_failed_init_session_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpFailedInitSessionThresholdExceeded" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpFailedInitSessionThresholdExceeded" - root.out.event.category.name = "MPLS LDP Session Status" - root.out.object.name = "mplsLdpEntityEntry.1.4.1.9.10.65.2" - root.out.event.message = "MPLS LDP Session Initialization Failed ( LSR: 1.4.1.9, Label Space: 10.65 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mpls_ldp_path_vector_limit_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpEntityPathVectorLimit = this.trap.VarBinds.index(0).Value - root.out.cisco.mplsLdpPeerPathVectorLimit = this.trap.VarBinds.index(1).Value - - label: mpls_ldp_path_vector_limit_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpPathVectorLimitMismatch" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpPathVectorLimitMismatch" - root.out.event.category.name = "MPLS LDP Path Vector Limit Status" - root.out.object.name = "mplsLdpSessionEntry.1.4.1.9.10.65.2.9.10.65.2.0.2" - root.out.event.message = "MPLS LDP Path Vector Limit Mismatch ( LSR: 1.4.1.9, Label Space: 10.65, Peer LSR: 9.10.65.2, Peer Label Space: 0.2 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: mpls_ldp_session_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpSessionState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.3.3.2.1.1") - - label: mpls_ldp_session_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpSessionUp" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpSessionUp" - root.out.event.category.name = "MPLS LDP Session Status" - root.out.object.name = "mplsLdpSessionEntry..1.4.1.9.10.65.2" - root.out.event.message = "MPLS LDP Session Up, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.3.3.2.1.1").string() + " ( LSR: , Label Space: 3.6, Peer LSR: 4.1.9.10, Peer Label Space: 65.2 )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mpls_ldp_session_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpSessionState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.3.3.2.1.1") - - label: mpls_ldp_session_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpSessionDown" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpSessionDown" - root.out.event.category.name = "MPLS LDP Session Status" - root.out.object.name = "mplsLdpSessionEntry..1.4.1.9.10.65.2" - root.out.event.message = "MPLS LDP Session Down, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.3.3.2.1.1").string() + " ( LSR: , Label Space: 3.6, Peer LSR: 4.1.9.10, Peer Label Space: 65.2 )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: mpls_ldp_lib_lsp_up_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpLibOperationStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.6.2.1.8") - - label: mpls_ldp_lib_lsp_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpLibLspUp" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpLibLspUp" - root.out.event.category.name = "MPLS LSP Status" - root.out.object.name = "mplsLdpLibEntry.2" - root.out.event.message = "MPLS Label Switched Path Up ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: mpls_ldp_lib_lsp_down_variables - mapping: |- - #!blobl - root = this - - root.out.cisco.mplsLdpLibOperationStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.9.10.65.1.6.2.1.8") - - label: mpls_ldp_lib_lsp_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpLibLspDown" - root.out.event.id = "SNMPTRAP-cisco-MPLS-LDP-MIB-mplsLdpLibLspDown" - root.out.event.category.name = "MPLS LSP Status" - root.out.object.name = "mplsLdpLibEntry.2" - root.out.event.message = "MPLS Label Switched Path Down ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/clarent/CLARENT-MIB-clarent-gktraps.yml b/traps/rules/clarent/CLARENT-MIB-clarent-gktraps.yml deleted file mode 100644 index 7b7dc035..00000000 --- a/traps/rules/clarent/CLARENT-MIB-clarent-gktraps.yml +++ /dev/null @@ -1,213 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CLARENT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: gk_is_down_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_is_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: gk_restart_failed_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_restart_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: gk_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_restarted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: gk_not_registered_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_not_registered_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: gk_op_state_chg_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.gkOpState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2858.100.20.1.2") - root.out.clarent.trapCount = this.trap.VarBinds.index(3).Value - - label: gk_op_state_chg_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: gk_load_state_critical_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_load_state_critical_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: gk_is_rejecting_ras_msg_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(2).Value - - label: gk_is_rejecting_ras_msg_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: gk_endpoint_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(2).Value - root.out.clarent.trapCount = this.trap.VarBinds.index(3).Value - - label: gk_endpoint_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: gk_end_point_urqfailed_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(2).Value - root.out.clarent.trapCount = this.trap.VarBinds.index(3).Value - - label: gk_end_point_urqfailed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/clarent/CLARENT-MIB-clarent-traps.yml b/traps/rules/clarent/CLARENT-MIB-clarent-traps.yml deleted file mode 100644 index 71c02e16..00000000 --- a/traps/rules/clarent/CLARENT-MIB-clarent-traps.yml +++ /dev/null @@ -1,679 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CLARENT-MIB" -- switch: - - check: this.trap.SpecificTrap == 9901 - processors: - - label: gateway_is_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Status" - root.out.object.name = "" - root.out.event.message = "Gateway Down" - - check: this.trap.SpecificTrap == 9902 - processors: - - label: restart_gwsuccess_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Status" - root.out.object.name = "" - root.out.event.message = "Gateway Restart Successful" - - check: this.trap.SpecificTrap == 9903 - processors: - - label: restart_gwfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Status" - root.out.object.name = "" - root.out.event.message = "Gateway Restart Failed" - - check: this.trap.SpecificTrap == 9904 - processors: - - label: cc_is_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center Status" - root.out.object.name = "" - root.out.event.message = "Command Center Down" - - check: this.trap.SpecificTrap == 9905 - processors: - - label: restart_ccsuccess_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center Status" - root.out.object.name = "" - root.out.event.message = "Command Center Restart Successful" - - check: this.trap.SpecificTrap == 9906 - processors: - - label: restart_ccfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center Status" - root.out.object.name = "" - root.out.event.message = "Command Center Restart Failed" - - check: this.trap.SpecificTrap == 9907 - processors: - - label: lost_cc_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(0).Value - - label: lost_cc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "gwEntry.4" - root.out.event.message = "Gateway Lost Connecton to Command Center ( Gateway: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 9908 - processors: - - label: connect_ccfailed_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(0).Value - - label: connect_ccfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "gwEntry.4" - root.out.event.message = "Gateway Cannot Connect to Command Center ( Gateway: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 9911 - processors: - - label: port_out_of_service_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.portIndex = this.trap.VarBinds.index(0).Value - - label: port_out_of_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Port Status" - root.out.object.name = "gwPortEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Gateway Port Out of Service ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9912 - processors: - - label: port_in_service_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.portIndex = this.trap.VarBinds.index(0).Value - - label: port_in_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Port Status" - root.out.object.name = "gwPortEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Gateway Port In Service ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9913 - processors: - - label: dial_up_no_voice_port_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Voice Port Status" - root.out.object.name = "" - root.out.event.message = "Gateway Cannot Dial Up, No Voice Port" - - check: this.trap.SpecificTrap == 9914 - processors: - - label: connect_no_voice_port_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Voice Port Status" - root.out.object.name = "" - root.out.event.message = "Gateway Cannot Connect to Other Gateway, No Voice Port" - - check: this.trap.SpecificTrap == 9915 - processors: - - label: gateway_connect_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(0).Value - - label: gateway_connect_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "gwEntry.4" - root.out.event.message = "Gateway Connected to Command Center ( Gateway: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 9916 - processors: - - label: gateway_disconnect_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.serverIpAddr = this.trap.VarBinds.index(0).Value - - label: gateway_disconnect_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "gwEntry.4" - root.out.event.message = "Gateway Disconnected from Command Center ( Gateway: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 9917 - processors: - - label: gw_not_registered_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.gwId = this.trap.VarBinds.index(0).Value - - label: gw_not_registered_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Registration" - root.out.object.name = "gwEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Gateway Not Registered ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9918 - processors: - - label: call_rating_failed_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: call_rating_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Call Rating Status" - root.out.object.name = "" - root.out.event.message = "Call Rating Failed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9919 - processors: - - label: invalid_cclicense_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center License Status" - root.out.object.name = "" - root.out.event.message = "Invalid Command Center License" - - check: this.trap.SpecificTrap == 9920 - processors: - - label: valid_cctmp_license_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center License Status" - root.out.object.name = "" - root.out.event.message = "Valid Temporary Command Center License" - - check: this.trap.SpecificTrap == 9921 - processors: - - label: ss7link_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Link Status" - root.out.object.name = "" - root.out.event.message = "SS7 Link Up" - - check: this.trap.SpecificTrap == 9922 - processors: - - label: ss7link_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Link Status" - root.out.object.name = "" - root.out.event.message = "SS7 Link Down" - - check: this.trap.SpecificTrap == 9927 - processors: - - label: gw_app_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: gw_app_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Status" - root.out.object.name = "" - root.out.event.message = "Gateway Shutdown" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9928 - processors: - - label: resetting_dspbrd_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: resetting_dspbrd_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DSP Board Status" - root.out.object.name = "" - root.out.event.message = "DSP Board Resetting" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9929 - processors: - - label: clr_hse_credit_schg_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: clr_hse_credit_schg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Clearing House Credit Status" - root.out.object.name = "" - root.out.event.message = "Clearing House Credit Status Changed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9930 - processors: - - label: cc_credit_schg_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cc_credit_schg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Clarent Connect Credit Status" - root.out.object.name = "" - root.out.event.message = "Clarent Connect Credit Status Changed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9931 - processors: - - label: validate_egerr_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: validate_egerr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Gateway Validation" - root.out.object.name = "" - root.out.event.message = "Gateway Validate Egress Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9932 - processors: - - label: lic_roll_back_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Command Center License Status" - root.out.object.name = "" - root.out.event.message = "Command Center License Key Change Rolled Back" - - check: this.trap.SpecificTrap == 9933 - processors: - - label: clarent_info_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapClass = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2858.48.2") - root.out.clarent.trapNumber = this.trap.VarBinds.index(2).Value - root.out.clarent.trapCount = this.trap.VarBinds.index(3).Value - root.out.clarent.trapText = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: clarent_info_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2858.48.2").string() + " Error" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() - - label: clarent_info_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 9934 - processors: - - label: software_update_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.packageName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.clarent.packageOperation = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2858.100.1.99999") - root.out.clarent.packageStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2858.100.1.2.1.2") - - label: software_update_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Software Update Status" - root.out.object.name = "Package: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Software " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2858.100.1.99999").string() + " Operation Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9935 - processors: - - label: number_intercept_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: number_intercept_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Number Intercept" - root.out.object.name = "" - root.out.event.message = "Call Placed to Intercept Number" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9936 - processors: - - label: tp_is_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ThroughPacket Server Status" - root.out.object.name = "" - root.out.event.message = "ThroughPacket Server Down" - - check: this.trap.SpecificTrap == 9937 - processors: - - label: restart_tpfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ThroughPacket Server Status" - root.out.object.name = "" - root.out.event.message = "ThroughPacket Server Restart Failed" - - check: this.trap.SpecificTrap == 9938 - processors: - - label: tp_restarted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ThroughPacket Server Status" - root.out.object.name = "" - root.out.event.message = "ThroughPacket Server Restart Successful" - - check: this.trap.SpecificTrap == 9939 - processors: - - label: thresh_hold_trap_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapAppName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.clarent.threshHoldName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.clarent.threshHoldValue = this.trap.VarBinds.index(3).Value - root.out.clarent.currentValue = this.trap.VarBinds.index(4).Value - root.out.clarent.threshHoldAction = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.2858.48.10") - - label: thresh_hold_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Application Threshold ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.object.name = "Application: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "" - - label: thresh_hold_trap_rules_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Threshold " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.2858.48.10").string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", " + this.trap.VarBinds.index(4).Value.string() + ", Crossed " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9940 - processors: - - label: system_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: system_reboot_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Reboot" - root.out.object.name = "" - root.out.event.message = "System Rebooting, startShutdown Command" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9941 - processors: - - label: reboot_command_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: reboot_command_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Reboot" - root.out.object.name = "" - root.out.event.message = "System Enabled to Receive startShutdown Command" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9942 - processors: - - label: c_disk_space_low_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: c_disk_space_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Space Status" - root.out.object.name = "" - root.out.event.message = "Disk Space Low, < 50MB" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9943 - processors: - - label: c_no_connect_route_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: c_no_connect_route_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connect Route Status" - root.out.object.name = "" - root.out.event.message = "Connect Partner Does Not Have a Call Route" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9944 - processors: - - label: db_error_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2858.48.1") - root.out.clarent.trapNumber = this.trap.VarBinds.index(1).Value - root.out.clarent.trapText = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.clarent.trapCount = this.trap.VarBinds.index(3).Value - - label: db_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Status" - root.out.object.name = "" - root.out.event.message = "Database Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - label: db_error_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 9945 - processors: - - label: db_clerk_started_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapNumber = this.trap.VarBinds.index(0).Value - - label: db_clerk_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Clerk Status" - root.out.object.name = "" - root.out.event.message = "New Database Clerk Started, " + this.trap.VarBinds.index(0).Value.string() + " Clerks Running" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.string() - - check: this.trap.SpecificTrap == 9946 - processors: - - label: restart_dmfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Distribution Service Status" - root.out.object.name = "" - root.out.event.message = "Distribution Service Restart Failed" - - check: this.trap.SpecificTrap == 9947 - processors: - - label: dm_restarted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Distribution Service Status" - root.out.object.name = "" - root.out.event.message = "Distribution Service Restart Successful" - - check: this.trap.SpecificTrap == 9948 - processors: - - label: dm_is_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Distribution Service Status" - root.out.object.name = "" - root.out.event.message = "Distribution Service Down" - - check: this.trap.SpecificTrap == 9949 - processors: - - label: sig_gwmtppause_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: sig_gwmtppause_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Transfer Protocol Status" - root.out.object.name = "" - root.out.event.message = "Message Transfer Protocol Paused" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9950 - processors: - - label: sig_gwmtpresume_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: sig_gwmtpresume_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Transfer Protocol Status" - root.out.object.name = "" - root.out.event.message = "Message Transfer Protocol Resumed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9951 - processors: - - label: sig_gwtask_active_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: sig_gwtask_active_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Signaling Task Status" - root.out.object.name = "" - root.out.event.message = "Signaling Task Started" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9952 - processors: - - label: pin_suspended_variables - mapping: |- - #!blobl - root = this - - root.out.clarent.trapText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pin_suspended_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Account Status" - root.out.object.name = "" - root.out.event.message = "Account Suspended" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cloudshield/CLOUDSHIELD-CHASSIS-MIB-csTraps.yml b/traps/rules/cloudshield/CLOUDSHIELD-CHASSIS-MIB-csTraps.yml deleted file mode 100644 index b65a62c4..00000000 --- a/traps/rules/cloudshield/CLOUDSHIELD-CHASSIS-MIB-csTraps.yml +++ /dev/null @@ -1,40 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CLOUDSHIELD-CHASSIS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cs_event_notification_variables - mapping: |- - #!blobl - root = this - - root.out.cloudshield.csTrapSeqNum = this.trap.VarBinds.index(0).Value - root.out.cloudshield.csTrapTimeStamp = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.cloudshield.csTrapSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.9793.3.4") - root.out.cloudshield.csTrapCategory = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9793.3.5") - root.out.cloudshield.csTrapAlarmStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9793.3.6") - root.out.cloudshield.csTrapGeneralDescription = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.cloudshield.csTrapSpecificInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.cloudshield.csTrapAckStatus = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.9793.3.9") - - label: cs_event_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.9793.3.5").string() - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.9793.3.6").string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - - label: cs_event_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/cognitronics/CxErrorEventMib-cxErrorEventNotificationsV2.yml b/traps/rules/cognitronics/CxErrorEventMib-cxErrorEventNotificationsV2.yml deleted file mode 100644 index b9f2c393..00000000 --- a/traps/rules/cognitronics/CxErrorEventMib-cxErrorEventNotificationsV2.yml +++ /dev/null @@ -1,62 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CxErrorEventMib" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cx_error_event_notify_variables - mapping: |- - #!blobl - root = this - - root.out.cognitronics.errorSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cognitronics.errorReferencedSequenceNumber = this.trap.VarBinds.index(1).Value - root.out.cognitronics.errorBoardNumber = this.trap.VarBinds.index(2).Value - root.out.cognitronics.errorTimestamp = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - root.out.cognitronics.errorAction = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.6703.2.1.2.1.1.5") - root.out.cognitronics.errorLevel = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.6703.2.1.2.1.1.6") - root.out.cognitronics.errorText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.cognitronics.manualErrorNumber = this.trap.VarBinds.index(7).Value - root.out.cognitronics.applicationData = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: cx_error_event_notify_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CX Error" - root.out.object.name = "errorSequenceNumber: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + " ( Board: " + this.trap.VarBinds.index(2).Value.string() + " )" - - label: cx_error_event_notify_rules_4 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: cx_error_logs_flushed_variables - mapping: |- - #!blobl - root = this - - root.out.cognitronics.errorSequenceNumber = this.trap.VarBinds.index(0).Value - root.out.cognitronics.errorBoardNumber = this.trap.VarBinds.index(1).Value - root.out.cognitronics.errorTimestamp = this.trap.VarBinds.index(2).Value.snmp_date_and_time().ts_unix_milli() - root.out.cognitronics.manualErrorNumber = this.trap.VarBinds.index(3).Value - - label: cx_error_logs_flushed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Error Logs" - root.out.object.name = "" - root.out.event.message = "Error Logs Flushed" - root.out.object.name = "Board: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Error Logs Flushed ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCMC-MIB-cpqCmc.yml b/traps/rules/compaq/CPQCMC-MIB-cpqCmc.yml deleted file mode 100644 index dc2479eb..00000000 --- a/traps/rules/compaq/CPQCMC-MIB-cpqCmc.yml +++ /dev/null @@ -1,1657 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCMC-MIB" -- switch: - - check: this.trap.SpecificTrap == 153001 - processors: - - label: cpq_cmcalarm_temp1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusTemp1 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.1") - - label: cpq_cmcalarm_temp1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Temperature 1" - - label: cpq_cmcalarm_temp1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_temp1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_temp1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Normal ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_temp1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Warning ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_temp1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Over Maximum ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_temp1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Under Minimum ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_temp1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Temperature Sensor Connected ( Temperature 1 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_temp1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Sensor Error ( Temperature 1 )" - - processors: - - label: cpq_cmcalarm_temp1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown ( Temperature 1 )" - - label: cpq_cmcalarm_temp1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153002 - processors: - - label: cpq_cmcalarm_temp2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusTemp2 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.2") - - label: cpq_cmcalarm_temp2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Temperature 2" - - label: cpq_cmcalarm_temp2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_temp2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_temp2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Normal ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_temp2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Warning ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_temp2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Over Maximum ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_temp2_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Under Minimum ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_temp2_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Temperature Sensor Connected ( Temperature 2 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_temp2_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Sensor Error ( Temperature 2 )" - - processors: - - label: cpq_cmcalarm_temp2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown ( Temperature 2 )" - - label: cpq_cmcalarm_temp2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153003 - processors: - - label: cpq_cmcalarm_fan1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusFan1 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.3") - - label: cpq_cmcalarm_fan1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Fan 1" - - label: cpq_cmcalarm_fan1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_fan1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Unknown ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_fan1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off by Temperature Sensor 1 ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_fan1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched On by Temperature Sensor 1 ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_fan1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off Manually ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_fan1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched On Manually ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_fan1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off, Smoke Alarm ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_fan1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off, Door Open ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_fan1_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Not Present ( Fan 1 )" - - check: this.trap.VarBinds.index(4).Value == 9 - processors: - - label: cpq_cmcalarm_fan1_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Error ( Fan 1 )" - - processors: - - label: cpq_cmcalarm_fan1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Unknown ( Fan 1 )" - - label: cpq_cmcalarm_fan1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153004 - processors: - - label: cpq_cmcalarm_fan2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusFan2 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.4") - - label: cpq_cmcalarm_fan2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Fan 2" - - label: cpq_cmcalarm_fan2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_fan2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Unknown ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_fan2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off by Temperature Sensor 2 ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_fan2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched On by Temperature Sensor 2 ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_fan2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off Manually ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_fan2_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched On Manually ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_fan2_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off, Smoke Alarm ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_fan2_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Switched Off, Door Open ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_fan2_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Not Present ( Fan 2 )" - - check: this.trap.VarBinds.index(4).Value == 9 - processors: - - label: cpq_cmcalarm_fan2_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Error ( Fan 2 )" - - processors: - - label: cpq_cmcalarm_fan2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Unknown ( Fan 2 )" - - label: cpq_cmcalarm_fan2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153005 - processors: - - label: cpq_cmcalarm_voltage_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusVoltage = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.5") - - label: cpq_cmcalarm_voltage_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Voltage Status" - root.out.object.name = "" - - label: cpq_cmcalarm_voltage_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_voltage_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Status Unknown" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_voltage_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Normal" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_voltage_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Over Maximum" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_voltage_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Under Minimum" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_voltage_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Power Connected" - - processors: - - label: cpq_cmcalarm_voltage_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Voltage Status Unknown" - - label: cpq_cmcalarm_voltage_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153006 - processors: - - label: cpq_cmcalarm_humidity_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusHumidity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.6") - - label: cpq_cmcalarm_humidity_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Humidity Status" - root.out.object.name = "" - - label: cpq_cmcalarm_humidity_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_humidity_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Status Unknown" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_humidity_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Normal" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_humidity_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Over Maximum" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_humidity_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Under Minimum" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_humidity_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Humidity Sensor Connected" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_humidity_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Sensor Error" - - processors: - - label: cpq_cmcalarm_humidity_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Status Unknown" - - label: cpq_cmcalarm_humidity_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153007 - processors: - - label: cpq_cmcalarm_input1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusInput1 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.7") - - label: cpq_cmcalarm_input1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door/Sidepanel Status" - root.out.object.name = "Door/Sidepanel 1" - - label: cpq_cmcalarm_input1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_input1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_input1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Closed ( Door/Sidepanel 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_input1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Open ( Door/Sidepanel 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_input1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Door/Sidepanel Sensor Connected ( Door/Sidepanel 1 )" - - processors: - - label: cpq_cmcalarm_input1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 1 )" - - label: cpq_cmcalarm_input1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153008 - processors: - - label: cpq_cmcalarm_input2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusInput2 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.8") - - label: cpq_cmcalarm_input2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door/Sidepanel Status" - root.out.object.name = "Door/Sidepanel 2" - - label: cpq_cmcalarm_input2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_input2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_input2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Closed ( Door/Sidepanel 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_input2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Open ( Door/Sidepanel 2 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_input2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Door/Sidepanel Sensor Connected ( Door/Sidepanel 2 )" - - processors: - - label: cpq_cmcalarm_input2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 2 )" - - label: cpq_cmcalarm_input2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153009 - processors: - - label: cpq_cmcalarm_input3_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusInput3 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.9") - - label: cpq_cmcalarm_input3_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door/Sidepanel Status" - root.out.object.name = "Door/Sidepanel 3" - - label: cpq_cmcalarm_input3_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_input3_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 3 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_input3_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Closed ( Door/Sidepanel 3 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_input3_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Open ( Door/Sidepanel 3 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_input3_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Door/Sidepanel Sensor Connected ( Door/Sidepanel 3 )" - - processors: - - label: cpq_cmcalarm_input3_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 3 )" - - label: cpq_cmcalarm_input3_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153010 - processors: - - label: cpq_cmcalarm_input4_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusInput4 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.10") - - label: cpq_cmcalarm_input4_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door/Sidepanel Status" - root.out.object.name = "Door/Sidepanel 4" - - label: cpq_cmcalarm_input4_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_input4_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 4 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_input4_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Closed ( Door/Sidepanel 4 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_input4_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Open ( Door/Sidepanel 4 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_input4_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Door/Sidepanel Sensor Connected ( Door/Sidepanel 4 )" - - processors: - - label: cpq_cmcalarm_input4_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door/Sidepanel Unknown ( Door/Sidepanel 4 )" - - label: cpq_cmcalarm_input4_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153011 - processors: - - label: cpq_cmcalarm_lock1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusLock1Lock = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.11") - - label: cpq_cmcalarm_lock1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door Lock Status" - root.out.object.name = "Door Lock 1" - - label: cpq_cmcalarm_lock1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_lock1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Status Unknown ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_lock1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locked ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_lock1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Network Management ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_lock1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Network Management ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_lock1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Smoke Alarm ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_lock1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Key ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_lock1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Power Failure of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_lock1_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Low Battery of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 9 - processors: - - label: cpq_cmcalarm_lock1_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Network Failure ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 10 - processors: - - label: cpq_cmcalarm_lock1_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Connection Failure ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 11 - processors: - - label: cpq_cmcalarm_lock1_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Ready to Lock ( Door Lock 1 )" - root.out.event.message = "Door Activated but Not Locked ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 12 - processors: - - label: cpq_cmcalarm_lock1_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locking Device Configuration Error ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 13 - processors: - - label: cpq_cmcalarm_lock1_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Not Installed ( Door Lock 1 )" - - processors: - - label: cpq_cmcalarm_lock1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Status Unknown ( Door Lock 1 )" - - label: cpq_cmcalarm_lock1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153012 - processors: - - label: cpq_cmcalarm_lock2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusLock2Lock = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.12") - - label: cpq_cmcalarm_lock2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door Lock Status" - root.out.object.name = "Door Lock 2" - - label: cpq_cmcalarm_lock2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_lock2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Status Unknown ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_lock2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locked ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_lock2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Network Management ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_lock2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Network Management ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_lock2_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Smoke Alarm ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_lock2_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked by Key ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_lock2_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Power Failure of Locking Device ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_lock2_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Low Battery of Locking Device ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 9 - processors: - - label: cpq_cmcalarm_lock2_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Network Failure ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 10 - processors: - - label: cpq_cmcalarm_lock2_rules_2_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Connection Failure ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 11 - processors: - - label: cpq_cmcalarm_lock2_rules_2_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Ready to Lock ( Door Lock 2 )" - root.out.event.message = "Door Activated but Not Locked ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 12 - processors: - - label: cpq_cmcalarm_lock2_rules_2_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locking Device Configuration Error ( Door Lock 2 )" - - check: this.trap.VarBinds.index(4).Value == 13 - processors: - - label: cpq_cmcalarm_lock2_rules_2_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Not Installed ( Door Lock 2 )" - - processors: - - label: cpq_cmcalarm_lock2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Status Unknown ( Door Lock 2 )" - - label: cpq_cmcalarm_lock2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153013 - processors: - - label: cpq_cmcalarm_smoke_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusSmoke = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.13") - - label: cpq_cmcalarm_smoke_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Smoke Detector Status" - root.out.object.name = "" - - label: cpq_cmcalarm_smoke_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_smoke_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Smoke Detector Status Unknown" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_smoke_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Smoke Detector Cleared" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_smoke_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Smoke Detected" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_smoke_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Smoke Detector Connected" - - processors: - - label: cpq_cmcalarm_smoke_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Smoke Detector Status Unknown" - - label: cpq_cmcalarm_smoke_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153014 - processors: - - label: cpq_cmcalarm_shock_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusShock = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.14") - - label: cpq_cmcalarm_shock_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shock Sensor Status" - root.out.object.name = "" - - label: cpq_cmcalarm_shock_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_shock_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Shock Sensor Status Unknown" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_shock_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Shock Sensor Cleared" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_shock_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Shock Detected" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_shock_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No Shock Sensor Connected" - - processors: - - label: cpq_cmcalarm_shock_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Shock Sensor Status Unknown" - - label: cpq_cmcalarm_shock_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153015 - processors: - - label: cpq_cmcalarm_aux1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusAux1 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.15") - - label: cpq_cmcalarm_aux1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CMC Auxilliary Alarm" - root.out.object.name = "Auxilliary Alarm 1" - - label: cpq_cmcalarm_aux1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_aux1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Status Unknown ( Auxilliary Alarm 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_aux1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Cleared ( Auxilliary Alarm 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_aux1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Detected ( Auxilliary Alarm 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_aux1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No CMC Auxilliary Alarm Sensor Connected ( Auxilliary Alarm 1 )" - - processors: - - label: cpq_cmcalarm_aux1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Status Unknown ( Auxilliary Alarm 1 )" - - label: cpq_cmcalarm_aux1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153016 - processors: - - label: cpq_cmcalarm_aux2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusAux2 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.16") - - label: cpq_cmcalarm_aux2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CMC Auxilliary Alarm" - root.out.object.name = "Auxilliary Alarm 2" - - label: cpq_cmcalarm_aux2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_aux2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Status Unknown ( Auxilliary Alarm 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_aux2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Cleared ( Auxilliary Alarm 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_aux2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Detected ( Auxilliary Alarm 2 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_aux2_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "No CMC Auxilliary Alarm Sensor Connected ( Auxilliary Alarm 2 )" - - processors: - - label: cpq_cmcalarm_aux2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Auxilliary Alarm Status Unknown ( Auxilliary Alarm 2 )" - - label: cpq_cmcalarm_aux2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153017 - processors: - - label: cpq_cmcalarm1_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusAlarm1 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.17") - - label: cpq_cmcalarm1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CMC Alarm Status" - root.out.object.name = "Alarm 1" - - label: cpq_cmcalarm1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Status Unknown ( Alarm 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Cleared ( Alarm 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Detected ( Alarm 1 )" - - processors: - - label: cpq_cmcalarm1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Status Unknown ( Alarm 1 )" - - label: cpq_cmcalarm1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153018 - processors: - - label: cpq_cmcalarm2_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusAlarm2 = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.18") - - label: cpq_cmcalarm2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CMC Alarm Status" - root.out.object.name = "Alarm 2" - - label: cpq_cmcalarm2_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm2_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Status Unknown ( Alarm 2 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm2_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Cleared ( Alarm 2 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm2_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Detected ( Alarm 2 )" - - processors: - - label: cpq_cmcalarm2_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "CMC Alarm Status Unknown ( Alarm 2 )" - - label: cpq_cmcalarm2_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153019 - processors: - - label: cpq_cmcalarm_lock1dev_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusLock1Dev = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.19") - - label: cpq_cmcalarm_lock1dev_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door Lock Status" - root.out.object.name = "Door Lock 1" - - label: cpq_cmcalarm_lock1dev_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Status Unknown ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locked ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Power Failure of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Low Battery of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Locking Device Battery Needs to be Replaced ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Locking Device Battery Missing ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connection Lost to Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Not Installed ( Door Lock 1 )" - - processors: - - label: cpq_cmcalarm_lock1dev_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Status Unknown ( Door Lock 1 )" - - label: cpq_cmcalarm_lock1dev_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153020 - processors: - - label: cpq_cmcalarm_lock2dev_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.compaq.cpqCmcStatusLock2Dev = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.153.2.2.4.20") - - label: cpq_cmcalarm_lock2dev_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Door Lock Status" - root.out.object.name = "Door Lock 1" - - label: cpq_cmcalarm_lock2dev_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Status Unknown ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Locked ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Power Failure of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Unlocked, Low Battery of Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Locking Device Battery Needs to be Replaced ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Locking Device Battery Missing ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connection Lost to Locking Device ( Door Lock 1 )" - - check: this.trap.VarBinds.index(4).Value == 8 - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Not Installed ( Door Lock 1 )" - - processors: - - label: cpq_cmcalarm_lock2dev_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Door Lock Status Unknown ( Door Lock 1 )" - - label: cpq_cmcalarm_lock2dev_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 153100 - processors: - - label: cpq_cmc_setup_changed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.sysContact = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.compaq.sysName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.compaq.sysLocation = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: cpq_cmc_setup_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CMC Configuration" - root.out.object.name = "" - root.out.event.message = "CMC Configuration Changed" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCR-MIB-cpqCrCntlrTrap.yml b/traps/rules/compaq/CPQCR-MIB-cpqCrCntlrTrap.yml deleted file mode 100644 index 4bfac4fa..00000000 --- a/traps/rules/compaq/CPQCR-MIB-cpqCrCntlrTrap.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cpq_cr_controller1failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_controller1failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Primary Controller Status" - root.out.object.name = "" - root.out.event.message = "Primary RAID Controller Failed" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cpq_cr_controller1information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_controller1information_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Primary Controller Status" - root.out.object.name = "" - root.out.event.message = "Primary RAID Controller Recovered" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cpq_cr_controller2failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_controller2failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Secondary Controller Status" - root.out.object.name = "" - root.out.event.message = "Secondary RAID Controller Failed" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cpq_cr_controller2information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_controller2information_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Secondary Controller Status" - root.out.object.name = "" - root.out.event.message = "Secondary RAID Controller Recovered" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCR-MIB-cpqCrEMUTrap.yml b/traps/rules/compaq/CPQCR-MIB-cpqCrEMUTrap.yml deleted file mode 100644 index d9007b27..00000000 --- a/traps/rules/compaq/CPQCR-MIB-cpqCrEMUTrap.yml +++ /dev/null @@ -1,172 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCR-MIB" -- switch: - - check: this.trap.SpecificTrap == 15 - processors: - - label: cpq_cr_emunormal_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emunormal_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: cpq_cr_emufan_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emufan_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: cpq_cr_emufan_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emufan_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: cpq_cr_emupower_supply_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emupower_supply_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: cpq_cr_emupower_supply_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emupower_supply_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: cpq_cr_emutemperature_warning_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emutemperature_warning_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: cpq_cr_emutemperature_critical_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emutemperature_critical_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: cpq_cr_emutemperature_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_emutemperature_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCR-MIB-cpqCrExpCabTrap.yml b/traps/rules/compaq/CPQCR-MIB-cpqCrExpCabTrap.yml deleted file mode 100644 index 003b6633..00000000 --- a/traps/rules/compaq/CPQCR-MIB-cpqCrExpCabTrap.yml +++ /dev/null @@ -1,152 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCR-MIB" -- switch: - - check: this.trap.SpecificTrap == 20 - processors: - - label: cpq_cr_exp_cab_fan_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_fan_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: cpq_cr_exp_cab_fan_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_fan_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: cpq_cr_exp_cab_power_supply_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_power_supply_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: cpq_cr_exp_cab_power_supply_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_power_supply_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: cpq_cr_exp_cab_temperature_warning_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_temperature_warning_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: cpq_cr_exp_cab_temperature_critical_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_temperature_critical_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: cpq_cr_exp_cab_temperature_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cpq_cr_exp_cab_temperature_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCR-MIB-cpqCrLogDrvTrap.yml b/traps/rules/compaq/CPQCR-MIB-cpqCrLogDrvTrap.yml deleted file mode 100644 index 865747a3..00000000 --- a/traps/rules/compaq/CPQCR-MIB-cpqCrLogDrvTrap.yml +++ /dev/null @@ -1,117 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCR-MIB" -- switch: - - check: this.trap.SpecificTrap == 5 - processors: - - label: cpq_cr_log_drive_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrLogDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_log_drive_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cpq_cr_log_drive_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrLogDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_log_drive_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cpq_cr_log_drive_reconstruct_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrLogDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_log_drive_reconstruct_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cpq_cr_log_drive_reduced_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrLogDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_log_drive_reduced_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cpq_cr_log_drive_initializing_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrLogDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_log_drive_initializing_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQCR-MIB-cpqCrPhyDrvTrap.yml b/traps/rules/compaq/CPQCR-MIB-cpqCrPhyDrvTrap.yml deleted file mode 100644 index fb9656e3..00000000 --- a/traps/rules/compaq/CPQCR-MIB-cpqCrPhyDrvTrap.yml +++ /dev/null @@ -1,224 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQCR-MIB" -- switch: - - check: this.trap.SpecificTrap == 10 - processors: - - label: cpq_cr_disk_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvCntlrIndex = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqCrPhyDrvIndex = this.trap.VarBinds.index(2).Value - - label: cpq_cr_disk_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cpq_cr_disk_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvCntlrIndex = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqCrPhyDrvIndex = this.trap.VarBinds.index(2).Value - - label: cpq_cr_disk_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cpq_cr_disk_reconstruct_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_disk_reconstruct_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cpq_cr_disk_available_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_disk_available_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cpq_cr_disk_spare_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvIndex = this.trap.VarBinds.index(1).Value - - label: cpq_cr_disk_spare_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: cpq_cr_phy_disk_information_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvScsiID = this.trap.VarBinds.index(1).Value - - label: cpq_cr_phy_disk_information_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: cpq_cr_phy_disk_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvScsiID = this.trap.VarBinds.index(1).Value - - label: cpq_cr_phy_disk_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: cpq_cr_phy_disk_reconstruct_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvScsiID = this.trap.VarBinds.index(1).Value - - label: cpq_cr_phy_disk_reconstruct_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: cpq_cr_phy_disk_available_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrPhyDrvScsiID = this.trap.VarBinds.index(1).Value - - label: cpq_cr_phy_disk_available_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: cpq_cr_phy_disk_spare_trap_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqCrSpareScsiID = this.trap.VarBinds.index(1).Value - - label: cpq_cr_phy_disk_spare_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQHLTH-MIB-compaq.yml b/traps/rules/compaq/CPQHLTH-MIB-compaq.yml deleted file mode 100644 index 8b8ed2aa..00000000 --- a/traps/rules/compaq/CPQHLTH-MIB-compaq.yml +++ /dev/null @@ -1,1639 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQHLTH-MIB" -- switch: - - check: this.trap.SpecificTrap == 6001 - processors: - - label: cpq_he2correctable_memory_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeCorrMemTotalErrs = this.trap.VarBinds.index(0).Value - - label: cpq_he2correctable_memory_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6002 - processors: - - label: cpq_he2correctable_memory_log_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeCorrMemLogStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.3.1") - - label: cpq_he2correctable_memory_log_disabled_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6003 - processors: - - label: cpq_he_thermal_temp_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6004 - processors: - - label: cpq_he_thermal_temp_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeThermalDegradedAction = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.2") - - label: cpq_he_thermal_temp_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6005 - processors: - - label: cpq_he_thermal_temp_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6006 - processors: - - label: cpq_he_thermal_system_fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeThermalDegradedAction = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.2") - - label: cpq_he_thermal_system_fan_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6007 - processors: - - label: cpq_he_thermal_system_fan_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6008 - processors: - - label: cpq_he_thermal_system_fan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6009 - processors: - - label: cpq_he_thermal_cpu_fan_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6010 - processors: - - label: cpq_he_thermal_cpu_fan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6011 - processors: - - label: cpq_he_asr_confirmation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6012 - processors: - - label: cpq_he_thermal_confirmation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6013 - processors: - - label: cpq_he_post_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6014 - processors: - - label: cpq_he_flt_tol_pwr_supply_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6015 - processors: - - label: cpq_he3correctable_memory_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeCorrMemTotalErrs = this.trap.VarBinds.index(2).Value - - label: cpq_he3correctable_memory_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6016 - processors: - - label: cpq_he3correctable_memory_log_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeCorrMemLogStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.3.1") - - label: cpq_he3correctable_memory_log_disabled_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6017 - processors: - - label: cpq_he3thermal_temp_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_temp_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6018 - processors: - - label: cpq_he3thermal_temp_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeThermalDegradedAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.2") - - label: cpq_he3thermal_temp_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6019 - processors: - - label: cpq_he3thermal_temp_ok_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_temp_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6020 - processors: - - label: cpq_he3thermal_system_fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeThermalDegradedAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.2") - - label: cpq_he3thermal_system_fan_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6021 - processors: - - label: cpq_he3thermal_system_fan_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_system_fan_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6022 - processors: - - label: cpq_he3thermal_system_fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_system_fan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6023 - processors: - - label: cpq_he3thermal_cpu_fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_cpu_fan_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6024 - processors: - - label: cpq_he3thermal_cpu_fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_cpu_fan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6025 - processors: - - label: cpq_he3asr_confirmation_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3asr_confirmation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6026 - processors: - - label: cpq_he3thermal_confirmation_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3thermal_confirmation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6027 - processors: - - label: cpq_he3post_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3post_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6028 - processors: - - label: cpq_he3flt_tol_pwr_supply_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3flt_tol_pwr_supply_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6029 - processors: - - label: cpq_he3corr_mem_replace_mem_module_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3corr_mem_replace_mem_module_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6030 - processors: - - label: cpq_he3flt_tol_power_supply_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_power_supply_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6031 - processors: - - label: cpq_he3flt_tol_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_power_supply_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6032 - processors: - - label: cpq_he3flt_tol_power_redundancy_lost_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - - label: cpq_he3flt_tol_power_redundancy_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6033 - processors: - - label: cpq_he3flt_tol_power_supply_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_power_supply_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6034 - processors: - - label: cpq_he3flt_tol_power_supply_removed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_power_supply_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6035 - processors: - - label: cpq_he3flt_tol_fan_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolFanIndex = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_fan_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6036 - processors: - - label: cpq_he3flt_tol_fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolFanIndex = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_fan_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6037 - processors: - - label: cpq_he3flt_tol_fan_redundancy_lost_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - - label: cpq_he3flt_tol_fan_redundancy_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6038 - processors: - - label: cpq_he3flt_tol_fan_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolFanIndex = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_fan_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6039 - processors: - - label: cpq_he3flt_tol_fan_removed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolFanIndex = this.trap.VarBinds.index(3).Value - - label: cpq_he3flt_tol_fan_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6040 - processors: - - label: cpq_he3temperature_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeTemperatureChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeTemperatureLocale = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.8.1.3") - - label: cpq_he3temperature_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6041 - processors: - - label: cpq_he3temperature_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeThermalDegradedAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.2") - root.out.compaq.cpqHeTemperatureChassis = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeTemperatureLocale = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.8.1.3") - - label: cpq_he3temperature_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6042 - processors: - - label: cpq_he3temperature_ok_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeTemperatureChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeTemperatureLocale = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.6.8.1.3") - - label: cpq_he3temperature_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6043 - processors: - - label: cpq_he3power_converter_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHePwrConvChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHePwrConvSlot = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHePwrConvSocket = this.trap.VarBinds.index(4).Value - - label: cpq_he3power_converter_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6044 - processors: - - label: cpq_he3power_converter_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHePwrConvChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHePwrConvSlot = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHePwrConvSocket = this.trap.VarBinds.index(4).Value - - label: cpq_he3power_converter_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6045 - processors: - - label: cpq_he3power_converter_redundancy_lost_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHePwrConvChassis = this.trap.VarBinds.index(2).Value - - label: cpq_he3power_converter_redundancy_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6046 - processors: - - label: cpq_he3cache_accel_parity_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he3cache_accel_parity_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6047 - processors: - - label: cpq_he_resilient_mem_online_spare_engaged_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_resilient_mem_online_spare_engaged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6048 - processors: - - label: cpq_he4flt_tol_power_supply_ok_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeFltTolPowerSupplyStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.9.3.1.5") - root.out.compaq.cpqHeFltTolPowerSupplyModel = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySerialNumber = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplyAutoRev = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.compaq.cpqHeFltTolPowerSupplyFirmwareRev = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySparePartNum = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: cpq_he4flt_tol_power_supply_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6049 - processors: - - label: cpq_he4flt_tol_power_supply_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeFltTolPowerSupplyStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.9.3.1.5") - root.out.compaq.cpqHeFltTolPowerSupplyModel = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySerialNumber = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplyAutoRev = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.compaq.cpqHeFltTolPowerSupplyFirmwareRev = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySparePartNum = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: cpq_he4flt_tol_power_supply_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6050 - processors: - - label: cpq_he4flt_tol_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeFltTolPowerSupplyStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.9.3.1.5") - root.out.compaq.cpqHeFltTolPowerSupplyModel = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySerialNumber = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplyAutoRev = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.compaq.cpqHeFltTolPowerSupplyFirmwareRev = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySparePartNum = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: cpq_he4flt_tol_power_supply_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6051 - processors: - - label: cpq_he_resilient_mem_mirrored_memory_engaged_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_resilient_mem_mirrored_memory_engaged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6052 - processors: - - label: cpq_he_resilient_advanced_eccmemory_engaged_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_resilient_advanced_eccmemory_engaged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6053 - processors: - - label: cpq_he_resilient_mem_xor_memory_engaged_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_resilient_mem_xor_memory_engaged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6054 - processors: - - label: cpq_he3flt_tol_power_redundancy_restored_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - - label: cpq_he3flt_tol_power_redundancy_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6055 - processors: - - label: cpq_he3flt_tol_fan_redundancy_restored_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolFanChassis = this.trap.VarBinds.index(2).Value - - label: cpq_he3flt_tol_fan_redundancy_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6056 - processors: - - label: cpq_he4corr_mem_replace_mem_module_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMemBoardIndex = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeResMemModuleIndex = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeResMemModuleSparePartNo = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.compaq.cpqSiMemModuleSize = this.trap.VarBinds.index(5).Value - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: cpq_he4corr_mem_replace_mem_module_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6057 - processors: - - label: cpq_he_res_mem_board_removed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMemBoardSlotIndex = this.trap.VarBinds.index(2).Value - - label: cpq_he_res_mem_board_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6058 - processors: - - label: cpq_he_res_mem_board_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMemBoardSlotIndex = this.trap.VarBinds.index(2).Value - - label: cpq_he_res_mem_board_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6059 - processors: - - label: cpq_he_res_mem_board_bus_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMemBoardSlotIndex = this.trap.VarBinds.index(2).Value - - label: cpq_he_res_mem_board_bus_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6060 - processors: - - label: cpq_he_event_occurred_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeEventLogEntryNumber = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeEventLogEntrySeverity = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.11.3.1.2") - root.out.compaq.cpqHeEventLogUpdateTime = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.compaq.cpqHeEventLogErrorDesc = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: cpq_he_event_occurred_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6061 - processors: - - label: cpq_he_management_proc_in_reset_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_management_proc_in_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6062 - processors: - - label: cpq_he_management_proc_ready_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_management_proc_ready_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6063 - processors: - - label: cpq_he_management_proc_failed_reset_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_management_proc_failed_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6064 - processors: - - label: cpq_he5corr_mem_replace_mem_module_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMem2BoardNum = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeResMem2CpuNum = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeResMem2RiserNum = this.trap.VarBinds.index(4).Value - root.out.compaq.cpqHeResMem2ModuleNum = this.trap.VarBinds.index(5).Value - root.out.compaq.cpqHeResMem2ModulePartNo = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeResMem2ModuleSize = this.trap.VarBinds.index(7).Value - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: cpq_he5corr_mem_replace_mem_module_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6065 - processors: - - label: cpq_he5res_mem_board_removed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMem2BoardSlotNum = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeResMem2BoardCpuNum = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeResMem2BoardRiserNum = this.trap.VarBinds.index(4).Value - - label: cpq_he5res_mem_board_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6066 - processors: - - label: cpq_he5res_mem_board_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMem2BoardSlotNum = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeResMem2BoardCpuNum = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeResMem2BoardRiserNum = this.trap.VarBinds.index(4).Value - - label: cpq_he5res_mem_board_inserted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6067 - processors: - - label: cpq_he5res_mem_board_bus_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeResMem2BoardSlotNum = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeResMem2BoardCpuNum = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeResMem2BoardRiserNum = this.trap.VarBinds.index(4).Value - - label: cpq_he5res_mem_board_bus_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6068 - processors: - - label: cpq_he_resilient_mem_lock_step_memory_engaged_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - - label: cpq_he_resilient_mem_lock_step_memory_engaged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6069 - processors: - - label: cpq_he4flt_tol_power_supply_acpowerloss_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHeFltTolPowerSupplyChassis = this.trap.VarBinds.index(2).Value - root.out.compaq.cpqHeFltTolPowerSupplyBay = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeFltTolPowerSupplyStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.9.3.1.5") - root.out.compaq.cpqHeFltTolPowerSupplyModel = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySerialNumber = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplyAutoRev = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.compaq.cpqHeFltTolPowerSupplyFirmwareRev = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.compaq.cpqHeFltTolPowerSupplySparePartNum = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.compaq.cpqSiServerSystemId = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: cpq_he4flt_tol_power_supply_acpowerloss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6070 - processors: - - label: cpq_he_sys_battery_failed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.compaq.cpqHeSysBatteryChassis = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeSysBatteryIndex = this.trap.VarBinds.index(4).Value - root.out.compaq.cpqHeSysBatteryStatus = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.17.2.1.5") - root.out.compaq.cpqHeSysBatteryModel = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHeSysBatterySerialNumber = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.compaq.cpqHeSysBatterySparePartNum = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: cpq_he_sys_battery_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6071 - processors: - - label: cpq_he_sys_battery_removed_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.compaq.cpqHeSysBatteryChassis = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeSysBatteryIndex = this.trap.VarBinds.index(4).Value - - label: cpq_he_sys_battery_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6072 - processors: - - label: cpq_he_sys_pwr_allocation_not_optimized_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cpq_he_sys_pwr_allocation_not_optimized_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6073 - processors: - - label: cpq_he_sys_pwr_on_denied_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.compaq.cpqHeSysBoardFruStatus = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cpq_he_sys_pwr_on_denied_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6074 - processors: - - label: cpq_he_power_failure_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.compaq.cpqHePowerFailureIndex = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHePowerFailureType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.20.2.1.8") - root.out.compaq.cpqHePowerFailureArea = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.20.2.1.4") - root.out.compaq.cpqHePowerFailureGroupString = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.compaq.cpqHePowerFailureDeviceBitMap = this.trap.VarBinds.index(7).Value - root.out.compaq.cpqHePowerFailureRepairSteps = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.20.2.1.7") - - label: cpq_he_power_failure_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6075 - processors: - - label: cpq_he_interlock_failure_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.sysName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.compaq.cpqHoTrapFlags = this.trap.VarBinds.index(1).Value - root.out.compaq.cpqHoGUIDCanonical = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.compaq.cpqHeInterlockFailureIndex = this.trap.VarBinds.index(3).Value - root.out.compaq.cpqHeInterlockFailureType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.21.2.1.6") - root.out.compaq.cpqHeInterlockFailureDeviceName = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: cpq_he_interlock_failure_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/compaq/CPQHLTH-MIB-cpqHealth.yml b/traps/rules/compaq/CPQHLTH-MIB-cpqHealth.yml deleted file mode 100644 index 84f1fc5f..00000000 --- a/traps/rules/compaq/CPQHLTH-MIB-cpqHealth.yml +++ /dev/null @@ -1,88 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CPQHLTH-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cpq_he_correctable_memory_error_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeCorrMemTotalErrs = this.trap.VarBinds.index(0).Value - - label: cpq_he_correctable_memory_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Corr. Mem. Status" - root.out.object.name = "" - root.out.event.message = "Correctable Memory Error Occurred, Error Corrected" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cpq_he_correctable_memory_log_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.compaq.cpqHeCorrMemLogStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.232.6.2.3.1") - - label: cpq_he_correctable_memory_log_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Corr. Mem. Error Tracking Status" - root.out.object.name = "" - - label: cpq_he_correctable_memory_log_disabled_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: cpq_he_correctable_memory_log_disabled_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Correctable Memory Error Tracking Status Unknown" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: cpq_he_correctable_memory_log_disabled_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Correctable Memory Error Tracking Not Supported" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: cpq_he_correctable_memory_log_disabled_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Correctable Memory Error Tracking Disabled" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: cpq_he_correctable_memory_log_disabled_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Correctable Memory Error Tracking Enabled" - - processors: - - label: cpq_he_correctable_memory_log_disabled_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Correctable Memory Error Tracking Status Unknown" - - label: cpq_he_correctable_memory_log_disabled_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/controlwaretaxi/CWTAXI-MIB-taxi.yml b/traps/rules/controlwaretaxi/CWTAXI-MIB-taxi.yml deleted file mode 100644 index 6ebcec8b..00000000 --- a/traps/rules/controlwaretaxi/CWTAXI-MIB-taxi.yml +++ /dev/null @@ -1,1231 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CWTAXI-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: taxi_manual_button_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(5).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_manual_button_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Manual Button Call" - root.out.event.message = "Manual Button Call Established, Addr - - check: this.trap.SpecificTrap == 2 - processors: - - label: taxi_manual_button_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_manual_button_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() - root.out.event.category.name = "Manual Button Call" - root.out.event.message = "Manual Button Call Failed, Addr - - check: this.trap.SpecificTrap == 3 - processors: - - label: taxi_manual_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(5).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_manual_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Manual Call" - root.out.event.message = "Manual Call Established, Addr - - check: this.trap.SpecificTrap == 4 - processors: - - label: taxi_manual_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_manual_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() - root.out.event.category.name = "Manual Call" - root.out.event.message = "Manual Call Failed, Addr - - check: this.trap.SpecificTrap == 5 - processors: - - label: taxi_nms_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_nms_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Nms Call" - root.out.event.message = "Nms Call Established, Addr - - check: this.trap.SpecificTrap == 6 - processors: - - label: taxi_nms_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmInbErrorCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_nms_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10").string() + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9").string() - root.out.event.category.name = "Nms Call" - root.out.event.message = "Nms Call Failed, Addr - - check: this.trap.SpecificTrap == 7 - processors: - - label: taxi_supvsr_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_supvsr_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Supervisor Call" - root.out.event.message = "Supervisor Call Established, Addr - - check: this.trap.SpecificTrap == 8 - processors: - - label: taxi_supvsr_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmInbErrorCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_supvsr_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10").string() + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9").string() - root.out.event.category.name = "Supervisor Call" - root.out.event.message = "Supervisor Call Failed, Addr - - check: this.trap.SpecificTrap == 9 - processors: - - label: taxi_backup_call_req_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_backup_call_req_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.category.name = "Backup Call" - root.out.event.message = "Backup Call Request, Addr - - check: this.trap.SpecificTrap == 10 - processors: - - label: taxi_backup_call_req_outof_time_window_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: taxi_backup_call_req_outof_time_window_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Backup Call" - root.out.event.message = "Backup Call Request Out of Time Window, Port - - check: this.trap.SpecificTrap == 11 - processors: - - label: taxi_backup_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(5).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_backup_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Backup Call" - root.out.event.message = "Backup Call Established, Addr - - check: this.trap.SpecificTrap == 12 - processors: - - label: taxi_backup_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_backup_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() - root.out.event.category.name = "Backup Call" - root.out.event.message = "Backup Call Failed, Addr - - check: this.trap.SpecificTrap == 13 - processors: - - label: taxi_isdn_line_test_call_success_ful_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_isdn_line_test_call_success_ful_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + ".part " + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "Isdn Line Test" - root.out.event.message = "Isdn Line Test Call SuccessFul, Slot - - check: this.trap.SpecificTrap == 14 - processors: - - label: taxi_isdn_line_test_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmInbErrorCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(7).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(8).Value - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_isdn_line_test_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(7).Value.string() + ".part " + this.trap.VarBinds.index(8).Value.string() - root.out.event.category.name = "Isdn Line Test" - root.out.event.message = "Isdn Line Test Call Failed, ReasonCode - - check: this.trap.SpecificTrap == 15 - processors: - - label: taxi_inc_call_accepted_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(5).Value - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_inc_call_accepted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Incoming Call" - root.out.event.message = "Incoming Call Accepted, Addr - - check: this.trap.SpecificTrap == 16 - processors: - - label: taxi_inc_call_rejected_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmInbErrorCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_inc_call_rejected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6").string() + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7").string() + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8").string() + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10").string() + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9").string() - root.out.event.category.name = "Incoming Call" - root.out.event.message = "Incoming Call Rejected, Addr - - check: this.trap.SpecificTrap == 17 - processors: - - label: taxi_port_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmCallErrorCode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.8") - root.out.controlwaretaxi.taxiAlarmInbMsgCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.10") - root.out.controlwaretaxi.taxiAlarmInbErrorCode = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.9") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: taxi_port_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "Port" - root.out.event.message = "Port Disconnected, Slot - - check: this.trap.SpecificTrap == 18 - processors: - - label: taxi_module_initialized_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_module_initialized_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + ".part " + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "Init" - root.out.event.message = "ModuleInitialized, Slot - - check: this.trap.SpecificTrap == 19 - processors: - - label: taxi_device_initialized_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: taxi_device_initialized_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.category.name = "Init" - root.out.event.message = "Device Initialized" - - check: this.trap.SpecificTrap == 20 - processors: - - label: taxi_perm_activated_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_perm_activated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.category.name = "Perm" - root.out.event.message = "Perm Activated" - - check: this.trap.SpecificTrap == 21 - processors: - - label: taxi_perm_deactivated_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_perm_deactivated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.category.name = "Perm" - root.out.event.message = "Perm Deactivated" - - check: this.trap.SpecificTrap == 22 - processors: - - label: taxi_config_changed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_config_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + ".part " + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "Config" - root.out.event.message = "Configuration Changed, Slot - - check: this.trap.SpecificTrap == 23 - processors: - - label: taxi_no_polling_response_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: taxi_no_polling_response_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Poll Resp" - root.out.event.category.name = "" - root.out.event.message = "No Polling Response" - - check: this.trap.SpecificTrap == 24 - processors: - - label: taxi_unit_responding_to_poll_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: taxi_unit_responding_to_poll_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.category.name = "Poll Resp" - root.out.event.message = "Unit Responding To Poll" - - check: this.trap.SpecificTrap == 25 - processors: - - label: taxi_module_in_slot_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_module_in_slot_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + ".part " + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "" - root.out.event.message = "Module In Slot Failed, Slot - - check: this.trap.SpecificTrap == 26 - processors: - - label: taxi_power_supply_activated_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: taxi_power_supply_activated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "unspecified.part " + this.trap.VarBinds.index(2).Value.string() - root.out.event.category.name = "Power Supply" - root.out.event.message = "Power Supply Activated, Part - - check: this.trap.SpecificTrap == 27 - processors: - - label: taxi_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: taxi_power_supply_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "unspecified.part " + this.trap.VarBinds.index(2).Value.string() - root.out.event.category.name = "Power Supply" - root.out.event.message = "Power Supply Failed, Part - - check: this.trap.SpecificTrap == 28 - processors: - - label: taxi_monitor_sicline_failure_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: taxi_monitor_sicline_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.category.name = "Monitor SIC" - root.out.event.message = "Monitor SIC Line Failure, Slot - - check: this.trap.SpecificTrap == 29 - processors: - - label: taxi_monitor_sicquality_error_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: taxi_monitor_sicquality_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.category.name = "Monitor SIC" - root.out.event.message = "Monitor SIC Quality Error, Slot - - check: this.trap.SpecificTrap == 30 - processors: - - label: taxi_monitor_sicloop_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: taxi_monitor_sicloop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.category.name = "Monitor SIC" - root.out.event.message = "Monitor SIC Loop, Slot - - check: this.trap.SpecificTrap == 31 - processors: - - label: taxi_dial_proc_call_to_dadestablished_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: taxi_dial_proc_call_to_dadestablished_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Dial Proc Call To DAD" - root.out.event.message = "Dial Proc Call To DAD Established, Addr - - check: this.trap.SpecificTrap == 32 - processors: - - label: taxi_dial_proc_call_to_dadfailed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_dial_proc_call_to_dadfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.category.name = "Dial Proc Call To DAD" - root.out.event.message = "Dial Proc Call To DAD Failed, Addr - - check: this.trap.SpecificTrap == 33 - processors: - - label: taxi_perm_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(5).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: taxi_perm_call_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.category.name = "Perm Call" - root.out.event.message = "Perm Call Established, Addr - - check: this.trap.SpecificTrap == 34 - processors: - - label: taxi_perm_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmAddr = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_perm_call_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.category.name = "Perm Call" - root.out.event.message = "Perm Call Failed, Addr - - check: this.trap.SpecificTrap == 35 - processors: - - label: taxi_monitor_sicline_ok_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: taxi_monitor_sicline_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.category.name = "Monitor SIC" - root.out.event.message = "Monitor SIC Line OK, Slot - - check: this.trap.SpecificTrap == 36 - processors: - - label: taxi_g704backup_call_request_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_g704backup_call_request_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: taxi_g704backup_call_turned_down_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmG704Reason = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.20") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(7).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_g704backup_call_turned_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: taxi_g704backup_call_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPermChannels = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(8).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: taxi_g704backup_call_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: taxi_g704backup_call_failed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_g704backup_call_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: taxi_g704backup_call_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_g704backup_call_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: taxi_g704permanent_line_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_g704permanent_line_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: taxi_g704tacall_established_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPermChannels = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmCauseCode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.7") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(8).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: taxi_g704tacall_established_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: taxi_g704tacall_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(6).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: taxi_g704tacall_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: taxi_layer1on_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_layer1on_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: taxi_layer1off_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_layer1off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: taxi_g704backup_call_turned_down_critical_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmNumberOfBChan = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmChanArray = this.trap.VarBinds.index(4).Value - root.out.controlwaretaxi.taxiAlarmChanArrayStr = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmG704Reason = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.20") - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(7).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.controlwaretaxi.taxiAlarmConnectInfo = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: taxi_g704backup_call_turned_down_critical_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: taxi_trap_isdnline_test_not_performed_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmReasonCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.6") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_trap_isdnline_test_not_performed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: taxi_trap_feature_key_accepted_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_trap_feature_key_accepted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: taxi_trap_feature_key_rejected_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPart = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmFeatureKeyReason = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.24") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_trap_feature_key_rejected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: taxi_trap_feature_key_not_support_config_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: taxi_trap_feature_key_not_support_config_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: taxi_trap_feature_key_port_offline_variables - mapping: |- - #!blobl - root = this - - root.out.controlwaretaxi.taxiSysIpAddr = this.trap.VarBinds.index(0).Value - root.out.controlwaretaxi.taxiAlarmType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.4") - root.out.controlwaretaxi.taxiAlarmSlot = this.trap.VarBinds.index(2).Value - root.out.controlwaretaxi.taxiAlarmPort = this.trap.VarBinds.index(3).Value - root.out.controlwaretaxi.taxiAlarmFeatureKeyErrorCode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1072.3.24.1.1.25") - root.out.controlwaretaxi.taxiAlarmHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: taxi_trap_feature_key_port_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/dell/ArrayManager-MIB-aryMgrEvts.yml b/traps/rules/dell/ArrayManager-MIB-aryMgrEvts.yml deleted file mode 100644 index 6f4303a0..00000000 --- a/traps/rules/dell/ArrayManager-MIB-aryMgrEvts.yml +++ /dev/null @@ -1,6109 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ArrayManager-MIB" -- switch: - - check: this.trap.SpecificTrap == 500 - processors: - - label: array_disk_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: array_disk_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 501 - processors: - - label: array_disk_removed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: array_disk_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 502 - processors: - - label: array_disk_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: array_disk_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Offline ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 503 - processors: - - label: array_disk_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: array_disk_degraded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Degraded ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 504 - processors: - - label: array_disk_inserted_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: array_disk_inserted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Inserted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 505 - processors: - - label: virtual_disk_created_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: virtual_disk_created_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Created ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 506 - processors: - - label: virtual_disk_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: virtual_disk_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Deleted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 507 - processors: - - label: virtual_disk_config_changed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.oldVDConfigEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.newVDConfigEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: virtual_disk_config_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Configuration Changed from " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " to " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 508 - processors: - - label: virtual_disk_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: virtual_disk_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 509 - processors: - - label: virtual_disk_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: virtual_disk_degraded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Degraded ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 510 - processors: - - label: vd_failed_redundancy_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_failed_redundancy_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Redundancy" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk No Longer Redundant ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 520 - processors: - - label: check_consistency_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: check_consistency_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Consistency Check Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 521 - processors: - - label: vd_format_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_format_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Format Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 522 - processors: - - label: ad_format_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_format_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Format Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 523 - processors: - - label: vd_initialize_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_initialize_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Initialization Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 524 - processors: - - label: ad_initialize_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_initialize_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Initialization Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 525 - processors: - - label: vd_reconfig_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.oldVDConfigEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.newVDConfigEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: vd_reconfig_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Reconfiguration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Reconfiguration Started, Stripe Size from " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " to " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 526 - processors: - - label: vd_rebuild_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_rebuild_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 527 - processors: - - label: ad_rebuild_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_rebuild_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 528 - processors: - - label: ad_diag_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_diag_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Diagnostics" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Diagnostics Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 529 - processors: - - label: check_consistency_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: check_consistency_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Consistency Check Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 530 - processors: - - label: vd_format_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_format_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Format Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 531 - processors: - - label: ad_format_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_format_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Format Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 532 - processors: - - label: vd_initialize_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_initialize_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Initialization Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 533 - processors: - - label: ad_initialize_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_initialize_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Initialization Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 534 - processors: - - label: vd_reconfig_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_reconfig_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Reconfiguration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Reconfiguration Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 535 - processors: - - label: vd_rebuild_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_rebuild_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Rebuild Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 536 - processors: - - label: ad_rebuild_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_rebuild_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Rebuild Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 537 - processors: - - label: ad_diag_cancelled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_diag_cancelled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Diagnostics" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Diagnostics Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 538 - processors: - - label: check_consistency_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: check_consistency_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Consistency Check Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 539 - processors: - - label: vd_format_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_format_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Format Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 540 - processors: - - label: ad_format_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_format_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Format Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 541 - processors: - - label: vd_initialize_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_initialize_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Initialization Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 542 - processors: - - label: ad_initialize_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_initialize_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Initialization Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 543 - processors: - - label: vd_reconfig_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_reconfig_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Reconfiguration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Reconfiguration Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 544 - processors: - - label: vd_rebuild_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_rebuild_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Rebuild Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 545 - processors: - - label: ad_rebuild_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_rebuild_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Rebuild Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 546 - processors: - - label: ad_diag_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_diag_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Diagnostics" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Diagnostics Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 547 - processors: - - label: check_consistency_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: check_consistency_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Consistency Check Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 548 - processors: - - label: vd_format_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_format_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Format Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 549 - processors: - - label: ad_format_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_format_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Format" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Format Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 550 - processors: - - label: vd_initialize_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_initialize_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Initialization Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 551 - processors: - - label: ad_initialize_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_initialize_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Initialization" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Initialization Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 552 - processors: - - label: vd_reconfig_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_reconfig_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Reconfiguration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Reconfiguration Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 553 - processors: - - label: vd_rebuild_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vd_rebuild_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Virtual Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Virtual Disk Rebuild Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 554 - processors: - - label: ad_rebuild_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_rebuild_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Rebuild" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Rebuild Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 555 - processors: - - label: ad_diag_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ad_diag_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Diagnostics" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Disk Diagnostics Completed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 570 - processors: - - label: perc_predictive_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc_predictive_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Predicted Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Failure Predicted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 571 - processors: - - label: perc_scsisense_data_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc_scsisense_data_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SCSI Sense Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SCSI Sense Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 572 - processors: - - label: perc_pause_io_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.timeEv = this.trap.VarBinds.index(2).Value - - label: perc_pause_io_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 573 - processors: - - label: perc_resume_io_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: perc_resume_io_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 574 - processors: - - label: perc_hot_spare_assign_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc_hot_spare_assign_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 575 - processors: - - label: perc_hot_spare_un_assign_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc_hot_spare_un_assign_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 579 - processors: - - label: cntrl_battery_needs_reconditioning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_battery_needs_reconditioning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Battery Needs Reconditioning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 580 - processors: - - label: cntrl_battery_low_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_battery_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Battery Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 581 - processors: - - label: cntrl_battery_recondition_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_battery_recondition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Battery Reconditioning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 582 - processors: - - label: cntrl_battery_recon_complete_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_battery_recon_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Battery Reconditioning Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 583 - processors: - - label: cntrl_pause_io_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_pause_io_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller IO Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller IO Paused ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 584 - processors: - - label: cntrl_resume_io_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: cntrl_resume_io_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller IO Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller IO Resumed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 585 - processors: - - label: perc2smart_fptexceeded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_fptexceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART FPT Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Failure Prediction Threshold Exceeded ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 586 - processors: - - label: perc2smart_config_change_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_config_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Configuration Change ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 587 - processors: - - label: perc2smart_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 588 - processors: - - label: perc2smart_warning_temp_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_warning_temp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Temperature Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 589 - processors: - - label: perc2smart_warning_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_warning_degraded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Degraded Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 590 - processors: - - label: perc2smart_fptexceeded_test_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: perc2smart_fptexceeded_test_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SMART FPT Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "SMART Failure Prediction Threshold Exceeded due to Testing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 591 - processors: - - label: enclosure_alert_temp_warn_max_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_alert_temp_warn_max_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 592 - processors: - - label: enclosure_alert_temp_warn_min_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_alert_temp_warn_min_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 593 - processors: - - label: enclosure_alert_temp_err_max_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_alert_temp_err_max_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 594 - processors: - - label: enclosure_alert_temp_err_min_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_alert_temp_err_min_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 595 - processors: - - label: enclosure_generic_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 596 - processors: - - label: enclosure_generic_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 597 - processors: - - label: enclosure_generic_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_unknown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 598 - processors: - - label: enclosure_generic_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.unitNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 600 - processors: - - label: enclosure_generic_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureUnitNamesEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 602 - processors: - - label: alert_shutdown_enclosure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_shutdown_enclosure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 603 - processors: - - label: alert_shutdown_server_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_shutdown_server_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 604 - processors: - - label: alert_paused_check_consistency_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_paused_check_consistency_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 605 - processors: - - label: alert_resumed_check_consistency_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_resumed_check_consistency_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 606 - processors: - - label: alert_virtual_disk_split_mirror_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_virtual_disk_split_mirror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 607 - processors: - - label: alert_virtual_disk_unmirror_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_virtual_disk_unmirror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 608 - processors: - - label: alert_rename_virtual_disk_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.virtualDiskNameNewEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alert_rename_virtual_disk_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 609 - processors: - - label: alert_generic_ready_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.device1NameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_generic_ready_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 610 - processors: - - label: alert_comm_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.device1NameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_comm_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 611 - processors: - - label: alert_comm_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.device1NameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_comm_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 612 - processors: - - label: alert_comm_restored_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.device1NameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_comm_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 650 - processors: - - label: generic_event_database_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 651 - processors: - - label: generic_event_database_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 668 - processors: - - label: alert_megalib_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: alert_megalib_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 670 - processors: - - label: alert_scsi_sense_format_fail_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.senseKeyEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.senseCodeEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.dell.senseQualifierEv = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alert_scsi_sense_format_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 671 - processors: - - label: alert_scsi_sense_sector_reassign_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.senseKeyEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.senseCodeEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.dell.senseQualifierEv = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alert_scsi_sense_sector_reassign_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 672 - processors: - - label: alert_emm_fw_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.eMMFWVersion0Ev = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.eMMFWVersion1Ev = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: alert_emm_fw_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 673 - processors: - - label: alert_conserve_cache_mode_enable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_conserve_cache_mode_enable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 674 - processors: - - label: alert_conserve_cache_mode_disable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_conserve_cache_mode_disable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 675 - processors: - - label: alert_enclosure_fw_download_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.eMMFWVersion0Ev = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alert_enclosure_fw_download_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 676 - processors: - - label: alert_enclosure_alarm_enable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_enclosure_alarm_enable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 677 - processors: - - label: alert_enclosure_alarm_disable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_enclosure_alarm_disable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 678 - processors: - - label: alert_controller_alarm_enable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: alert_controller_alarm_enable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 679 - processors: - - label: alert_controller_alarm_disable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: alert_controller_alarm_disable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 680 - processors: - - label: alert_controller_rebuild_rate_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.rebuildRateEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_controller_rebuild_rate_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 681 - processors: - - label: alert_array_disk_forced_online_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_array_disk_forced_online_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 682 - processors: - - label: alert_array_disk_forced_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_array_disk_forced_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 683 - processors: - - label: alert_task_bgi_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_task_bgi_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 684 - processors: - - label: alert_cancel_bgi_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_cancel_bgi_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 685 - processors: - - label: alert_fail_bgi_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_fail_bgi_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 686 - processors: - - label: alert_complete_bgi_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_complete_bgi_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 687 - processors: - - label: enclosure_generic_not_installed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureUnitNamesEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: enclosure_generic_not_installed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 688 - processors: - - label: enclosure_generic_comm_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.commErrorTypeEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.returnCodeEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.dell.scsiStatusEv = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: enclosure_generic_comm_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 689 - processors: - - label: enclosure_generic_comm_lost_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.commErrorTypeEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.returnCodeEv = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.dell.scsiStatusEv = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: enclosure_generic_comm_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 690 - processors: - - label: alert_comp_with_err_disk_rebuild_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.arrayDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_comp_with_err_disk_rebuild_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 691 - processors: - - label: alert_controller_misc_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.additionalInfoEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_controller_misc_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 692 - processors: - - label: installed_driver_ver_unsupported_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.instVerEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.reqVerEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: installed_driver_ver_unsupported_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 693 - processors: - - label: installed_firmware_ver_unsupported_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.instVerEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.dell.reqVerEv = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: installed_firmware_ver_unsupported_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 694 - processors: - - label: unsupported_config_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.instVerEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: unsupported_config_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 700 - processors: - - label: pv660f_event_physdev_online_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Online ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 701 - processors: - - label: pv660f_event_physdev_hotspare_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_hotspare_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Standby Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Added as Hot Spare ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 702 - processors: - - label: pv660f_event_physdev_hard_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_hard_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 703 - processors: - - label: pv660f_event_physdev_pfa_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_pfa_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk PFA Condition, May Fail Soon ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 704 - processors: - - label: pv660f_event_physdev_auto_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_auto_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Automatic Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 705 - processors: - - label: pv660f_event_physdev_manual_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_manual_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Manual Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 706 - processors: - - label: pv660f_event_physdev_rebuild_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 707 - processors: - - label: pv660f_event_physdev_rebuild_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_canceled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 708 - processors: - - label: pv660f_event_physdev_rebuild_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 709 - processors: - - label: pv660f_event_physdev_rebuild_newdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_newdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Error, New Device Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 710 - processors: - - label: pv660f_event_physdev_rebuild_sysdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_sysdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Error, Logical Drive Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 711 - processors: - - label: pv660f_event_physdev_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 712 - processors: - - label: pv660f_event_physdev_found_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "New Hard Disk Found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 713 - processors: - - label: pv660f_event_physdev_gone_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_gone_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 714 - processors: - - label: pv660f_event_physdev_unconfigured_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_unconfigured_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Previously Configured Disk Now Available ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 715 - processors: - - label: pv660f_event_physdev_expandcapacity_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_expandcapacity_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Capacity Expansion Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 716 - processors: - - label: pv660f_event_physdev_expandcapacity_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_expandcapacity_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Capacity Expansion Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 717 - processors: - - label: pv660f_event_physdev_expandcapacity_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_expandcapacity_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Capacity Expansion Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 718 - processors: - - label: pv660f_event_physdev_command_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_command_timeout_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Command Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "SCSI Command Timeout ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 719 - processors: - - label: pv660f_event_physdev_command_abort_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_command_abort_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Command Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "SCSI Command Aborted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 720 - processors: - - label: pv660f_event_physdev_command_retried_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_command_retried_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Command Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "SCSI Command Retried ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 721 - processors: - - label: pv660f_event_physdev_parity_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_parity_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Parity Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 722 - processors: - - label: pv660f_event_physdev_soft_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_soft_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Soft Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 723 - processors: - - label: pv660f_event_physdev_misc_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_misc_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Misc Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 724 - processors: - - label: pv660f_event_physdev_reset_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_reset_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "SCSI Device Reset ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 725 - processors: - - label: pv660f_event_physdev_activespare_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_activespare_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Standby Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Active Spare Found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 726 - processors: - - label: pv660f_event_physdev_warmspare_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_warmspare_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Warm spare found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 727 - processors: - - label: pv660f_event_physdev_reqsense_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_reqsense_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Request Sense Data Available ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 728 - processors: - - label: pv660f_event_physdev_init_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_init_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Initialization Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 729 - processors: - - label: pv660f_event_physdev_init_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_init_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Initialization Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 730 - processors: - - label: pv660f_event_physdev_init_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_init_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Initialization Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 731 - processors: - - label: pv660f_event_physdev_init_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_init_canceled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Initialization Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 732 - processors: - - label: pv660f_event_physdev_writerec_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_writerec_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Write Recovery Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 733 - processors: - - label: pv660f_event_physdev_reset_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_reset_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, SCSI Bus Reset Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 734 - processors: - - label: pv660f_event_physdev_dblcc_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_dblcc_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Double Check Condition Occured ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 735 - processors: - - label: pv660f_event_physdev_removed_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_removed_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Device is Missing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 736 - processors: - - label: pv660f_event_physdev_grosserr_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_grosserr_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Gross Error on SCSI Processor ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 737 - processors: - - label: pv660f_event_physdev_badtag_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_badtag_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Bad Tag from Device ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 738 - processors: - - label: pv660f_event_physdev_scsitmo_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_scsitmo_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Command to Device Timed Out ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 739 - processors: - - label: pv660f_event_physdev_sysreset_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_sysreset_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, System Reset ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 740 - processors: - - label: pv660f_event_physdev_bsypar_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_bsypar_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Busy Status or Parity Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 741 - processors: - - label: pv660f_event_physdev_bycmd_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_bycmd_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Set to Failed State by Host ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 742 - processors: - - label: pv660f_event_physdev_seltmo_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_seltmo_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Access to Device Met with Selection Time Out ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 743 - processors: - - label: pv660f_event_physdev_seqerr_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_seqerr_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Sequence Error in SCSI Bus Phase Handling ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 744 - processors: - - label: pv660f_event_physdev_unknownsts_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_unknownsts_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Device Returned an Unknown Status ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 745 - processors: - - label: pv660f_event_physdev_notrdy_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_notrdy_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Device Not Ready ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 746 - processors: - - label: pv660f_event_physdev_missing_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_missing_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Device Not Found on Start Up ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 747 - processors: - - label: pv660f_event_physdev_codwrfail_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_codwrfail_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Write Operation of 'Configuration On Disk' Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 748 - processors: - - label: pv660f_event_physdev_bdtwrfail_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_bdtwrfail_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Hard Disk Failed, Write Operation of 'Bad Data Table' Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 749 - processors: - - label: pv660f_event_physdev_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Offline ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 750 - processors: - - label: pv660f_event_physdev_standby_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_standby_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Standby Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Changed to Hot Spare ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 751 - processors: - - label: pv660f_event_physdev_rebuild_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Rebuilding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 752 - processors: - - label: pv660f_event_physdev_id_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_id_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device ID Did Not Match ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 753 - processors: - - label: pv660f_event_physdev_failed_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_failed_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Failed to Start ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 754 - processors: - - label: pv660f_event_physdev_offset_set_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_offset_set_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Negotiated Different Offset than Configuration ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 755 - processors: - - label: pv660f_event_physdev_set_bus_width_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_set_bus_width_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Device Negotiated Different Bus Width than Configuration ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 756 - processors: - - label: pv660f_event_physdev_missing_onstartup_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_missing_onstartup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Drive Missing on Startup ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 757 - processors: - - label: pv660f_event_physdev_rebuild_start_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_rebuild_start_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Rebuild Startup Failed, Lower Disk Capacity ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 758 - processors: - - label: pv660f_event_physdev_moving_to_other_chn_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_moving_to_other_chn_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Physical Drive Switching Channels ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 759 - processors: - - label: pv660f_event_physdev_offline_device_made_online_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_offline_device_made_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Temporary-Dead Physical Drive Automatically Online ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 760 - processors: - - label: pv660f_event_physdev_standby_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_standby_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Standby Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 761 - processors: - - label: pv660f_event_fibredev_loopid_softaddr_occurred_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fibredev_loopid_softaddr_occurred_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Device Loop ID Conflict, Soft Addressing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 762 - processors: - - label: pv660f_event_sysdev_check_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 763 - processors: - - label: pv660f_event_sysdev_check_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 764 - processors: - - label: pv660f_event_sysdev_check_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_canceled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 765 - processors: - - label: pv660f_event_sysdev_check_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 766 - processors: - - label: pv660f_event_sysdev_check_sysdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_sysdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 767 - processors: - - label: pv660f_event_sysdev_check_physdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_check_physdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Consistency Check" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Consistency Check Failed, Physical Drive Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 768 - processors: - - label: pv660f_event_sysdev_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Offline ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 769 - processors: - - label: pv660f_event_sysdev_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Critical ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 770 - processors: - - label: pv660f_event_sysdev_online_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Online ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 771 - processors: - - label: pv660f_event_sysdev_auto_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_auto_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Automatic Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 772 - processors: - - label: pv660f_event_sysdev_manual_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_manual_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Manual Rebuild Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 773 - processors: - - label: pv660f_event_sysdev_rebuild_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_rebuild_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Rebuild Done ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 774 - processors: - - label: pv660f_event_sysdev_rebuild_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_rebuild_canceled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Rebuild Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 775 - processors: - - label: pv660f_event_sysdev_rebuild_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_rebuild_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Rebuild Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 776 - processors: - - label: pv660f_event_sysdev_rebuild_newdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_rebuild_newdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Rebuild Error, New Device Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 777 - processors: - - label: pv660f_event_sysdev_rebuild_sysdev_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_rebuild_sysdev_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Rebuild Error, Logical Drive Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 778 - processors: - - label: pv660f_event_sysdev_init_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_init_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Initialization Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 779 - processors: - - label: pv660f_event_sysdev_init_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_init_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Initialization Done ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 780 - processors: - - label: pv660f_event_sysdev_init_canceled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_init_canceled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Initialization Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 781 - processors: - - label: pv660f_event_sysdev_init_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_init_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Init. Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Initialization Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 782 - processors: - - label: pv660f_event_sysdev_found_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 783 - processors: - - label: pv660f_event_sysdev_gone_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_gone_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Logical Drive Deleted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 784 - processors: - - label: pv660f_event_sysdev_expandcapacity_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_expandcapacity_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Capacity Expansion Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 785 - processors: - - label: pv660f_event_sysdev_expandcapacity_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_expandcapacity_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Capacity Expansion Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 786 - processors: - - label: pv660f_event_sysdev_expandcapacity_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_expandcapacity_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Capacity Expansion Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 787 - processors: - - label: pv660f_event_sysdev_badblock_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_badblock_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Bad Blocks Found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 788 - processors: - - label: pv660f_event_sysdev_sizechanged_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_sizechanged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "System Drive Size Changed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 789 - processors: - - label: pv660f_event_sysdev_typechanged_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_typechanged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "System Drive Type Changed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 790 - processors: - - label: pv660f_event_sysdev_baddatablock_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_baddatablock_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Bad Data Blocks, Possible Data Loss ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 791 - processors: - - label: pv660f_event_sysdev_wr_lun_map_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_sysdev_wr_lun_map_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "System Drive LUN Mapping Written to Configuration ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 792 - processors: - - label: pv660f_event_sysdev_dataread_from_block_in_bdt_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_dataread_from_block_in_bdt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Attempt to Read Data from Block Marked in Bad Data Table ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 793 - processors: - - label: pv660f_event_sysdev_data_for_block_lost_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_data_for_block_lost_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Data for Disk Block Lost, Logical Drive Problem ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 794 - processors: - - label: pv660f_event_sysdev_offline_device_made_available_with_dataloss_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_offline_device_made_available_with_dataloss_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Temporary-Offline RAID5/RAID3 Array Available Again, Possibility Data Loss in Array. ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 795 - processors: - - label: pv660f_event_sysdev_offline_device_made_available_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_offline_device_made_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Temporary-Offline RAID0+1/RAID1/RAID0/JBOD Array Available Again ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 796 - processors: - - label: pv660f_event_sysdev_standby_rebuild_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_standby_rebuild_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Device Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Virtual Disk: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.message = "Standby Rebuild Started on Logical Drive ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 797 - processors: - - label: pv660f_event_fmtfan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtfan_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Fan Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 798 - processors: - - label: pv660f_event_fmtfan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtfan_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Fan Restored ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 799 - processors: - - label: pv660f_event_aemi_fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_aemi_fan_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() + ", Unit: $4 - root.out.event.message = "Fan Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 800 - processors: - - label: pv660f_event_fmtfan_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtfan_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Cabinet Fan Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 801 - processors: - - label: pv660f_event_fmtpower_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtpower_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Power Supply Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 802 - processors: - - label: pv660f_event_fmtpower_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtpower_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Power Supply Restored ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 803 - processors: - - label: pv660f_event_aemi_pwr_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_aemi_pwr_supply_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() + ", Unit: $4 - root.out.event.message = "Power Supply Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 804 - processors: - - label: pv660f_event_fmtpower_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtpower_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Cabinet Power Supply Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 805 - processors: - - label: pv660f_event_fmtheat_bad_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_fmtheat_bad_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() + ", Unit: $4 - root.out.event.message = "Over Temperature, Temperature is above 70 degrees Celsius ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 806 - processors: - - label: pv660f_event_fmtheat_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtheat_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Temperature Above 50 Degrees Celsius ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 807 - processors: - - label: pv660f_event_fmtheat_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmtheat_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: $2, Unit: $3 - root.out.event.message = "Normal Temperature Restored ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 808 - processors: - - label: pv660f_event_aemi_over_temperature_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(3).Value - - label: pv660f_event_aemi_over_temperature_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() + ", Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Over Temperature ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 809 - processors: - - label: pv660f_event_fmtheat_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtheat_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Cabinet Temperature Sensor Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 810 - processors: - - label: pv660f_event_fmtstwk_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtstwk_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Works Enclosure Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 811 - processors: - - label: pv660f_event_fmtstwk_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtstwk_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Works Enclosure Critical ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 812 - processors: - - label: pv660f_event_fmtstwk_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_fmtstwk_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Storage Works Enclosure Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 813 - processors: - - label: pv660f_event_fmt_ups_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmt_ups_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Uninterruptible Power Supply Disabled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 814 - processors: - - label: pv660f_event_fmt_ups_ac_fail_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmt_ups_ac_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Uninterruptible Power Supply AC Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 815 - processors: - - label: pv660f_event_fmt_ups_bat_low_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmt_ups_bat_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Uninterruptible Power Supply Battery Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 816 - processors: - - label: pv660f_event_fmt_ups_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmt_ups_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Uninterruptible Power Supply Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 817 - processors: - - label: pv660f_event_fmt_ups_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_fmt_ups_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "UPS Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Uninterruptible Power Supply Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 818 - processors: - - label: pv660f_event_enclfan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclfan_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Fan Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 819 - processors: - - label: pv660f_event_enclfan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclfan_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Fan OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 820 - processors: - - label: pv660f_event_enclfan_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclfan_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Fan Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 821 - processors: - - label: pv660f_event_enclpower_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclpower_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Power Supply Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 822 - processors: - - label: pv660f_event_enclpower_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclpower_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Power Supply Restored ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 823 - processors: - - label: pv660f_event_enclpower_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclpower_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Power Supply Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 824 - processors: - - label: pv660f_event_enclheat_bad_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclheat_bad_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Temperature Over Safe Limit, Failure Imminent ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 825 - processors: - - label: pv660f_event_enclheat_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclheat_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Temperature Above Working Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 826 - processors: - - label: pv660f_event_enclheat_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclheat_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Normal Enclosure Temperature Restored ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 827 - processors: - - label: pv660f_event_enclheat_notpresent_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclheat_notpresent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Temperature Sensor Not Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 828 - processors: - - label: pv660f_event_enclaccess_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_enclaccess_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Access" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Access Critical ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 829 - processors: - - label: pv660f_event_enclaccess_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_enclaccess_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Access" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Access OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 830 - processors: - - label: pv660f_event_enclaccess_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclaccess_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Access" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Access Offline ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 831 - processors: - - label: pv660f_event_enclses_softaddr_occurred_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_enclses_softaddr_occurred_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Soft Addressing Detected ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 832 - processors: - - label: pv660f_event_enclaccess_ready_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_enclaccess_ready_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Enclosure Services Ready ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 833 - processors: - - label: pv660f_event_enclheat_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclheat_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Temperature Sensor Access Lost ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 834 - processors: - - label: pv660f_event_enclpower_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclpower_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Power Supply Status Information Access Lost ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 835 - processors: - - label: pv660f_event_enclfan_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.enclosureNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.unitNumberEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_enclfan_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Enclosure: " + this.trap.VarBinds.index(1).Value.string() + ", Unit: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Fan Status Information Access Lost ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 836 - processors: - - label: pv660f_event_system_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Array Management Status" - root.out.object.name = "Controller: $1, Enclosure: $2, Unit: $3 - root.out.event.message = "Array Management Server Software Started Successfully ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 837 - processors: - - label: pv660f_event_ctldev_writeback_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_writeback_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Write Back Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 838 - processors: - - label: pv660f_event_ctldev_state_table_full_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_state_table_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Internal Log Structures Getting Full, Shutdown and Reset ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 839 - processors: - - label: pv660f_event_ctldev_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Dead, System Disconnecting ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 840 - processors: - - label: pv660f_event_ctldev_reset_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_reset_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Reset ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 841 - processors: - - label: pv660f_event_ctldev_found_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Found ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 842 - processors: - - label: pv660f_event_ctldev_gone_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_gone_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Gone, System Disconnecting ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 843 - processors: - - label: pv660f_event_ctldev_bbu_found_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Present ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 844 - processors: - - label: pv660f_event_ctldev_bbu_power_low_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_power_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Power Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 845 - processors: - - label: pv660f_event_ctldev_bbu_power_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_power_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Power OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 846 - processors: - - label: pv660f_event_ctldev_power_off_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_power_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Power Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Powered Off, System Disconnecting ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 847 - processors: - - label: pv660f_event_ctldev_power_on_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_power_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Power Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Powered On ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 848 - processors: - - label: pv660f_event_ctldev_online_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Online ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 849 - processors: - - label: pv660f_event_ctldev_offline_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Offline, System Disconnecting ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 850 - processors: - - label: pv660f_event_ctldev_critical_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller's Partner Gone, Controller in Failover Mode ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 851 - processors: - - label: pv660f_event_ctldev_bbu_recond_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_recond_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Reconditioning Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Reconditioning Started ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 852 - processors: - - label: pv660f_event_ctldev_bbu_recond_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_recond_done_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Reconditioning Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Reconditioning Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 853 - processors: - - label: pv660f_event_ctldev_bbu_recond_abort_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_recond_abort_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Reconditioning Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Reconditioning Cancelled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 854 - processors: - - label: pv660f_event_ctldev_installation_aborted_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_installation_aborted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Installation Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Installation Aborted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 855 - processors: - - label: pv660f_event_ctldev_firmware_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_ctldev_firmware_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Controller Firmware Mismatch ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 856 - processors: - - label: pv660f_event_ctldev_bbu_noresponse_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_noresponse_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: $2, Target: $3 - root.out.event.message = "Controller BBU Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 857 - processors: - - label: pv660f_event_ctldev_warm_boot_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_warm_boot_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: $2, Target: $3 - root.out.event.message = "Controller Warm Boot Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 858 - processors: - - label: pv660f_event_ctldev_conserv_cache_mode_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_conserv_cache_mode_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Cache Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Entered Conservative Cache Mode ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 859 - processors: - - label: pv660f_event_ctldev_normal_cache_mode_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_normal_cache_mode_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Entered Normal Cache Mode ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 860 - processors: - - label: pv660f_event_ctldev_dev_start_cmplt_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_dev_start_cmplt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Device Start Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 861 - processors: - - label: pv660f_event_ctldev_soft_ecc_corrected_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_soft_ecc_corrected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Soft ECC Error Corrected ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 862 - processors: - - label: pv660f_event_ctldev_hard_ecc_corrected_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_ctldev_hard_ecc_corrected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Controller Hard ECC Error Corrected ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 863 - processors: - - label: pv660f_event_ctldev_bbu_recond_needed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_recond_needed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Recondition Needed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 864 - processors: - - label: pv660f_event_ctldev_removed_ptnr_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_removed_ptnr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller's Partner Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 865 - processors: - - label: pv660f_event_ctldev_bbu_out_of_service_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_out_of_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller BBU Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller BBU Out-of-Service ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 866 - processors: - - label: pv660f_event_ctldev_update_ptnr_status_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_update_ptnr_status_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller's Partner Status Updated ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 867 - processors: - - label: pv660f_event_ctldev_relinquish_ptnr_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_relinquish_ptnr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Relinquished Partner ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 868 - processors: - - label: pv660f_event_ctldev_inserted_ptnr_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_inserted_ptnr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Inserted Partner ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 869 - processors: - - label: pv660f_event_ctldev_dual_enabled_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_dual_enabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Dual Controllers Enabled ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 870 - processors: - - label: pv660f_event_ctldev_kill_ptnr_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_kill_ptnr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Killed Partner ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 871 - processors: - - label: pv660f_event_ctldev_nexus_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_nexus_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Dual Controllers Entered Nexus ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 872 - processors: - - label: pv660f_event_ctldev_bad_bootrom_image_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bad_bootrom_image_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Boot ROM Image Needs to be Reloaded ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 873 - processors: - - label: pv660f_event_ctldev_bad_mac_address_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bad_mac_address_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Using Default Non-Unique World-Wide Name ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 874 - processors: - - label: pv660f_event_ctldev_mirror_race_recovery_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_mirror_race_recovery_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Mirror Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Mirror Race Recovery Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 875 - processors: - - label: pv660f_event_ctldev_mirror_critical_drive_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_mirror_critical_drive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Mirror Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Mirror Race on Critical Drive ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 876 - processors: - - label: pv660f_event_system_started_new_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Status" - root.out.object.name = "" - root.out.event.message = "System Started" - - check: this.trap.SpecificTrap == 877 - processors: - - label: pv660f_event_system_size_table_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Status" - root.out.object.name = "" - root.out.event.message = "System Size Table Full" - - check: this.trap.SpecificTrap == 878 - processors: - - label: pv660f_event_system_user_logged_in_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System User Status" - root.out.object.name = "" - root.out.event.message = "System User Logged In" - - check: this.trap.SpecificTrap == 879 - processors: - - label: pv660f_event_system_user_logged_out_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System User Status" - root.out.object.name = "" - root.out.event.message = "System User Logged Out" - - check: this.trap.SpecificTrap == 880 - processors: - - label: pv660f_event_system_alive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Server Status" - root.out.object.name = "" - root.out.event.message = "Server Alive" - - check: this.trap.SpecificTrap == 881 - processors: - - label: pv660f_event_system_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Server Status" - root.out.object.name = "" - root.out.event.message = "Lost Connection to Server or Server is Down" - - check: this.trap.SpecificTrap == 882 - processors: - - label: pv660f_event_autoboot_changed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_autoboot_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Automatic Reboot Count Changed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 883 - processors: - - label: pv660f_event_channel_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 884 - processors: - - label: pv660f_event_channel_ok_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Online ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 885 - processors: - - label: pv660f_event_channel_scsi_bus_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_scsi_bus_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel SCSI Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Back End SCSI Bus Dead ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 886 - processors: - - label: pv660f_event_channel_scsi_bus_alive_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_scsi_bus_alive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel SCSI Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Back End SCSI Bus Alive ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 887 - processors: - - label: pv660f_event_channel_fiber_dead_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_fiber_dead_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Fibre Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Back End Fibre Dead ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 888 - processors: - - label: pv660f_event_channel_fiber_alive_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_channel_fiber_alive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Fibre Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Channel Back End Fibre Alive ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 889 - processors: - - label: pv660f_event_log_empty_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_log_empty_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Event Log Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Event Log Empty ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 890 - processors: - - label: pv660f_event_log_out_sync_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_log_out_sync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Event Log Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Event Log Entries Lost ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 891 - processors: - - label: pv660f_event_log_request_sense_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_log_request_sense_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sense Data" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Channel: " + this.trap.VarBinds.index(1).Value.string() + ", Target: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Request Sense Data ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 892 - processors: - - label: pv660f_event_log_set_rtc_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - - label: pv660f_event_log_set_rtc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel RTC" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Disk: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Set Real Time Clock ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 893 - processors: - - label: pv660f_event_cfg_new_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_new_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "New Controller Configuration Received ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 894 - processors: - - label: pv660f_event_cfg_clear_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Configuration Cleared ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 895 - processors: - - label: pv660f_event_cfg_invalid_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_invalid_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Configuration Invalid ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 896 - processors: - - label: pv660f_event_cfg_cod_access_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_cod_access_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Configuration On Disk Access Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 897 - processors: - - label: pv660f_event_cfg_cod_converted_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_cod_converted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Configuration On Disk Converted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 898 - processors: - - label: pv660f_event_cfg_cod_import_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_cfg_cod_import_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Configuration" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Configuration On Disk Import Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 899 - processors: - - label: pv660f_event_debug_dump_generated_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_debug_dump_generated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Debug Dump" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Debug Dump Generated ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 900 - processors: - - label: pv660f_event_debug_dump_generated_partner_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_debug_dump_generated_partner_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Controller Partner Debug Dump" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Controller Partner Debug Dump Generated ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 901 - processors: - - label: pv660f_event_fatal_hang_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Internal Controller Status" - root.out.object.name = "" - root.out.event.message = "Internal Controller Hung" - - check: this.trap.SpecificTrap == 902 - processors: - - label: pv660f_event_fatal_brkp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Internal Controller Status" - root.out.object.name = "" - root.out.event.message = "Internal Controller Firmware Breakpoint" - - check: this.trap.SpecificTrap == 903 - processors: - - label: pv660f_event_i960_hw_err_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Internal Controller Status" - root.out.object.name = "" - root.out.event.message = "Internal Controller i960 Processor-specific Error" - - check: this.trap.SpecificTrap == 904 - processors: - - label: pv660f_event_sarm_hw_err_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Internal Controller Status" - root.out.object.name = "" - root.out.event.message = "Internal Controller Strong-ARM Processor-specific Error" - - check: this.trap.SpecificTrap == 905 - processors: - - label: pv660f_event_sysdev_bg_init_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_started_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 906 - processors: - - label: pv660f_event_sysdev_bg_init_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_stopped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 907 - processors: - - label: pv660f_event_sysdev_bg_init_paused_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_paused_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 908 - processors: - - label: pv660f_event_sysdev_bg_init_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_restarted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 909 - processors: - - label: pv660f_event_sysdev_bg_init_failed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 910 - processors: - - label: pv660f_event_sysdev_bg_init_completed_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bg_init_completed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 911 - processors: - - label: pv660f_event_ctldev_bbu_calibrate_start_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_calibrate_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 912 - processors: - - label: pv660f_event_ctldev_bbu_calibrate_done_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_calibrate_done_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 913 - processors: - - label: pv660f_event_ctldev_bbu_calibrate_abort_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_calibrate_abort_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 914 - processors: - - label: pv660f_event_ctldev_bbu_no_battery_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_bbu_no_battery_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 915 - processors: - - label: pv660f_event_sysdev_bbulow_possible_data_loss_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_sysdev_bbulow_possible_data_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 916 - processors: - - label: pv660f_event_ctldev_in_cluster_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 917 - processors: - - label: pv660f_event_ctldev_not_in_cluster_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 918 - processors: - - label: pv660f_event_ctldev_improperly_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.virtualDiskNameEv = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: pv660f_event_ctldev_improperly_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 919 - processors: - - label: pv660f_event_ctldev_automatic_flash_started_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_automatic_flash_started_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 920 - processors: - - label: pv660f_event_ctldev_negotiation_failed_jumpers_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_failed_jumpers_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 921 - processors: - - label: pv660f_event_ctldev_negotiation_same_id_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_same_id_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 922 - processors: - - label: pv660f_event_ctldev_negotiation_board_type_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_board_type_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 923 - processors: - - label: pv660f_event_ctldev_negotiation_disk_channels_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_disk_channels_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 924 - processors: - - label: pv660f_event_ctldev_negotiation_host_channels_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_host_channels_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 925 - processors: - - label: pv660f_event_ctldev_negotiation_memory_size_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_memory_size_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 926 - processors: - - label: pv660f_event_ctldev_negotiation_cache_size_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ctldev_negotiation_cache_size_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 927 - processors: - - label: pv660f_event_physdev_hot_spare_smaller_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.channelNumberEv = this.trap.VarBinds.index(1).Value - root.out.dell.targetIDEv = this.trap.VarBinds.index(2).Value - - label: pv660f_event_physdev_hot_spare_smaller_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 980 - processors: - - label: pv660f_event_ses_err_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_ses_err_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 981 - processors: - - label: pv660f_event_enc_ses_err_variables - mapping: |- - #!blobl - root = this - - root.out.dell.controllerNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: pv660f_event_enc_ses_err_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10804 - processors: - - label: fsys_pro_disk_capacity_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.volumeNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: fsys_pro_disk_capacity_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10805 - processors: - - label: fsys_pro_disk_capacity_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.volumeNameEv = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: fsys_pro_disk_capacity_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/dell/MIB-Dell-10892-baseboardGroup.yml b/traps/rules/dell/MIB-Dell-10892-baseboardGroup.yml deleted file mode 100644 index 1868aaf6..00000000 --- a/traps/rules/dell/MIB-Dell-10892-baseboardGroup.yml +++ /dev/null @@ -1,2784 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MIB-Dell-10892" -- switch: - - check: this.trap.SpecificTrap == 1001 - processors: - - label: alert_system_up_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_system_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Server Administrator Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Server Administrator Completed Initialization ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1004 - processors: - - label: alert_thermal_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_thermal_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Thermal Shutdown Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Thermal Shutdown Protection Initiated ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1006 - processors: - - label: alert_automatic_system_recovery_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_automatic_system_recovery_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1007 - processors: - - label: alert_user_host_system_reset_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_user_host_system_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1013 - processors: - - label: alert_system_peak_power_new_peak_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_system_peak_power_new_peak_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1014 - processors: - - label: alert_system_software_event_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_system_software_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1052 - processors: - - label: alert_temperature_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_temperature_probe_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Temperature OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1053 - processors: - - label: alert_temperature_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_temperature_probe_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Temperature Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1054 - processors: - - label: alert_temperature_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_temperature_probe_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Temperature Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1055 - processors: - - label: alert_temperature_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_temperature_probe_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Temperature Non-Recoverable ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1102 - processors: - - label: alert_cooling_device_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_cooling_device_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cooling Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Cooling Device Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1103 - processors: - - label: alert_cooling_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_cooling_device_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cooling Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Cooling Device Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1104 - processors: - - label: alert_cooling_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_cooling_device_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cooling Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Cooling Device Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1105 - processors: - - label: alert_cooling_device_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_cooling_device_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cooling Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Cooling Device Non-Recoverable ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1152 - processors: - - label: alert_voltage_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_voltage_probe_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Voltage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Voltage Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1153 - processors: - - label: alert_voltage_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_voltage_probe_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Voltage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Voltage Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1154 - processors: - - label: alert_voltage_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_voltage_probe_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Voltage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Voltage Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1155 - processors: - - label: alert_voltage_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_voltage_probe_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Voltage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Voltage Non-Recoverable ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1202 - processors: - - label: alert_amperage_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_amperage_probe_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Amperage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Amperage Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1203 - processors: - - label: alert_amperage_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_amperage_probe_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Amperage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Amperage Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1204 - processors: - - label: alert_amperage_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_amperage_probe_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Amperage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Amperage Failure ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1205 - processors: - - label: alert_amperage_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_amperage_probe_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Amperage Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Amperage Non-Recoverable ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1252 - processors: - - label: alert_chassis_intrusion_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_chassis_intrusion_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Chassis Intrusion Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Chassis Intrusion Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1254 - processors: - - label: alert_chassis_intrusion_detected_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_chassis_intrusion_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Chassis Intrusion Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Chassis Intrusion Detected ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1304 - processors: - - label: alert_redundancy_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_redundancy_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundancy Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Redundancy Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1305 - processors: - - label: alert_redundancy_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_redundancy_degraded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundancy Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Redundancy Degraded ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1306 - processors: - - label: alert_redundancy_lost_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_redundancy_lost_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundancy Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Redundancy Lost ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1352 - processors: - - label: alert_power_supply_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_power_supply_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Power Supply Normal ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1353 - processors: - - label: alert_power_supply_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_power_supply_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1354 - processors: - - label: alert_power_supply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_power_supply_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Power Supply Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1402 - processors: - - label: alert_memory_device_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_memory_device_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1403 - processors: - - label: alert_memory_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_memory_device_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Memory Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Memory Device Warning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1404 - processors: - - label: alert_memory_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_memory_device_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Memory Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Memory Device Critical ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1405 - processors: - - label: alert_memory_device_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_memory_device_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Memory Device Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Memory Device Non-Recoverable ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1452 - processors: - - label: alert_fan_enclosure_insertion_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_fan_enclosure_insertion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Enclosure Insert/Remove" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Fan Enclosure Inserted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1453 - processors: - - label: alert_fan_enclosure_removal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_fan_enclosure_removal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Enclosure Insert/Remove" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Fan Enclosure Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1454 - processors: - - label: alert_fan_enclosure_extended_removal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_fan_enclosure_extended_removal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Enclosure Insert/Remove" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Fan Enclosure Removed for Extended Time ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1501 - processors: - - label: alert_acpower_cord_no_power_non_redundant_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_acpower_cord_no_power_non_redundant_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AC Power Cord Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "AC Power Cord Lost Power, AC Power Switch Set to Non-Redundant ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1502 - processors: - - label: alert_acpower_cord_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_acpower_cord_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AC Power Cord Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "AC Power Cord Regained Power ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1504 - processors: - - label: alert_acpower_cord_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_acpower_cord_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AC Power Cord Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "AC Power Cord Lost Power ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1552 - processors: - - label: alert_log_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_log_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log Size Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Log Size OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1553 - processors: - - label: alert_log_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_log_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log Size Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Log Size Near or At Capacity ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 1554 - processors: - - label: alert_log_full_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_log_full_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1602 - processors: - - label: alert_processor_device_status_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_processor_device_status_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1603 - processors: - - label: alert_processor_device_status_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_processor_device_status_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1604 - processors: - - label: alert_processor_device_status_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_processor_device_status_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1651 - processors: - - label: alert_device_add_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_device_add_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1652 - processors: - - label: alert_device_remove_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_device_remove_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1653 - processors: - - label: alert_device_config_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_device_config_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1702 - processors: - - label: alert_battery_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_battery_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1703 - processors: - - label: alert_battery_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_battery_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1704 - processors: - - label: alert_battery_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_battery_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1753 - processors: - - label: alert_sdcard_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_sdcard_device_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 1754 - processors: - - label: alert_sdcard_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: alert_sdcard_device_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5001 - processors: - - label: enhanced_alert_system_up_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_system_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5004 - processors: - - label: enhanced_alert_thermal_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_thermal_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5006 - processors: - - label: enhanced_alert_automatic_system_recovery_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_automatic_system_recovery_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5007 - processors: - - label: enhanced_alert_user_host_system_reset_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_user_host_system_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5013 - processors: - - label: enhanced_alert_system_peak_power_new_peak_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_system_peak_power_new_peak_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5014 - processors: - - label: enhanced_alert_system_software_event_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_system_software_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5052 - processors: - - label: enhanced_alert_temperature_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_temperature_probe_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5053 - processors: - - label: enhanced_alert_temperature_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_temperature_probe_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5054 - processors: - - label: enhanced_alert_temperature_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_temperature_probe_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5055 - processors: - - label: enhanced_alert_temperature_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_temperature_probe_non_recoverable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5102 - processors: - - label: enhanced_alert_cooling_device_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_cooling_device_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5103 - processors: - - label: enhanced_alert_cooling_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_cooling_device_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5104 - processors: - - label: enhanced_alert_cooling_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_cooling_device_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5105 - processors: - - label: enhanced_alert_cooling_device_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_cooling_device_non_recoverable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5152 - processors: - - label: enhanced_alert_voltage_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_voltage_probe_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5153 - processors: - - label: enhanced_alert_voltage_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_voltage_probe_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5154 - processors: - - label: enhanced_alert_voltage_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_voltage_probe_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5155 - processors: - - label: enhanced_alert_voltage_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_voltage_probe_non_recoverable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5202 - processors: - - label: enhanced_alert_amperage_probe_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_amperage_probe_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5203 - processors: - - label: enhanced_alert_amperage_probe_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_amperage_probe_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5204 - processors: - - label: enhanced_alert_amperage_probe_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_amperage_probe_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5205 - processors: - - label: enhanced_alert_amperage_probe_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_amperage_probe_non_recoverable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5252 - processors: - - label: enhanced_alert_chassis_intrusion_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_chassis_intrusion_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5254 - processors: - - label: enhanced_alert_chassis_intrusion_detected_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_chassis_intrusion_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5304 - processors: - - label: enhanced_alert_redundancy_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_redundancy_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5305 - processors: - - label: enhanced_alert_redundancy_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_redundancy_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5306 - processors: - - label: enhanced_alert_redundancy_lost_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_redundancy_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5352 - processors: - - label: enhanced_alert_power_supply_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_power_supply_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5353 - processors: - - label: enhanced_alert_power_supply_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_power_supply_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5354 - processors: - - label: enhanced_alert_power_supply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_power_supply_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5402 - processors: - - label: enhanced_alert_memory_device_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_memory_device_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5403 - processors: - - label: enhanced_alert_memory_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_memory_device_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5404 - processors: - - label: enhanced_alert_memory_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_memory_device_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5405 - processors: - - label: enhanced_alert_memory_device_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_memory_device_non_recoverable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5452 - processors: - - label: enhanced_alert_fan_enclosure_insertion_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_fan_enclosure_insertion_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5453 - processors: - - label: enhanced_alert_fan_enclosure_removal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_fan_enclosure_removal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5454 - processors: - - label: enhanced_alert_fan_enclosure_extended_removal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_fan_enclosure_extended_removal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5501 - processors: - - label: enhanced_alert_acpower_cord_no_power_non_redundant_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_acpower_cord_no_power_non_redundant_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5502 - processors: - - label: enhanced_alert_acpower_cord_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_acpower_cord_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5504 - processors: - - label: enhanced_alert_acpower_cord_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_acpower_cord_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5552 - processors: - - label: enhanced_alert_log_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_log_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5553 - processors: - - label: enhanced_alert_log_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_log_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5554 - processors: - - label: enhanced_alert_log_full_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_log_full_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5602 - processors: - - label: enhanced_alert_processor_device_status_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_processor_device_status_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5603 - processors: - - label: enhanced_alert_processor_device_status_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_processor_device_status_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5604 - processors: - - label: enhanced_alert_processor_device_status_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_processor_device_status_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5651 - processors: - - label: enhanced_alert_device_add_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_device_add_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5652 - processors: - - label: enhanced_alert_device_remove_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_device_remove_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5653 - processors: - - label: enhanced_alert_device_config_error_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_device_config_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5702 - processors: - - label: enhanced_alert_battery_normal_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_battery_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5703 - processors: - - label: enhanced_alert_battery_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_battery_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5704 - processors: - - label: enhanced_alert_battery_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_battery_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5753 - processors: - - label: enhanced_alert_sdcard_device_warning_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_sdcard_device_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5754 - processors: - - label: enhanced_alert_sdcard_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.dell.alertSystem = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.dell.alertTableIndexOID = this.trap.VarBinds.index(1).Value - root.out.dell.alertMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.dell.alertCurrentStatus = this.trap.VarBinds.index(3).Value - root.out.dell.alertPreviousStatus = this.trap.VarBinds.index(4).Value - root.out.dell.alertData = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.dell.alertMsgID = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.dell.alertSystemFQDN = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.dell.alertServiceTag = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.dell.alertChassisServiceTag = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: enhanced_alert_sdcard_device_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaCard.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaCard.yml deleted file mode 100644 index f2b8cb27..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaCard.yml +++ /dev/null @@ -1,579 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_watchdog_reset_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_watchdog_reset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_memory_parity_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_memory_parity_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_bus_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bus_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_self_test_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_self_test_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_high_temperature_warning_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_high_temperature_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_high_temperature_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_high_temperature_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_bad_slot_configuration_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bad_slot_configuration_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_card_busy_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_card_busy_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_sync_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sync_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_sntptimeout_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sntptimeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_core_file_exists_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_core_file_exists_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: afa_master_backoff_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_master_backoff_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: afa_slave_active_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_slave_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: afa_psifile_number_exceeded_limit_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_psifile_number_exceeded_limit_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: afa_scsprovision_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_scsprovision_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: afa_pciclock_read_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_pciclock_read_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: afa_communication_loss_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_communication_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: afa_voltage_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_voltage_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: afa_mpegdecoder_lnberror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_lnberror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: afa_mpegdecoder_general_lock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_general_lock_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: afa_switch_reference_lock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_reference_lock_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaCell.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaCell.yml deleted file mode 100644 index 26dd732d..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaCell.yml +++ /dev/null @@ -1,147 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_system_is_not_ready_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_system_is_not_ready_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_master_domain_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_master_domain_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_standby_domain_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_standby_domain_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_standby_domain_active_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_standby_domain_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_database_replication_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_database_replication_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaNetworkGroup.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaNetworkGroup.yml deleted file mode 100644 index fd82f04f..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaNetworkGroup.yml +++ /dev/null @@ -1,309 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_nmsproxy_discovering_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_discovering_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_nmsproxy_critical_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_critical_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_nmsproxy_major_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_major_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_nmsproxy_warning_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_nmsproxy_retrieving_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_retrieving_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_nmsproxy_offline_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_nmsproxy_connection_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_connection_unavailable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_duplicate_site_id_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_duplicate_site_id_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_alarm_toggling_detected_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_alarm_toggling_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_network_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_network_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_nmsproxy_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaPlatform.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaPlatform.yml deleted file mode 100644 index d0fdd0c4..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaPlatform.yml +++ /dev/null @@ -1,4255 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_nmsmismatched_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsmismatched_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSMismatched" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSMismatched" - root.out.event.category.name = "NMS Hardware Mismatch" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Hardware Mismatch" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_nmsoffline_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsoffline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSOffline" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSOffline" - root.out.event.category.name = "NMS Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Offline" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_nmsretrieving_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsretrieving_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSRetrieving" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSRetrieving" - root.out.event.category.name = "NMS Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Retrieving" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_nmstimeout_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmstimeout_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSTimeout" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSTimeout" - root.out.event.category.name = "NMS Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Timeout" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_nmssoftware_mismatched_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmssoftware_mismatched_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSSoftwareMismatched" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSSoftwareMismatched" - root.out.event.category.name = "NMS Software Mismatch" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Software Mismatch" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_nmsdiscovering_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsdiscovering_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSDiscovering" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSDiscovering" - root.out.event.category.name = "NMS Discovering" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Discovering" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_nvconfiguration_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nvconfiguration_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNVConfigurationError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNVConfigurationError" - root.out.event.category.name = "NV Configuration Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NV Configuration Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_provision_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_provision_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaProvisionError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaProvisionError" - root.out.event.category.name = "Provision Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Provision Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_over_subscribed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_over_subscribed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOverSubscribed" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOverSubscribed" - root.out.event.category.name = "Hardware Subscription Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Hardware Oversubscribed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_nvram_corrupted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nvram_corrupted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNvramCorrupted" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNvramCorrupted" - root.out.event.category.name = "NVRAM Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NVRAM Corrupted" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_low_battery_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_low_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLowBattery" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLowBattery" - root.out.event.category.name = "Battery Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Low Battery" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: afa_bad_flash_block_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bad_flash_block_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBadFlashBlock" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBadFlashBlock" - root.out.event.category.name = "Flash Block Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Bad Flash Block" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: afa_nvram_write_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nvram_write_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNvramWriteError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNvramWriteError" - root.out.event.category.name = "NVRAM Write Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NVRAM Write Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: afa_component_over_subscribed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_component_over_subscribed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaComponentOverSubscribed" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaComponentOverSubscribed" - root.out.event.category.name = "Subscription Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Oversubscribed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 15 - processors: - - label: afa_flash_card_removed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_flash_card_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFlashCardRemoved" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFlashCardRemoved" - root.out.event.category.name = "Flash Card Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Flash Card Removed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 16 - processors: - - label: afa_read_only_flash_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_read_only_flash_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaReadOnlyFlash" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaReadOnlyFlash" - root.out.event.category.name = "Flash Card Write Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Flash Card Not Writable" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 17 - processors: - - label: afa_component_busy_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_component_busy_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaComponentBusy" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaComponentBusy" - root.out.event.category.name = "Component Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Component Busy" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 18 - processors: - - label: afa_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_power_supply_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPowerSupplyFailed" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPowerSupplyFailed" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Power Supply Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 19 - processors: - - label: afa_bad_slot_config_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bad_slot_config_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBadSlotConfig" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBadSlotConfig" - root.out.event.category.name = "Slot Configuration Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Bad Slot Configuration" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 20 - processors: - - label: afa_hardware_incomp_with_sw_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_hardware_incomp_with_sw_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHardwareIncompWithSW" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHardwareIncompWithSW" - root.out.event.category.name = "Hardware/Software Compatibility" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Hardware Incompatible With Software" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 21 - processors: - - label: afa_backup_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_backup_power_supply_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBackupPowerSupplyFailed" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBackupPowerSupplyFailed" - root.out.event.category.name = "Backup Power Supply Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Backup Power Supply Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 22 - processors: - - label: afa_no_tftpserver_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_no_tftpserver_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNoTFTPServer" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNoTFTPServer" - root.out.event.category.name = "TFTP Server Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "No TFTP Server" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 23 - processors: - - label: afa_file_not_found_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_file_not_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileNotFound" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileNotFound" - root.out.event.category.name = "File Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File Not Found" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 24 - processors: - - label: afa_insufficient_file_space_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_insufficient_file_space_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaInsufficientFileSpace" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaInsufficientFileSpace" - root.out.event.category.name = "File Space Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File Insufficient Space" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 25 - processors: - - label: afa_file_crcfailure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_file_crcfailure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileCRCFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileCRCFailure" - root.out.event.category.name = "File CRC Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File CRC Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 26 - processors: - - label: afa_general_transfer_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_general_transfer_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaGeneralTransferFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaGeneralTransferFailure" - root.out.event.category.name = "File General Transfer Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File General Transfer Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 27 - processors: - - label: afa_file_not_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_file_not_deleted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileNotDeleted" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileNotDeleted" - root.out.event.category.name = "File Delete Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File Not Deleted" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 28 - processors: - - label: afa_file_corrupted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_file_corrupted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileCorrupted" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileCorrupted" - root.out.event.category.name = "File Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File Corrupted" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 29 - processors: - - label: afa_snmperror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_snmperror_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPError" - root.out.event.category.name = "SNMP Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SNMP Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 30 - processors: - - label: afa_casconnection_refused_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_casconnection_refused_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASConnectionRefused" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASConnectionRefused" - root.out.event.category.name = "CAS Connection Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "CAS Connection Refused" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 31 - processors: - - label: afa_casconnection_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_casconnection_timeout_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASConnectionTimeout" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASConnectionTimeout" - root.out.event.category.name = "CAS Connection Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "CAS Connection Timeout" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 32 - processors: - - label: afa_casincompatible_acmprotocol_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_casincompatible_acmprotocol_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASIncompatibleACMProtocol" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASIncompatibleACMProtocol" - root.out.event.category.name = "CAS ACM Protocol Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "CAS Incompatible ACM Protocol" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 33 - processors: - - label: afa_casinsufficient_resources_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_casinsufficient_resources_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASInsufficientResources" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCASInsufficientResources" - root.out.event.category.name = "CAS Resource Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "CAS Insufficient Resources" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 34 - processors: - - label: afa_loss_of_input_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_input_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossOfInput" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossOfInput" - root.out.event.category.name = "Input Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Loss Of Input" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 35 - processors: - - label: afa_watch_dog_timer_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_watch_dog_timer_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaWatchDogTimer" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaWatchDogTimer" - root.out.event.category.name = "WatchDog Timer" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "WatchDog Timer" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 36 - processors: - - label: afa_internal_device_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_internal_device_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaInternalDeviceError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaInternalDeviceError" - root.out.event.category.name = "Internal Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Internal Device Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 37 - processors: - - label: afa_sub_component_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sub_component_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSubComponentFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSubComponentFailure" - root.out.event.category.name = "Sub Component Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Sub Component Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 38 - processors: - - label: afa_local_comm_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_local_comm_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLocalCommError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLocalCommError" - root.out.event.category.name = "Local Communication Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Local Communication Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 39 - processors: - - label: afa_protocol_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_protocol_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaProtocolError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaProtocolError" - root.out.event.category.name = "Protocol Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Protocol Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 40 - processors: - - label: afa_error_comm_with_device_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_error_comm_with_device_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaErrorCommWithDevice" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaErrorCommWithDevice" - root.out.event.category.name = "Device Communication Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Error Communicating With Device" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 41 - processors: - - label: afa_comm_err_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_comm_err_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCommErrThresholdExceeded" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCommErrThresholdExceeded" - root.out.event.category.name = "Communication Error Threshold" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Communication Error Threshold Exceeded" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 42 - processors: - - label: afa_remote_interface_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_remote_interface_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaRemoteInterfaceDisabled" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaRemoteInterfaceDisabled" - root.out.event.category.name = "Remote Interface Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Remote Interface Disabled" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 43 - processors: - - label: afa_element_manager_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_element_manager_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaElementManagerError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaElementManagerError" - root.out.event.category.name = "Element Manager Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Element Manager Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 44 - processors: - - label: afa_switch_port_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_port_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchPortFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchPortFailure" - root.out.event.category.name = "Switch Port Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Switch Port Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 45 - processors: - - label: afa_switch_performed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_performed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchPerformed" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchPerformed" - root.out.event.category.name = "Switch Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Switch Performed" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 46 - processors: - - label: afa_port_config_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_config_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPortConfigMismatch" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPortConfigMismatch" - root.out.event.category.name = "Port Configuration Mismatch" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Port Configuration Mismatch" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 47 - processors: - - label: afa_switch_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchFailure" - root.out.event.category.name = "Switch Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Switch Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 48 - processors: - - label: afa_nmsstart_stop_status_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.divicom.afaNMSStatus = this.trap.VarBinds.index(1).Value - - label: afa_nmsstart_stop_status_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSStartStopStatus" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSStartStopStatus" - root.out.event.category.name = "NMS Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.string() - root.out.object.name = "Object: $8 - root.out.object.name = root.out.object.name + ", Object: $8 - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "NMS Status" - root.out.event.message = root.out.event.message + ", $4 - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 49 - processors: - - label: afa_nmsdevice_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaSiteName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaTime = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.divicom.afaDeviceStatus = this.trap.VarBinds.index(3).Value - - label: afa_nmsdevice_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSDevice" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSDevice" - root.out.event.category.name = "Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: $8 - root.out.object.name = root.out.object.name + ", Object: $8 - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Device Status" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 50 - processors: - - label: afa_cache_changed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmLogMaxCount = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.898.8.1.3") - - label: afa_cache_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCacheChanged" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaCacheChanged" - root.out.event.category.name = "AFA Log Cache Status" - root.out.object.name = "Device: $2 - root.out.object.name = "Object: $8 - root.out.object.name = root.out.object.name + ", Object: $8 - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.898.8.1.3").string() - root.out.event.message = "AFA Log Cache Max Size Changed" - root.out.event.message = root.out.event.message + ", $4 - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 51 - processors: - - label: afa_oversubscribed_on_all_vcs_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_oversubscribed_on_all_vcs_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOversubscribedOnAllVCS" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOversubscribedOnAllVCS" - root.out.event.category.name = "VC Subscription Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Oversubscribed On All VCs" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 52 - processors: - - label: afa_fan_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fan_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFanFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFanFailure" - root.out.event.category.name = "Fan Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Fan Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 53 - processors: - - label: afa_lcdcommunication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_lcdcommunication_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLCDCommunicationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLCDCommunicationFailure" - root.out.event.category.name = "LCD Communication Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "LCD Communication Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 54 - processors: - - label: afa_device_initialization_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_device_initialization_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDeviceInitializationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDeviceInitializationFailure" - root.out.event.category.name = "Device Initialization Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Device Initialization Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 55 - processors: - - label: afa_time_synchronization_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_time_synchronization_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTimeSynchronizationError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTimeSynchronizationError" - root.out.event.category.name = "Time Synchronization Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Time Synchronization Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 56 - processors: - - label: afa_memory_allocation_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_memory_allocation_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMemoryAllocationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMemoryAllocationFailure" - root.out.event.category.name = "Memory Allocation Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Memory Allocation Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 57 - processors: - - label: afa_unknown_device_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_unknown_device_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUnknownDeviceFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUnknownDeviceFailure" - root.out.event.category.name = "Unknown Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Unknown Device Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 58 - processors: - - label: afa_exceeding_transcoding_capacity_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_exceeding_transcoding_capacity_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaExceedingTranscodingCapacity" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaExceedingTranscodingCapacity" - root.out.event.category.name = "Transcoding Capacity Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Exceeding Transcoding Capacity" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 59 - processors: - - label: afa_ad_insertion_splice_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ad_insertion_splice_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAdInsertionSpliceError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAdInsertionSpliceError" - root.out.event.category.name = "Ad Insertion Splice Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Ad Insertion Splice Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 60 - processors: - - label: afa_ad_server_configuration_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ad_server_configuration_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAdServerConfigurationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAdServerConfigurationFailure" - root.out.event.category.name = "Ad Server Configuration Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Ad Server Configuration Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 61 - processors: - - label: afa_nmsproxy_platform_discovering_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_discovering_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformDiscovering" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformDiscovering" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Discovering" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 62 - processors: - - label: afa_nmsproxy_platform_critical_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformCritical" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformCritical" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Critical" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 63 - processors: - - label: afa_nmsproxy_platform_major_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_major_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformMajor" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformMajor" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Major" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 64 - processors: - - label: afa_nmsproxy_platform_warning_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformWarning" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformWarning" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Warning" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 65 - processors: - - label: afa_nmsproxy_platform_retrieving_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_retrieving_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformRetrieving" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformRetrieving" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Retrieving" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 66 - processors: - - label: afa_nmsproxy_platform_offline_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformOffline" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformOffline" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Offline" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 67 - processors: - - label: afa_scsecmgconnection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_scsecmgconnection_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSCSECMGConnectionFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSCSECMGConnectionFailure" - root.out.event.category.name = "SCS ECMG Connection Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SCS ECMG Connection Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 68 - processors: - - label: afa_multi_cast_overflow_one_to_four_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_multi_cast_overflow_one_to_four_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMultiCastOverflowOneToFour" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMultiCastOverflowOneToFour" - root.out.event.category.name = "MultiCast Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MultiCast OverFlow 1-4" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 69 - processors: - - label: afa_multi_cast_overflow_five_to_eight_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_multi_cast_overflow_five_to_eight_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMultiCastOverflowFiveToEight" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMultiCastOverflowFiveToEight" - root.out.event.category.name = "MultiCast Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MultiCast OverFlow 5-8" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 70 - processors: - - label: afa_upconverters_mismatch_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_upconverters_mismatch_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUpconvertersMismatchAlarm" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUpconvertersMismatchAlarm" - root.out.event.category.name = "Upconverters Mismatch" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Upconverters Mismatch Alarm" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 71 - processors: - - label: afa_ecmgstream_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmgstream_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMGStreamError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMGStreamError" - root.out.event.category.name = "ECMG Stream Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "ECMG Stream Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 72 - processors: - - label: afa_oversample_clock_plllock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_oversample_clock_plllock_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOversampleClockPLLLockError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaOversampleClockPLLLockError" - root.out.event.category.name = "Oversample Clock PLL Lock Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Oversample Clock PLL Lock Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 73 - processors: - - label: afa_fpgaconfiguration_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fpgaconfiguration_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFPGAConfigurationError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFPGAConfigurationError" - root.out.event.category.name = "FPGA Configuration Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "FPGA Configuration Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 74 - processors: - - label: afa_synthesis_clock_plllock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_synthesis_clock_plllock_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSynthesisClockPLLLockError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSynthesisClockPLLLockError" - root.out.event.category.name = "Synthesis Clock PLL Lock Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Synthesis Clock PLL Lock Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 75 - processors: - - label: afa_external_reference_plllock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_external_reference_plllock_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaExternalReferencePLLLockError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaExternalReferencePLLLockError" - root.out.event.category.name = "External Reference PLL Lock Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "External Reference PLL Lock Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 76 - processors: - - label: afa_terrestrial_clock_activity_detection_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_terrestrial_clock_activity_detection_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTerrestrialClockActivityDetectionError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTerrestrialClockActivityDetectionError" - root.out.event.category.name = "Terrestrial Clock Activity Detection Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Terrestrial Clock Activity Detection Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 77 - processors: - - label: afa_tx_data_activity_detection_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_tx_data_activity_detection_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTxDataActivityDetectionError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTxDataActivityDetectionError" - root.out.event.category.name = "Tx Data Activity Detection Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Tx Data Activity Detection Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 78 - processors: - - label: afa_fifounderflow_overflow_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fifounderflow_overflow_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFIFOUnderflowOverflowError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFIFOUnderflowOverflowError" - root.out.event.category.name = "FIFO Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "FIFO Underflow/Overflow Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 79 - processors: - - label: afa_loss_of_frame_synchronization_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_frame_synchronization_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossOfFrameSynchronizationError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossOfFrameSynchronizationError" - root.out.event.category.name = "Frame Synchronization Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Loss Of Frame Synchronization Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 80 - processors: - - label: afa_contact_closure_alarm1_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm1" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm1" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm1" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 81 - processors: - - label: afa_contact_closure_alarm2_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm2" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm2" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm2" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 82 - processors: - - label: afa_contact_closure_alarm3_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm3_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm3" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm3" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm3" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 83 - processors: - - label: afa_contact_closure_alarm4_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm4_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm4" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm4" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm4" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 84 - processors: - - label: afa_contact_closure_alarm5_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm5_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm5" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm5" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm5" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 85 - processors: - - label: afa_contact_closure_alarm6_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm6_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm6" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm6" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm6" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 86 - processors: - - label: afa_switch_command_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_command_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchCommandFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSwitchCommandFailure" - root.out.event.category.name = "Switch Command Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Switch Command Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 87 - processors: - - label: afa_license_is_about_to_expire_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_license_is_about_to_expire_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLicenseIsAboutToExpire" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLicenseIsAboutToExpire" - root.out.event.category.name = "License Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "License Is About To Expire" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 88 - processors: - - label: afa_no_bootpserver_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_no_bootpserver_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNoBOOTPServer" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNoBOOTPServer" - root.out.event.category.name = "BOOTP Server Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Cannot Find BOOTP Server, Booting with Previous IP Settings" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 89 - processors: - - label: afa_nsgpower_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nsgpower_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNSGPowerFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNSGPowerFailure" - root.out.event.category.name = "NSG Power Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NSG Power Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 90 - processors: - - label: afa_ledboard_communication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ledboard_communication_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLEDBoardCommunicationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLEDBoardCommunicationFailure" - root.out.event.category.name = "LED Board Communication Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "LED Board Communication Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 91 - processors: - - label: afa_contact_closure_alarm7_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm7_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm7" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm7" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm7" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 92 - processors: - - label: afa_contact_closure_alarm8_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm8_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm8" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm8" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm8" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 93 - processors: - - label: afa_contact_closure_alarm9_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm9_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm9" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm9" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm9" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 94 - processors: - - label: afa_contact_closure_alarm10_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm10_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm10" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm10" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm10" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 95 - processors: - - label: afa_contact_closure_alarm11_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm11_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm11" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm11" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm11" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 96 - processors: - - label: afa_contact_closure_alarm12_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_contact_closure_alarm12_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm12" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaContactClosureAlarm12" - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Contact Closure Alarm12" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 97 - processors: - - label: afa_serving_area_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_serving_area_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaServingAreaDown" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaServingAreaDown" - root.out.event.category.name = "Serving Area Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Serving Area Down" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 98 - processors: - - label: afa_upstream_device_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_upstream_device_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUpstreamDeviceDisconnected" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaUpstreamDeviceDisconnected" - root.out.event.category.name = "Upstream Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Upstream Device Disconnected" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 99 - processors: - - label: afa_fan1failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fan1failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan1Failure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan1Failure" - root.out.event.category.name = "Fan1 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Fan1 Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 100 - processors: - - label: afa_fan2failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fan2failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan2Failure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan2Failure" - root.out.event.category.name = "Fan2 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Fan2 Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 101 - processors: - - label: afa_fan3failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fan3failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan3Failure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFan3Failure" - root.out.event.category.name = "Fan3 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Fan3 Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 102 - processors: - - label: afa_power_supply_fan_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_power_supply_fan_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPowerSupplyFanFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPowerSupplyFanFailure" - root.out.event.category.name = "Power Supply Fan Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Power Supply Fan Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 103 - processors: - - label: afa_edge_switch_faulted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_edge_switch_faulted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaEdgeSwitchFaulted" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaEdgeSwitchFaulted" - root.out.event.category.name = "Edge Switch Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Edge Switch Faulted" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 104 - processors: - - label: afa_edge_switch_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_edge_switch_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaEdgeSwitchDown" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaEdgeSwitchDown" - root.out.event.category.name = "Edge Switch Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Edge Switch Down" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 105 - processors: - - label: afa_primary_modulator_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_primary_modulator_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPrimaryModulatorFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPrimaryModulatorFailure" - root.out.event.category.name = "Primary Modulator Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Primary Modulator Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 106 - processors: - - label: afa_backup_modulator_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_backup_modulator_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBackupModulatorFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaBackupModulatorFailure" - root.out.event.category.name = "Backup Modulator Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Backup Modulator Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 107 - processors: - - label: afa_primary_and_backup_modulator_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_primary_and_backup_modulator_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPrimaryAndBackupModulatorFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPrimaryAndBackupModulatorFailure" - root.out.event.category.name = "Primary and Backup Modulator Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Primary and Backup Modulator Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 108 - processors: - - label: afa_mpeganalyzer_device_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_device_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMPEGAnalyzerDeviceError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMPEGAnalyzerDeviceError" - root.out.event.category.name = "MPEG Analyzer Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MPEG Analyzer Device Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 109 - processors: - - label: afa_mpeganalyzer_stream_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_stream_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMPEGAnalyzerStreamError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaMPEGAnalyzerStreamError" - root.out.event.category.name = "MPEG Analyzer Stream Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MPEG Analyzer Stream Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 110 - processors: - - label: afa_temperature_high_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_temperature_high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTemperatureHigh" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTemperatureHigh" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Temperature High" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 111 - processors: - - label: afa_ntpcommunication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ntpcommunication_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNTPCommunicationFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNTPCommunicationFailure" - root.out.event.category.name = "NTP Communication Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NTP Communication Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 112 - processors: - - label: afa_hardware_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_hardware_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHardwareFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHardwareFailure" - root.out.event.category.name = "Hardware Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Hardware Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 113 - processors: - - label: afa_ddmunused_piderror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmunused_piderror_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMUnusedPIDError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMUnusedPIDError" - root.out.event.category.name = "DDM Unused PID Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM Unused PID Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 114 - processors: - - label: afa_ddmdata_track_disabled_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmdata_track_disabled_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDataTrackDisabledError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDataTrackDisabledError" - root.out.event.category.name = "DDM DataTrack Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM DataTrack Disabled Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 115 - processors: - - label: afa_ddminactive_dvbchannel_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddminactive_dvbchannel_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMInactiveDVBChannel" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMInactiveDVBChannel" - root.out.event.category.name = "DDM DVB Channel Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM Inactive DVB Channel" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 116 - processors: - - label: afa_ddmpidlost_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmpidlost_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMPIDLostError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMPIDLostError" - root.out.event.category.name = "DDM PID Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM PID Lost Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 117 - processors: - - label: afa_ddmplayout_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmplayout_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMPlayoutFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMPlayoutFailure" - root.out.event.category.name = "DDM Playout Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM Playout Failure" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 118 - processors: - - label: afa_ddmdvbunprovisioned_pid_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmdvbunprovisioned_pid_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBUnprovisionedPID" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBUnprovisionedPID" - root.out.event.category.name = "DDM DVB PID Provision Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM DVB Unprovisioned PID" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 119 - processors: - - label: afa_ddmdvbstream_rate_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmdvbstream_rate_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBStreamRateError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBStreamRateError" - root.out.event.category.name = "DDM DVB Stream Rate Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM DVB Stream Rate Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 120 - processors: - - label: afa_ddmdvbstream_loss_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ddmdvbstream_loss_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBStreamLossError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDDMDVBStreamLossError" - root.out.event.category.name = "DDM DVB Stream Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "DDM DVB Stream Loss Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 121 - processors: - - label: afa_httperror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_httperror_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHTTPError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaHTTPError" - root.out.event.category.name = "HTTP Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "HTTP Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 122 - processors: - - label: afa_low_optical_input_power_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_low_optical_input_power_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLowOpticalInputPower" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLowOpticalInputPower" - root.out.event.category.name = "Optical Input Power Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Optical Input Power Low" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 123 - processors: - - label: afa_laser_temperature1high_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_temperature1high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserTemperature1High" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserTemperature1High" - root.out.event.category.name = "Laser Temperature1 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Laser Temperature1 High" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 124 - processors: - - label: afa_laser_temperature2high_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_temperature2high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserTemperature2High" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserTemperature2High" - root.out.event.category.name = "Laser Temperature2 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Laser Temperature2 High" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 125 - processors: - - label: afa_laser_bias_current1high_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_bias_current1high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserBiasCurrent1High" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserBiasCurrent1High" - root.out.event.category.name = "Laser Bias Current1 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Laser Bias Current1 High" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 126 - processors: - - label: afa_laser_bias_current2high_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_bias_current2high_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserBiasCurrent2High" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserBiasCurrent2High" - root.out.event.category.name = "Laser Bias Current2 Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Laser Bias Current2 High" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 127 - processors: - - label: afa_lossof_optical_output_power_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_lossof_optical_output_power_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossofOpticalOutputPower" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLossofOpticalOutputPower" - root.out.event.category.name = "Optical Output Power Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Loss of Optical Output Power" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 128 - processors: - - label: afa_temperature_low_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_temperature_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTemperatureLow" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaTemperatureLow" - root.out.event.category.name = "Temperature Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Temperature Low" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 129 - processors: - - label: afa_laser_switch_off_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_switch_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserSwitchOff" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaLaserSwitchOff" - root.out.event.category.name = "Laser Switch Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Laser Switch Off" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 130 - processors: - - label: afa_fiber_drawer_open_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fiber_drawer_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFiberDrawerOpen" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFiberDrawerOpen" - root.out.event.category.name = "Fiber Drawer Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Fiber Drawer Open" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 131 - processors: - - label: afa_amplifier_output_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_amplifier_output_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAmplifierOutputDisabled" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaAmplifierOutputDisabled" - root.out.event.category.name = "Amplifier Output Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Amplifier Output Disabled" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 132 - processors: - - label: afa_device_cold_start_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_device_cold_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDeviceColdStart" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaDeviceColdStart" - root.out.event.category.name = "Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Device Cold Start" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 133 - processors: - - label: afa_conflicting_control_settings_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_conflicting_control_settings_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaConflictingControlSettings" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaConflictingControlSettings" - root.out.event.category.name = "Control Setting Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Conflicting Control Settings" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 134 - processors: - - label: afa_nmsproxy_platform_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nmsproxy_platform_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformAcknowledged" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaNMSProxyPlatformAcknowledged" - root.out.event.category.name = "NMS Proxy Platform Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "NMS Proxy Platform Acknowledged" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 135 - processors: - - label: afa_snmpdevice_critical_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_snmpdevice_critical_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceCriticalError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceCriticalError" - root.out.event.category.name = "SNMP Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SNMP Device Critical Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 136 - processors: - - label: afa_snmpdevice_major_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_snmpdevice_major_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceMajorError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceMajorError" - root.out.event.category.name = "SNMP Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SNMP Device Major Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 137 - processors: - - label: afa_snmpdevice_warning_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_snmpdevice_warning_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceWarningError" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaSNMPDeviceWarningError" - root.out.event.category.name = "SNMP Device Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "SNMP Device Warning Error" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 138 - processors: - - label: afa_general_dto_ipalert_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_general_dto_ipalert_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaGeneralDToIPAlert" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaGeneralDToIPAlert" - root.out.event.category.name = "DToIP Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "General DToIP Alert" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 139 - processors: - - label: afa_file_downloading_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_file_downloading_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileDownloading" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaFileDownloading" - root.out.event.category.name = "File Download Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "File Downloading" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 140 - processors: - - label: afa_psisiupload_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_psisiupload_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPSISIUploadFailure" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaPSISIUploadFailure" - root.out.event.category.name = "PSI/SI File TFTP Upload Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "PSI/SI File TFTP Upload Transmission Errors" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 141 - processors: - - label: afa_ecmexpired_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmexpired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMExpired" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMExpired" - root.out.event.category.name = "PM ECM Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "PM ECM Expired" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 142 - processors: - - label: afa_ecmalmost_expired_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmalmost_expired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMAlmostExpired" - root.out.event.id = "SNMPTRAP-divicom-DIVICOM-AFA-MIB-afaECMAlmostExpired" - root.out.event.category.name = "PM ECM Status" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Object: " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.object.name = root.out.object.name + ", Alarm ID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "PM ECM Almost Expired" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaPort.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaPort.yml deleted file mode 100644 index 00e9e0ab..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaPort.yml +++ /dev/null @@ -1,3630 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_loss_of_input_sync_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_input_sync_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_bit_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bit_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_port_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_crc_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_crc_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_fifo_overrun_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fifo_overrun_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_fifo_under_run_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_fifo_under_run_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_packet_sync_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_packet_sync_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_dm_fifo_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_dm_fifo_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_capture_fifo_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_capture_fifo_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_port_overrun_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_overrun_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_cable_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_cable_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: afa_cmd_sync_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_cmd_sync_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: afa_loss_of_signal_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_signal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: afa_loss_of_frame_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_frame_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: afa_loss_of_pointer_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_pointer_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: afa_loss_of_cell_delineation_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_cell_delineation_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: afa_line_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_line_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: afa_line_remote_defect_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_line_remote_defect_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: afa_path_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_path_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: afa_path_remote_defect_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_path_remote_defect_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: afa_primary_clock_lost_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_primary_clock_lost_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: afa_oc3channel_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_oc3channel_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: afa_generic_profile_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_generic_profile_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: afa_gb_eloss_of_sync_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_eloss_of_sync_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: afa_gb_ecrcerror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_ecrcerror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: afa_video_over_ipport_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_video_over_ipport_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: afa_ethernet_master_link_down_cable_disconnect_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ethernet_master_link_down_cable_disconnect_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: afa_ethernet_slave_link_down_cable_disconnect_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ethernet_slave_link_down_cable_disconnect_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: afa_gb_emaster_sfpmissing_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_emaster_sfpmissing_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: afa_gb_eslave_sfpmissing_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_eslave_sfpmissing_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: afa_ethernet_slave_channel_activated_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ethernet_slave_channel_activated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: afa_ethernet_port1invalid_ipparameters_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ethernet_port1invalid_ipparameters_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: afa_ethernet_port2invalid_ipparameters_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ethernet_port2invalid_ipparameters_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: afa_ucloss_of_input_sync_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucloss_of_input_sync_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: afa_ucpll1problem_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucpll1problem_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: afa_ucpll2problem_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucpll2problem_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: afa_ucrflevel_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucrflevel_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: afa_uciflevel_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_uciflevel_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: afa_ucpower_supply_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucpower_supply_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: afa_uctemperature_out_of_range_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_uctemperature_out_of_range_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: afa_ucgeneral_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucgeneral_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: afa_ucconnection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucconnection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: afa_ucinternal_communication_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucinternal_communication_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: afa_ucrepeated_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucrepeated_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: afa_bitrate_mismatch_packet_sync_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bitrate_mismatch_packet_sync_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: afa_rfdisable_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_rfdisable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: afa_psiread_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_psiread_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: afa_invalid_input_port_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_invalid_input_port_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: afa_ipilink_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ipilink_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: afa_ipiinput_buffer_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ipiinput_buffer_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: afa_mpegsync_loss_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegsync_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 52 - processors: - - label: afa_input_errors_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_input_errors_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 53 - processors: - - label: afa_over_flow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_over_flow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 54 - processors: - - label: afa_number_of_services_exceeds_limit_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_number_of_services_exceeds_limit_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 55 - processors: - - label: afa_ucsoftware_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ucsoftware_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 56 - processors: - - label: afa_generic_transport_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_generic_transport_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 57 - processors: - - label: afa_gb_emanagement_buffer_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_emanagement_buffer_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 58 - processors: - - label: afa_nearing_oversubscription_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_nearing_oversubscription_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 59 - processors: - - label: afa_qamcommunication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_qamcommunication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 60 - processors: - - label: afa_udaddata_not_received_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udaddata_not_received_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 61 - processors: - - label: afa_udadethernet_connection_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udadethernet_connection_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 62 - processors: - - label: afa_udadtelnet_connection_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udadtelnet_connection_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 63 - processors: - - label: afa_udadconfiguration_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udadconfiguration_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 64 - processors: - - label: afa_scseisnot_connected_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_scseisnot_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 65 - processors: - - label: afa_missing_gb_eport_resources_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_missing_gb_eport_resources_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 66 - processors: - - label: afa_no_valid_mpegstream_in_input_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_no_valid_mpegstream_in_input_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 67 - processors: - - label: afa_management_port_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_management_port_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 68 - processors: - - label: afa_udadauthentication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udadauthentication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 69 - processors: - - label: afa_ecmis_missing_in_configuration_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmis_missing_in_configuration_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 70 - processors: - - label: afa_serving_area_faulted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_serving_area_faulted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 71 - processors: - - label: afa_upstream_cable_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_upstream_cable_disconnected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 72 - processors: - - label: afa_cannot_scramble_missing_pid_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_cannot_scramble_missing_pid_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 73 - processors: - - label: afa_generic_program_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_generic_program_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 74 - processors: - - label: afa_self_switch_performed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_self_switch_performed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 75 - processors: - - label: afa_udlrdtcptimeout_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udlrdtcptimeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 76 - processors: - - label: afa_udlrbidirectional_connection_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_udlrbidirectional_connection_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 77 - processors: - - label: afa_mpeganalyzer_referenced_pidmissing_in_transport_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_referenced_pidmissing_in_transport_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 78 - processors: - - label: afa_mpeganalyzer_scrambling_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_scrambling_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 79 - processors: - - label: afa_mpeganalyzer_ghost_pidspresent_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_ghost_pidspresent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 80 - processors: - - label: afa_mpeganalyzer_threshhold_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_threshhold_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 81 - processors: - - label: afa_mpeganalyzer_lossof_signal_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_lossof_signal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 82 - processors: - - label: afa_mpeganalyzer_pcrerror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_pcrerror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 83 - processors: - - label: afa_mpeganalyzer_ptserror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_ptserror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 84 - processors: - - label: afa_mpeganalyzer_referenced_pidmissing_in_program_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_referenced_pidmissing_in_program_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 85 - processors: - - label: afa_mpeganalyzer_continuity_counter_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_continuity_counter_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 86 - processors: - - label: afa_mpeganalyzer_scrambling_syntax_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_scrambling_syntax_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 87 - processors: - - label: afa_mpeganalyzer_psisiatsctable_syntax_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_psisiatsctable_syntax_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 88 - processors: - - label: afa_mpeganalyzer_table_repetition_rate_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_table_repetition_rate_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 89 - processors: - - label: afa_mpeganalyzer_lossof_sync_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpeganalyzer_lossof_sync_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 90 - processors: - - label: afa_laser_power_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_power_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 91 - processors: - - label: afa_laser_temperature_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_temperature_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 92 - processors: - - label: afa_laser_bias_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_laser_bias_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 93 - processors: - - label: afa_tx_lock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_tx_lock_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 94 - processors: - - label: afa_tx_fifoerror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_tx_fifoerror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 95 - processors: - - label: afa_rx_power_low_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_rx_power_low_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 96 - processors: - - label: afa_rx_lock_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_rx_lock_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 97 - processors: - - label: afa_transport_link_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_transport_link_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 98 - processors: - - label: afa_sfptx_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sfptx_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 99 - processors: - - label: afa_sfprx_loss_of_signal_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sfprx_loss_of_signal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 100 - processors: - - label: afa_sfpstate_change_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sfpstate_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 101 - processors: - - label: afa_port_frame_size_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_frame_size_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 102 - processors: - - label: afa_port_input_source_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_input_source_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 103 - processors: - - label: afa_port_loss_frame_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_port_loss_frame_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 104 - processors: - - label: afa_aicdsperror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_aicdsperror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 105 - processors: - - label: afa_aicdspheartbeat_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_aicdspheartbeat_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 106 - processors: - - label: afa_lack_buffer_descriptors_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_lack_buffer_descriptors_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 107 - processors: - - label: afa_linked_monitor_device_faulted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_linked_monitor_device_faulted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 108 - processors: - - label: afa_scsdown_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_scsdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 109 - processors: - - label: afa_backup_scsup_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_backup_scsup_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 110 - processors: - - label: afa_invalid_protocol_mode_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_invalid_protocol_mode_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 111 - processors: - - label: afa_dto_iprate_message_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_dto_iprate_message_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 112 - processors: - - label: afa_cofdmerror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_cofdmerror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 113 - processors: - - label: afa_reference_loss_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_reference_loss_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 114 - processors: - - label: afa_mpegdecoder_signal_strength_threshold_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_signal_strength_threshold_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 115 - processors: - - label: afa_mpegdecoder_signal_quality_threshold_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_signal_quality_threshold_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 116 - processors: - - label: afa_mpegdecoder_general_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_general_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 117 - processors: - - label: afa_mpegdecoder_loss_of_sync_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_loss_of_sync_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 118 - processors: - - label: afa_mpegdecoder_snrbefore_equalization_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_snrbefore_equalization_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 119 - processors: - - label: afa_mpegdecoder_snrafter_equalization_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_snrafter_equalization_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 120 - processors: - - label: afa_mpegdecoder_service_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_service_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 121 - processors: - - label: afa_mpegdecoder_transport_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_transport_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 122 - processors: - - label: afa_mpegdecoder_pcrerror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_pcrerror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 123 - processors: - - label: afa_mpegdecoder_stream_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_stream_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 124 - processors: - - label: afa_switch_input_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_switch_input_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 125 - processors: - - label: afa_mpegdecoder_referenced_pidmissing_in_transport_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegdecoder_referenced_pidmissing_in_transport_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 126 - processors: - - label: afa_datransport_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_datransport_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 127 - processors: - - label: afa_ipnetwork_packet_loss_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ipnetwork_packet_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 128 - processors: - - label: afa_communication_problem_with_the_ecmg_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_communication_problem_with_the_ecmg_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 129 - processors: - - label: afa_general_ipinput_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_general_ipinput_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 130 - processors: - - label: afa_mpegpacket_loss_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_mpegpacket_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 131 - processors: - - label: afa_sustained_mpegpacket_loss_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sustained_mpegpacket_loss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 132 - processors: - - label: afa_gb_elinkdown_port_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_elinkdown_port_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 133 - processors: - - label: afa_sfpmissing_port_down_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sfpmissing_port_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 135 - processors: - - label: afa_gb_einter_packet_gap_too_small_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_einter_packet_gap_too_small_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaSimulcryptComponent.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaSimulcryptComponent.yml deleted file mode 100644 index 968cb42c..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaSimulcryptComponent.yml +++ /dev/null @@ -1,39 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_generic_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_generic_alarm_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntity.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntity.yml deleted file mode 100644 index 485257ce..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntity.yml +++ /dev/null @@ -1,795 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_profile_los_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_profile_los_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_stream_non_compliant_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_stream_non_compliant_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_stream_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_stream_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_no_input_data_recvd_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_no_input_data_recvd_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_los_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_los_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_stream_compliance_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_stream_compliance_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_stream_overflow_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_stream_overflow_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_stream_underflow_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_stream_underflow_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_video_ccthreshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_video_ccthreshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_video_eds_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_video_eds_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_socket_bind_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_socket_bind_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: afa_profile_exceeded_max_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_profile_exceeded_max_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: afa_profile_drofault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_profile_drofault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: afa_tcp_connection_closed_by_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_tcp_connection_closed_by_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: afa_generic_route_fault_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_generic_route_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: afa_loss_of_stream_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_loss_of_stream_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: afa_source_connection_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_source_connection_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: afa_internal_stream_processing_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_internal_stream_processing_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: afa_splice_info_table_processing_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_splice_info_table_processing_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: afa_recoder_hardware_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_recoder_hardware_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: afa_insertion_stream_file_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_insertion_stream_file_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: afa_pidmissing_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_pidmissing_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: afa_ecmstream_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmstream_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: afa_ecmspooling_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_ecmspooling_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: afa_casdevice_not_found_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_casdevice_not_found_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: afa_invalid_pidrange_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_invalid_pidrange_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: afa_input_service_missing_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_input_service_missing_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: afa_h264mode_not_supported_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_h264mode_not_supported_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: afa_vc1mode_not_supported_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_vc1mode_not_supported_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntityGroup.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntityGroup.yml deleted file mode 100644 index 61b4b0e2..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamEntityGroup.yml +++ /dev/null @@ -1,822 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_sync_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_sync_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_crc_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_crc_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: afa_pdu_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_pdu_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: afa_cell_error_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_cell_error_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: afa_channel_ovf_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_channel_ovf_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: afa_channel_exceed_max_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_channel_exceed_max_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: afa_channel_underflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_channel_underflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: afa_no_pcrwith_program_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_no_pcrwith_program_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: afa_psirebuild_needed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_psirebuild_needed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: afa_bandwidth_overflow_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_bandwidth_overflow_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: afa_dro_pool_overload_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_dro_pool_overload_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: afa_output_stream_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_output_stream_stopped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: afa_internal_program_processing_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_internal_program_processing_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: afa_gb_esocket_not_active_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_esocket_not_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: afa_channel_sustained_overflow_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_channel_sustained_overflow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: afa_gb_esocket_not_transmitted_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_esocket_not_transmitted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: afa_gb_esocket_invalid_destination_mac_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_esocket_invalid_destination_mac_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: afa_invalid_multicast_address_port_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_invalid_multicast_address_port_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: afa_register_monitor_piderror_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_register_monitor_piderror_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: afa_gb_eprimary_socket_not_active_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_eprimary_socket_not_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: afa_gb_ebackup_socket_not_active_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_ebackup_socket_not_active_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: afa_gb_ebackup_socket_activated_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_ebackup_socket_activated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: afa_gb_esocket_failed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_esocket_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: afa_excessive_network_jitter_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_excessive_network_jitter_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: afa_packet_too_late_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_packet_too_late_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: afa_packet_too_early_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_packet_too_early_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: afa_gb_emptssocket_oversubscribed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_emptssocket_oversubscribed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: afa_gb_esptssocket_oversubscribed_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_gb_esptssocket_oversubscribed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: afa_dpisplice_command_sent_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_dpisplice_command_sent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: afa_dpicommunication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_dpicommunication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamMap.yml b/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamMap.yml deleted file mode 100644 index 9d132795..00000000 --- a/traps/rules/divicom/DIVICOM-AFA-MIB-afaStreamMap.yml +++ /dev/null @@ -1,66 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIVICOM-AFA-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: afa_smpath_selection_error_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_smpath_selection_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: afa_smstream_provisioned_on_faulted_device_variables - mapping: |- - #!blobl - root = this - - root.out.divicom.afaAlarmID = this.trap.VarBinds.index(0).Value - root.out.divicom.afaDeviceName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.divicom.afaSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.6") - root.out.divicom.afaInfoString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.divicom.afaAssertTime = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.divicom.afaAlarmState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.898.8.2.2.1.14") - root.out.divicom.afaAcknowledgeTime = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.divicom.afaObjectName = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: afa_smstream_provisioned_on_faulted_device_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ebs/Access-TRAP-MIB-accNotifications.yml b/traps/rules/ebs/Access-TRAP-MIB-accNotifications.yml deleted file mode 100644 index 56764137..00000000 --- a/traps/rules/ebs/Access-TRAP-MIB-accNotifications.yml +++ /dev/null @@ -1,37 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "Access-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: acc_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.ebs.accTrapCount = this.trap.VarBinds.index(0).Value - root.out.ebs.accTrapText = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ebs.accTrapSeverity = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1056.1.1.1.1.3") - root.out.ebs.accTrapAlrmtyp = this.trap.VarBinds.index(3).Value - root.out.ebs.accTrapGrpid = this.trap.VarBinds.index(4).Value - root.out.ebs.accTrapModid = this.trap.VarBinds.index(5).Value - - label: acc_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AccessMANAGER Alarm ( Alarm Type: " + this.trap.VarBinds.index(3).Value.string() + " )" - root.out.object.name = "Group: " + this.trap.VarBinds.index(4).Value.string() + ", Module: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: acc_alarm_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/eds/EDS2-MIB-edsTraps.yml b/traps/rules/eds/EDS2-MIB-edsTraps.yml deleted file mode 100644 index 0f252394..00000000 --- a/traps/rules/eds/EDS2-MIB-edsTraps.yml +++ /dev/null @@ -1,1332 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "EDS2-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: pwr_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-pwrFailureTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-pwrFailureTrap" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Failed" - - check: this.trap.SpecificTrap == 2 - processors: - - label: pwr_failure_finished_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-pwrFailureFinishedTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-pwrFailureFinishedTrap" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply OK" - - check: this.trap.SpecificTrap == 3 - processors: - - label: rtc_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-rtcFailureTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-rtcFailureTrap" - root.out.event.category.name = "Real Time Clock Status" - root.out.object.name = "" - root.out.event.message = "Real Time Clock Failed" - - check: this.trap.SpecificTrap == 4 - processors: - - label: rtc_failure_finished_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-rtcFailureFinishedTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-rtcFailureFinishedTrap" - root.out.event.category.name = "Real Time Clock Status" - root.out.object.name = "" - root.out.event.message = "Real Time Clock OK" - - check: this.trap.SpecificTrap == 5 - processors: - - label: if2error_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-if2ErrorTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-if2ErrorTrap" - root.out.event.category.name = "Interface Status" - root.out.object.name = "Interface: 2" - root.out.event.message = "Interface Error ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: if2error_finished_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-if2ErrorFinishedTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-if2ErrorFinishedTrap" - root.out.event.category.name = "Interface Status" - root.out.object.name = "Interface: 2" - root.out.event.message = "Interface OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: dig_input1true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput1TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput1TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 1" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: dig_input1false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput1FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput1FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 1" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: dig_input2true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput2TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput2TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 2" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: dig_input2false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput2FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput2FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 2" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: dig_input3true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput3TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput3TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 3" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: dig_input3false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput3FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput3FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 3" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: dig_input4true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput4TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput4TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 4" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: dig_input4false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput4FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput4FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 4" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 15 - processors: - - label: dig_input5true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput5TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput5TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 5" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 16 - processors: - - label: dig_input5false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput5FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput5FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 5" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 17 - processors: - - label: dig_input6true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput6TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput6TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 6" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 18 - processors: - - label: dig_input6false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput6FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput6FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 6" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 19 - processors: - - label: dig_input7true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput7TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput7TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 7" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 20 - processors: - - label: dig_input7false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput7FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput7FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 7" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 21 - processors: - - label: dig_input8true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput8TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput8TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 8" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 22 - processors: - - label: dig_input8false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput8FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput8FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 8" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 23 - processors: - - label: dig_input9true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput9TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput9TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 9" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 24 - processors: - - label: dig_input9false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput9FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput9FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 9" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 25 - processors: - - label: dig_input10true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput10TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput10TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 10" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 26 - processors: - - label: dig_input10false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput10FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput10FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 10" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 27 - processors: - - label: dig_input11true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput11TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput11TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 11" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 28 - processors: - - label: dig_input11false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput11FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput11FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 11" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 29 - processors: - - label: dig_input12true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput12TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput12TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 12" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 30 - processors: - - label: dig_input12false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput12FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput12FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 12" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 31 - processors: - - label: dig_input13true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput13TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput13TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 13" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 32 - processors: - - label: dig_input13false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput13FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput13FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 13" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 33 - processors: - - label: dig_input14true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput14TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput14TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 14" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 34 - processors: - - label: dig_input14false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput14FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput14FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 14" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 35 - processors: - - label: dig_input15true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput15TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput15TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 15" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 36 - processors: - - label: dig_input15false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput15FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput15FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 15" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 37 - processors: - - label: dig_input16true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput16TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput16TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 16" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 38 - processors: - - label: dig_input16false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput16FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput16FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 16" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 39 - processors: - - label: dig_input17true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput17TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput17TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 17" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 40 - processors: - - label: dig_input17false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput17FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput17FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 17" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 41 - processors: - - label: dig_input18true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput18TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput18TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 18" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 42 - processors: - - label: dig_input18false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput18FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput18FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 18" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 43 - processors: - - label: dig_input19true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput19TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput19TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 19" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 44 - processors: - - label: dig_input19false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput19FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput19FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 19" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 45 - processors: - - label: dig_input20true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput20TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput20TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 20" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 46 - processors: - - label: dig_input20false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput20FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput20FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 20" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 47 - processors: - - label: dig_input21true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput21TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput21TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 21" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 48 - processors: - - label: dig_input21false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput21FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput21FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 21" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 49 - processors: - - label: dig_input22true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput22TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput22TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 22" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 50 - processors: - - label: dig_input22false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput22FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput22FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 22" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 51 - processors: - - label: dig_input23true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput23TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput23TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 23" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 52 - processors: - - label: dig_input23false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput23FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput23FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 23" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 53 - processors: - - label: dig_input24true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput24TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput24TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 24" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 54 - processors: - - label: dig_input24false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput24FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput24FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 24" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 55 - processors: - - label: dig_input25true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput25TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput25TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 25" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 56 - processors: - - label: dig_input25false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput25FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput25FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 25" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 57 - processors: - - label: dig_input26true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput26TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput26TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 26" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 58 - processors: - - label: dig_input26false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput26FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput26FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 26" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 59 - processors: - - label: dig_input27true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput27TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput27TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 27" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 60 - processors: - - label: dig_input27false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput27FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput27FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 27" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 61 - processors: - - label: dig_input28true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput28TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput28TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 28" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 62 - processors: - - label: dig_input28false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput28FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput28FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 28" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 63 - processors: - - label: dig_input29true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput29TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput29TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 29" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 64 - processors: - - label: dig_input29false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput29FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput29FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 29" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 65 - processors: - - label: dig_input30true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput30TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput30TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 30" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 66 - processors: - - label: dig_input30false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput30FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput30FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 30" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 67 - processors: - - label: dig_input31true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput31TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput31TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 31" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 68 - processors: - - label: dig_input31false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput31FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput31FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 31" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 69 - processors: - - label: dig_input32true_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput32TrueTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput32TrueTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 32" - root.out.event.message = "Digital Input High ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 70 - processors: - - label: dig_input32false_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-digInput32FalseTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-digInput32FalseTrap" - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "Digital Input: 32" - root.out.event.message = "Digital Input Low ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 71 - processors: - - label: analog_input1above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput1AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput1AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 1" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 72 - processors: - - label: analog_input1below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput1BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput1BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 1" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 73 - processors: - - label: analog_input1above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput1AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput1AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 1" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 74 - processors: - - label: analog_input1below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput1BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput1BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 1" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 75 - processors: - - label: analog_input2above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput2AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput2AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 2" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 76 - processors: - - label: analog_input2below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput2BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput2BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 2" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 77 - processors: - - label: analog_input2above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput2AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput2AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 2" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 78 - processors: - - label: analog_input2below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput2BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput2BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 2" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 79 - processors: - - label: analog_input3above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput3AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput3AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 3" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 80 - processors: - - label: analog_input3below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput3BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput3BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 3" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 81 - processors: - - label: analog_input3above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput3AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput3AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 3" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 82 - processors: - - label: analog_input3below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput3BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput3BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 3" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 83 - processors: - - label: analog_input4above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput4AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput4AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 4" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 84 - processors: - - label: analog_input4below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput4BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput4BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 4" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 85 - processors: - - label: analog_input4above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput4AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput4AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 4" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 86 - processors: - - label: analog_input4below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput4BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput4BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 4" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 87 - processors: - - label: analog_input5above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput5AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput5AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 5" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 88 - processors: - - label: analog_input5below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput5BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput5BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 5" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 89 - processors: - - label: analog_input5above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput5AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput5AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 5" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 90 - processors: - - label: analog_input5below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput5BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput5BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 5" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 91 - processors: - - label: analog_input6above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput6AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput6AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 6" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 92 - processors: - - label: analog_input6below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput6BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput6BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 6" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 93 - processors: - - label: analog_input6above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput6AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput6AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 6" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 94 - processors: - - label: analog_input6below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput6BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput6BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 6" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 95 - processors: - - label: analog_input7above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput7AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput7AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 7" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 96 - processors: - - label: analog_input7below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput7BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput7BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 7" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 97 - processors: - - label: analog_input7above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput7AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput7AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 7" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 98 - processors: - - label: analog_input7below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput7BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput7BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 7" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 99 - processors: - - label: analog_input8above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput8AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput8AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 8" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 100 - processors: - - label: analog_input8below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput8BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput8BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 8" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 101 - processors: - - label: analog_input8above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput8AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput8AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 8" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 102 - processors: - - label: analog_input8below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput8BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput8BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 8" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 103 - processors: - - label: analog_input9above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput9AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput9AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 9" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 104 - processors: - - label: analog_input9below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput9BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput9BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 9" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 105 - processors: - - label: analog_input9above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput9AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput9AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 9" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 106 - processors: - - label: analog_input9below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput9BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput9BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 9" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 107 - processors: - - label: analog_input10above_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput10AboveUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput10AboveUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 10" - root.out.event.message = "Analog Input Above Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 108 - processors: - - label: analog_input10below_upper_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput10BelowUpperLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput10BelowUpperLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 10" - root.out.event.message = "Analog Input Below Upper Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 109 - processors: - - label: analog_input10above_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput10AboveLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput10AboveLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 10" - root.out.event.message = "Analog Input Above Lower Limit ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 110 - processors: - - label: analog_input10below_lower_limit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-eds-EDS2-analogInput10BelowLowerLimitTrap" - root.out.event.id = "SNMPTRAP-eds-EDS2-analogInput10BelowLowerLimitTrap" - root.out.event.category.name = "Analog Input Status" - root.out.object.name = "Analog Input: 10" - root.out.event.message = "Analog Input Below Lower Limit ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/emc/EMC-CELERRA-emcCelerra.yml b/traps/rules/emc/EMC-CELERRA-emcCelerra.yml deleted file mode 100644 index 25ba4a33..00000000 --- a/traps/rules/emc/EMC-CELERRA-emcCelerra.yml +++ /dev/null @@ -1,212 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "EMC-CELERRA" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cel_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_reboot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cel_master_ctl_fault_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_master_ctl_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cel_hwfailure_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_hwfailure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cel_slot_stale_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_slot_stale_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cel_slot_panicked_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_slot_panicked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cel_intf_failure_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_intf_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cel_aaf_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_aaf_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cel_csstart_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_csstart_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cel_jserver_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_jserver_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cel_web_gui_variables - mapping: |- - #!blobl - root = this - - root.out.emc.celEvent = this.trap.VarBinds.index(0).Value - - label: cel_web_gui_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/emc/EMC-MIB-emcSymmetrix.yml b/traps/rules/emc/EMC-MIB-emcSymmetrix.yml deleted file mode 100644 index 30a6c3a9..00000000 --- a/traps/rules/emc/EMC-MIB-emcSymmetrix.yml +++ /dev/null @@ -1,140 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "EMC-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: emc_device_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.emc.symmEventDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: emc_device_status_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "EMC Message" - root.out.object.name = "" - root.out.event.message = "EMC Message" - - check: this.trap.SpecificTrap == 2 - processors: - - label: emc_symmetrix_status_trap_variables - mapping: |- - #!blobl - root = this - - root.out.emc.symmEventDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: emc_symmetrix_status_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Symmetrix Status" - root.out.object.name = "osmVariables.1" - root.out.event.message = "Symmetrix Status, emcSymUtil99: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " ( diskIndex: 1 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: emc_ratios_outof_range_trap_variables - mapping: |- - #!blobl - root = this - - root.out.emc.symmEventDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: emc_ratios_outof_range_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Write/Hit Ratio Status" - root.out.object.name = "osmVariables.1" - - label: emc_ratios_outof_range_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == 0 - processors: - - label: emc_ratios_outof_range_trap_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Write and Hit Ratios in Range ( diskIndex: 1 )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == 1 - processors: - - label: emc_ratios_outof_range_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Hit Ratio Out of Range ( diskIndex: 1 )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == 2 - processors: - - label: emc_ratios_outof_range_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Write Ratio Out of Range ( diskIndex: 1 )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == 3 - processors: - - label: emc_ratios_outof_range_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Write and Hit Ratios Out of Range ( diskIndex: 1 )" - - processors: - - label: emc_ratios_outof_range_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Write/Hit Ratio Status Unknown ( diskIndex: 1 )" - - label: emc_ratios_outof_range_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: discovery_table_change_variables - mapping: |- - #!blobl - root = this - - root.out.emc.discoveryChangeTime = this.trap.VarBinds.index(0).Value - - label: discovery_table_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Discovery Table" - root.out.object.name = "" - root.out.event.message = "Discovery Table Change" - - check: this.trap.SpecificTrap == 5 - processors: - - label: emc_symmetrix_event_trap_variables - mapping: |- - #!blobl - root = this - - root.out.emc.symmEventDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: emc_symmetrix_event_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/emc_clariion/CLARIION-MIB-clariion.yml b/traps/rules/emc_clariion/CLARIION-MIB-clariion.yml deleted file mode 100644 index 03db8147..00000000 --- a/traps/rules/emc_clariion/CLARIION-MIB-clariion.yml +++ /dev/null @@ -1,128 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "CLARIION-MIB" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: event_monitor_trap_variables - mapping: |- - #!blobl - root = this - - root.out.emc_clariion.hostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.emc_clariion.deviceID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.emc_clariion.eventID = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.emc_clariion.eventText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_clariion.storageSystem = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: event_monitor_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CLARiiON Message ( Event ID: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.object.name = "Storage System: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: event_monitor_trap_info_variables - mapping: |- - #!blobl - root = this - - root.out.emc_clariion.hostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.emc_clariion.deviceID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.emc_clariion.eventID = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.emc_clariion.eventText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_clariion.storageSystem = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: event_monitor_trap_info_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: event_monitor_trap_warn_variables - mapping: |- - #!blobl - root = this - - root.out.emc_clariion.hostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.emc_clariion.deviceID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.emc_clariion.eventID = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.emc_clariion.eventText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_clariion.storageSystem = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: event_monitor_trap_warn_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: event_monitor_trap_error_variables - mapping: |- - #!blobl - root = this - - root.out.emc_clariion.hostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.emc_clariion.deviceID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.emc_clariion.eventID = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.emc_clariion.eventText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_clariion.storageSystem = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: event_monitor_trap_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: event_monitor_trap_fault_variables - mapping: |- - #!blobl - root = this - - root.out.emc_clariion.hostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.emc_clariion.deviceID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.emc_clariion.eventID = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.emc_clariion.eventText = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_clariion.storageSystem = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: event_monitor_trap_fault_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/emc_datageneral/DGCNAS-MIB-dataGeneral.yml b/traps/rules/emc_datageneral/DGCNAS-MIB-dataGeneral.yml deleted file mode 100644 index 9f6b50a3..00000000 --- a/traps/rules/emc_datageneral/DGCNAS-MIB-dataGeneral.yml +++ /dev/null @@ -1,36 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DGCNAS-MIB" -- switch: - - check: this.trap.SpecificTrap == 4 - processors: - - label: dg_trap_nas_event_log_notification_variables - mapping: |- - #!blobl - root = this - - root.out.emc_datageneral.dgNasEventLogSeverity = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.106.3.3.1.1") - root.out.emc_datageneral.dgNasEventLogSource = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.emc_datageneral.dgNasEventLogDescription = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.emc_datageneral.dgNasEventLogSerialNumber = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.emc_datageneral.dgNasEventLogSystemType = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: dg_trap_nas_event_log_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log Event ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " )" - root.out.object.name = "NAS Device: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " SN " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + ", Source: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: dg_trap_nas_event_log_notification_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/extreme/EXTREME-TRAP-MIB-extremeV1Traps.yml b/traps/rules/extreme/EXTREME-TRAP-MIB-extremeV1Traps.yml deleted file mode 100644 index 8de23901..00000000 --- a/traps/rules/extreme/EXTREME-TRAP-MIB-extremeV1Traps.yml +++ /dev/null @@ -1,387 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "EXTREME-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: extreme_overheat_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremeCurrentTemperature = this.trap.VarBinds.index(2).Value - - label: extreme_overheat_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature" - root.out.object.name = "" - root.out.event.message = "Tempature sensor has reported an Overheat condition: System will shutdown" - - check: this.trap.SpecificTrap == 7 - processors: - - label: extreme_fanfailed_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremeFanNumber = this.trap.VarBinds.index(2).Value - - label: extreme_fanfailed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "One or more of the Cooling Fans has Failed" - - check: this.trap.SpecificTrap == 8 - processors: - - label: extreme_fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremeFanNumber = this.trap.VarBinds.index(2).Value - - label: extreme_fan_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan is now operating Correctly" - - check: this.trap.SpecificTrap == 9 - processors: - - label: extreme_invalid_login_attempt_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extreme_invalid_login_attempt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Login" - root.out.object.name = "" - root.out.event.message = "User login via telnet Refused: Incorrect username or password" - - check: this.trap.SpecificTrap == 10 - processors: - - label: extreme_power_supply_fail_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremePowerSupplyNumber = this.trap.VarBinds.index(2).Value - - label: extreme_power_supply_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "One or more Power Sources to this agent has Failed" - - check: this.trap.SpecificTrap == 11 - processors: - - label: extreme_power_supply_good_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremePowerSupplyNumber = this.trap.VarBinds.index(2).Value - - label: extreme_power_supply_good_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "One or more previously bad Power Sources has come back to life" - - check: this.trap.SpecificTrap == 12 - processors: - - label: extreme_rps_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extreme_rps_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply device indicating an Alarm" - - check: this.trap.SpecificTrap == 13 - processors: - - label: extreme_rps_no_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extreme_rps_no_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundant Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply device no longer indicating an Alarm" - - check: this.trap.SpecificTrap == 14 - processors: - - label: extreme_smart_trap_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extreme_smart_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Smart Trap" - root.out.object.name = "" - root.out.event.message = "New entry has been created in the extremeSmartTrapInstanceTable" - - check: this.trap.SpecificTrap == 15 - processors: - - label: extreme_module_state_changed_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.extremeSlotNumber = this.trap.VarBinds.index(1).Value - root.out.extreme.extremeSlotModuleConfiguredType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1916.1.1.2.2.1.3") - root.out.extreme.extremeSlotModuleInsertedType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1916.1.1.2.2.1.4") - root.out.extreme.extremeSlotModuleState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1916.1.1.2.2.1.5") - - label: extreme_module_state_changed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Module Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.string() - - label: extreme_module_state_changed_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: extreme_module_state_changed_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Not Present" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: extreme_module_state_changed_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Testing" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: extreme_module_state_changed_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Mismatch" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: extreme_module_state_changed_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Failed" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: extreme_module_state_changed_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Operational" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: extreme_module_state_changed_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Power Down" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: extreme_module_state_changed_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Module ( lookup($3, extremeSlotModuleConfiguredType) ) in slot " + this.trap.VarBinds.index(1).Value.string() + " Unknown" - - label: extreme_module_state_changed_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 17 - processors: - - label: extreme_esrp_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremeVlanIfIndex = this.trap.VarBinds.index(2).Value - root.out.extreme.extremeVlanIfDescr = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.extreme.extremeEsrpGroup = this.trap.VarBinds.index(4).Value - root.out.extreme.extremeEsrpState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1916.1.12.2.1.5") - root.out.extreme.extremeEsrpNetAddress = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.extreme.ifPhysAddress = this.trap.VarBinds.index(7).Value.snmp_mac_address() - root.out.extreme.extremeEsrpActivePorts = this.trap.VarBinds.index(8).Value - root.out.extreme.extremeEsrpInternalActivePorts = this.trap.VarBinds.index(9).Value - root.out.extreme.extremeEsrpTrackedActivePorts = this.trap.VarBinds.index(10).Value - root.out.extreme.extremeEsrpTrackedIpRoutes = this.trap.VarBinds.index(11).Value - - label: extreme_esrp_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ESRP Status" - root.out.object.name = "" - - label: extreme_esrp_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: extreme_esrp_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Extreme Standby Routing Protocol(ESRP) state: Neutral" - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: extreme_esrp_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Extreme Standby Routing Protocol(ESRP) state: Master" - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: extreme_esrp_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Extreme Standby Routing Protocol(ESRP) state: Slave" - - label: extreme_esrp_state_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 18 - processors: - - label: extreme_slb_unit_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Server Load Balancer" - root.out.object.name = "" - root.out.event.message = "Server Load Balancer activated a group of virtual servers that it normally would not activate" - - check: this.trap.SpecificTrap == 19 - processors: - - label: extreme_slb_unit_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Server Load Balancer" - root.out.object.name = "" - root.out.event.message = "Server Load Balancer deactivated a group of virtual servers that it normally has active" - - check: this.trap.SpecificTrap == 20 - processors: - - label: extreme_edp_neighbor_added_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.extremeEdpPortIfIndex = this.trap.VarBinds.index(1).Value - root.out.extreme.extremeEdpNeighborId = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.extreme.extremeEdpEntryAge = this.trap.VarBinds.index(3).Value - root.out.extreme.ifAlias = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.extreme.ifDescr = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: extreme_edp_neighbor_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Extreme Discovery Protocol" - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = "Node discovers a new neighbor ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ) via Extreme Discovery Protocol(EDP)" - - check: this.trap.SpecificTrap == 21 - processors: - - label: extreme_edp_neighbor_removed_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.extremeEdpPortIfIndex = this.trap.VarBinds.index(1).Value - root.out.extreme.extremeEdpNeighborId = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.extreme.extremeEdpEntryAge = this.trap.VarBinds.index(3).Value - root.out.extreme.ifAlias = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.extreme.ifDescr = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: extreme_edp_neighbor_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Extreme Discovery Protocol" - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() - root.out.event.message = "No EDP updates received, neighbor ( " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ) entry is aged out by the device" - - check: this.trap.SpecificTrap == 22 - processors: - - label: extreme_cpu_health_check_failed_variables - mapping: |- - #!blobl - root = this - - root.out.extreme.sysUpTime = this.trap.VarBinds.index(0).Value - root.out.extreme.sysDescr = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.extreme.extremeSlotNumber = this.trap.VarBinds.index(2).Value - - label: extreme_cpu_health_check_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CPU Health" - root.out.object.name = this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "CPU HealthCheck has failed" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/f5/LOAD-BAL-SYSTEM-MIB-loadBalTraps.yml b/traps/rules/f5/LOAD-BAL-SYSTEM-MIB-loadBalTraps.yml index 2c04aa63..85bb9d8a 100644 --- a/traps/rules/f5/LOAD-BAL-SYSTEM-MIB-loadBalTraps.yml +++ b/traps/rules/f5/LOAD-BAL-SYSTEM-MIB-loadBalTraps.yml @@ -22,8 +22,8 @@ root = this root.out.event.category.name = "Miscellaneous Message" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 2 # loadBalTrapServiceDown @@ -49,8 +49,8 @@ root = this root.out.event.category.name = "Service State" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Port: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + ", Port: " + this.trap.VarBinds.index(2).Value.string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 3 # loadBalTrapServiceUP @@ -76,8 +76,8 @@ root = this root.out.event.category.name = "Service State" - root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Port: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = "Device: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + ", Port: " + this.trap.VarBinds.index(2).Value.string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 4 # loadBalTrapReset @@ -98,8 +98,8 @@ root = this root.out.event.category.name = "System State" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 5 # loadBalTrapDenial @@ -120,8 +120,8 @@ root = this root.out.event.category.name = "Request State" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string().re_find_all_submatch("denial (.*):[0-9]+ ->").index(0).index(-1) + this.trap.VarBinds.index(0).Value.snmp_display_string().string().re_find_all_submatch("denial .*:[0-9]+( -> .*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().re_find_all_submatch("denial (.*):[0-9]+ ->").index(0).index(-1) + this.trap.VarBinds.index(0).Value.snmp_display_string().re_find_all_submatch("denial .*:[0-9]+( -> .*)$").index(0).index(-1) + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 6 # loadBalTrapLogin @@ -142,8 +142,8 @@ root = this root.out.event.category.name = "Root Login" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 7 # loadBalTrapRemoveUnit @@ -164,8 +164,8 @@ root = this root.out.event.category.name = "Unit State" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - check: this.trap.SpecificTrap == 8 # loadBalTrapAddUnit @@ -186,8 +186,8 @@ root = this root.out.event.category.name = "Unit State" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string().string() + root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string() + root.out.event.message = this.trap.VarBinds.index(0).Value.snmp_display_string() - processors: - label: default diff --git a/traps/rules/fujitsu_siemens/INC-MIB-AL-tiIncTraps.yml b/traps/rules/fujitsu_siemens/INC-MIB-AL-tiIncTraps.yml deleted file mode 100644 index 9ba39ae4..00000000 --- a/traps/rules/fujitsu_siemens/INC-MIB-AL-tiIncTraps.yml +++ /dev/null @@ -1,322 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "INC-MIB-AL" -- switch: - - check: this.trap.SpecificTrap == 2301 - processors: - - label: ti_inc_trap_critical_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_critical_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_critical_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_critical_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2302 - processors: - - label: ti_inc_trap_major_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_major_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_major_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_major_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_major_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2303 - processors: - - label: ti_inc_trap_minor_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_minor_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_minor_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_minor_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_minor_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2304 - processors: - - label: ti_inc_trap_warning_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_warning_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_warning_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_warning_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2305 - processors: - - label: ti_inc_trap_normal_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_normal_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_normal_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_normal_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2306 - processors: - - label: ti_inc_trap_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmDateTime = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmReportingObject = this.trap.VarBinds.index(1).Value - root.out.fujitsu_siemens.tiAlarmFaultyObject = this.trap.VarBinds.index(2).Value - root.out.fujitsu_siemens.tiAlarmEventTypeId = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4") - root.out.fujitsu_siemens.tiAlarmSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.5") - root.out.fujitsu_siemens.tiAlarmErrorID = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiAlarmEndKey = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.7") - root.out.fujitsu_siemens.tiAlarmDescription = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.fujitsu_siemens.tiAlarmSequenceNumber = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmNotificationID = this.trap.VarBinds.index(11).Value - root.out.fujitsu_siemens.tiAlarmTransferID = this.trap.VarBinds.index(12).Value - - label: ti_inc_trap_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.1.1.4").string() + " ( Error ID: " + this.trap.VarBinds.index(5).Value.string() + " )" - root.out.object.name = "Faulty Object: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: ti_inc_trap_cleared_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: ti_inc_trap_cleared_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "End of " + root.out.event.message - - label: ti_inc_trap_cleared_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2310 - processors: - - label: ti_inc_periodical_sum_rep_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.fujitsu_siemens.tiIsConnectionReliable = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.2") - root.out.fujitsu_siemens.tiMaxSeverity = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.3") - root.out.fujitsu_siemens.tiNumCriticalAlarms = this.trap.VarBinds.index(4).Value - root.out.fujitsu_siemens.tiNumMajorAlarms = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiNumMinorAlarms = this.trap.VarBinds.index(6).Value - root.out.fujitsu_siemens.tiNumWarnings = this.trap.VarBinds.index(7).Value - root.out.fujitsu_siemens.tiNumNormalEvents = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiNumUnknownEvents = this.trap.VarBinds.index(9).Value - - label: ti_inc_periodical_sum_rep_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Alarm Summary Report" - root.out.object.name = "" - root.out.event.message = "Periodic Alarm Summary Report, See Details" - - label: ti_inc_periodical_sum_rep_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2311 - processors: - - label: ti_inc_spontaneous_sum_rep_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.tiAlarmSourceName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.fujitsu_siemens.tiAlarmSymbNEname = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.fujitsu_siemens.tiIsConnectionReliable = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.2") - root.out.fujitsu_siemens.tiMaxSeverity = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.231.7.99.4.2.3") - root.out.fujitsu_siemens.tiNumCriticalAlarms = this.trap.VarBinds.index(4).Value - root.out.fujitsu_siemens.tiNumMajorAlarms = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.tiNumMinorAlarms = this.trap.VarBinds.index(6).Value - root.out.fujitsu_siemens.tiNumWarnings = this.trap.VarBinds.index(7).Value - root.out.fujitsu_siemens.tiNumNormalEvents = this.trap.VarBinds.index(8).Value - root.out.fujitsu_siemens.tiNumUnknownEvents = this.trap.VarBinds.index(9).Value - - label: ti_inc_spontaneous_sum_rep_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Alarm Summary Report" - root.out.object.name = "" - root.out.event.message = "Spontaneous Alarm Summary Report, See Details" - - label: ti_inc_spontaneous_sum_rep_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/fujitsu_siemens/MLOS-MIB-almTraps.yml b/traps/rules/fujitsu_siemens/MLOS-MIB-almTraps.yml deleted file mode 100644 index ee12cd96..00000000 --- a/traps/rules/fujitsu_siemens/MLOS-MIB-almTraps.yml +++ /dev/null @@ -1,38 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MLOS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: alm_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.fujitsu_siemens.almTime = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.fujitsu_siemens.almDate = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.fujitsu_siemens.almNESISAaddr = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.fujitsu_siemens.almNEType = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.fujitsu_siemens.almNETitle = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.fujitsu_siemens.almSeverity = this.trap.VarBinds.index(5).Value - root.out.fujitsu_siemens.almState = this.trap.VarBinds.index(6).Value - root.out.fujitsu_siemens.almType = this.trap.VarBinds.index(7).Value - root.out.fujitsu_siemens.almTypeDescr = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.fujitsu_siemens.almDescr = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.fujitsu_siemens.almTPname = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: alm_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(8).Value.snmp_display_string().string() - root.out.object.name = "Termination Point: " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(9).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/genesys/GENESYS-TSERVER-MIB-server.yml b/traps/rules/genesys/GENESYS-TSERVER-MIB-server.yml deleted file mode 100644 index d8b4c9c8..00000000 --- a/traps/rules/genesys/GENESYS-TSERVER-MIB-server.yml +++ /dev/null @@ -1,60 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "GENESYS-TSERVER-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: gp_server_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.genesys.gpServersLastTrap = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: gp_server_down_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Server Status" - root.out.object.name = "" - root.out.event.message = "Server has ceased operating or has failed to restart" - - check: this.trap.SpecificTrap == 1 - processors: - - label: gp_server_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.genesys.gpServersLastTrap = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: gp_server_up_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Server Status" - root.out.object.name = "" - root.out.event.message = "Server has resumed operating" - - check: this.trap.SpecificTrap == 2 - processors: - - label: gp_polling_signal_variables - mapping: |- - #!blobl - root = this - - root.out.genesys.gpPollingLastTrap = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: gp_polling_signal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SNMP Polling" - root.out.object.name = "" - root.out.event.message = "SNMP polling signal received from server" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/geotel/Cisco-ICM-AlarmEx-MIB-alarmsv2.yml b/traps/rules/geotel/Cisco-ICM-AlarmEx-MIB-alarmsv2.yml deleted file mode 100644 index 4406a3fa..00000000 --- a/traps/rules/geotel/Cisco-ICM-AlarmEx-MIB-alarmsv2.yml +++ /dev/null @@ -1,10191 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "Cisco-ICM-AlarmEx-MIB" -- switch: - - check: this.trap.SpecificTrap == 16941057 - processors: - - label: emsg_nm_old_initializing_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_initializing_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Management Library Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941059 - processors: - - label: emsg_nm_old_start_after_operator_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_start_after_operator_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941060 - processors: - - label: emsg_nm_old_start_after_system_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_start_after_system_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941061 - processors: - - label: emsg_nm_old_operator_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_operator_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICM Software Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941313 - processors: - - label: emsg_nm_initializing_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_initializing_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Management Library Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941315 - processors: - - label: emsg_nm_start_after_operator_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_start_after_operator_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941316 - processors: - - label: emsg_nm_start_after_system_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_start_after_system_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16941317 - processors: - - label: emsg_nm_operator_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_operator_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICM Services Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16945153 - processors: - - label: emsg_nmm_old_starting_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nmm_old_starting_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16945409 - processors: - - label: emsg_nmm_starting_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nmm_starting_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957441 - processors: - - label: emsg_nm_old_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICM Software Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957443 - processors: - - label: emsg_nm_old_process_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager/Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957447 - processors: - - label: emsg_nm_old_start_after_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_start_after_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager/Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957448 - processors: - - label: emsg_nm_old_start_after_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_nm_old_start_after_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957449 - processors: - - label: emsg_nm_old_process_delay_restart2_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_nm_old_process_delay_restart2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957450 - processors: - - label: emsg_nm_old_process_restart_after_delay_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_old_process_restart_after_delay_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957451 - processors: - - label: emsg_nm_old_process_kill_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_kill_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957452 - processors: - - label: emsg_nm_old_process_died_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_died_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957453 - processors: - - label: emsg_nm_old_process_died_request_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_died_request_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957454 - processors: - - label: emsg_nm_old_process_died_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_old_process_died_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957455 - processors: - - label: emsg_nm_old_process_delay_restart1_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nm_old_process_delay_restart1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957456 - processors: - - label: emsg_nm_old_process_up_after_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_up_after_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957457 - processors: - - label: emsg_nm_old_process_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957458 - processors: - - label: emsg_nm_old_process_clean_exit_request_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_clean_exit_request_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957459 - processors: - - label: emsg_nm_old_process_control_cexit_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_control_cexit_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957460 - processors: - - label: emsg_nm_old_process_exit_request_machine_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_old_process_exit_request_machine_reboot_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957697 - processors: - - label: emsg_nm_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager/Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957699 - processors: - - label: emsg_nm_process_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957703 - processors: - - label: emsg_nm_start_after_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_start_after_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager/Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957704 - processors: - - label: emsg_nm_start_after_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_start_after_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957705 - processors: - - label: emsg_nm_process_delay_restart2_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(15).Value.snmp_display_string() - - label: emsg_nm_process_delay_restart2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957706 - processors: - - label: emsg_nm_process_restart_after_delay_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nm_process_restart_after_delay_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957707 - processors: - - label: emsg_nm_process_kill_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nm_process_kill_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957708 - processors: - - label: emsg_nm_process_died_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_died_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957709 - processors: - - label: emsg_nm_process_died_request_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_died_request_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957710 - processors: - - label: emsg_nm_process_died_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nm_process_died_unknown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957711 - processors: - - label: emsg_nm_process_delay_restart1_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_nm_process_delay_restart1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957712 - processors: - - label: emsg_nm_process_up_after_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_up_after_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957713 - processors: - - label: emsg_nm_process_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957714 - processors: - - label: emsg_nm_process_clean_exit_request_restart_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_clean_exit_request_restart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957715 - processors: - - label: emsg_nm_process_control_cexit_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_control_cexit_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16957716 - processors: - - label: emsg_nm_process_exit_request_machine_reboot_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nm_process_exit_request_machine_reboot_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961537 - processors: - - label: emsg_nmm_old_crash_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nmm_old_crash_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961538 - processors: - - label: emsg_nmm_old_crash_reboot_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nmm_old_crash_reboot_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961539 - processors: - - label: emsg_nmm_old_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nmm_old_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961540 - processors: - - label: emsg_nmm_old_reboot_on_fail_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nmm_old_reboot_on_fail_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961793 - processors: - - label: emsg_nmm_crash_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nmm_crash_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961794 - processors: - - label: emsg_nmm_crash_reboot_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nmm_crash_reboot_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961795 - processors: - - label: emsg_nmm_reboot_on_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nmm_reboot_on_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961796 - processors: - - label: emsg_nmm_reboot_on_fail_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nmm_reboot_on_fail_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961797 - processors: - - label: emsg_nmm_reboot_on_request_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_nmm_reboot_on_request_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16961798 - processors: - - label: emsg_nmm_reboot_on_request_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_nmm_reboot_on_request_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17039376 - processors: - - label: emsg_mds_synch_connect_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_mds_synch_connect_timeout_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MDS Message Synchronizer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17039394 - processors: - - label: emsg_mds_synch_path_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_mds_synch_path_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MDS Message Synchronizer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17039395 - processors: - - label: emsg_mds_synch_path_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_mds_synch_path_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MDS Message Synchronizer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105021 - processors: - - label: emsg_rtr_peripheral_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_peripheral_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Peripheral Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105022 - processors: - - label: emsg_rtr_peripheral_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_peripheral_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ACD/IVR Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105104 - processors: - - label: emsg_rtr_physical_controller_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_physical_controller_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Physical Controller Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105105 - processors: - - label: emsg_rtr_physical_controller_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_physical_controller_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Peripheral Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105106 - processors: - - label: emsg_rtr_switch_operational_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_switch_operational_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Peripheral Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105107 - processors: - - label: emsg_rtr_switch_not_operational_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_switch_not_operational_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Peripheral Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105142 - processors: - - label: emsg_rtr_script_table_avail_a_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_script_table_avail_a_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ScriptTable Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105143 - processors: - - label: emsg_rtr_script_table_avail_b_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_script_table_avail_b_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ScriptTable Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105144 - processors: - - label: emsg_rtr_script_table_unavail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_script_table_unavail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ScriptTable Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105145 - processors: - - label: emsg_rtr_script_table_avail_ab_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_script_table_avail_ab_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ScriptTable Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105151 - processors: - - label: emsg_rtr_process_ok_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_process_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Router Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105152 - processors: - - label: emsg_rtr_process_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_process_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Router Process Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105393 - processors: - - label: emsg_rtr_node_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_node_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105394 - processors: - - label: emsg_rtr_node_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_node_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105398 - processors: - - label: emsg_rtr_state_size_ok_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_state_size_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Router State Size Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105399 - processors: - - label: emsg_rtr_state_size_large_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_rtr_state_size_large_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Router State Size Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105400 - processors: - - label: emsg_rtr_node_online2_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_rtr_node_online2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105401 - processors: - - label: emsg_rtr_node_offline2_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_rtr_node_offline2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105405 - processors: - - label: emsg_rtr_router_configured_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_rtr_router_configured_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17105406 - processors: - - label: emsg_rtr_router_not_configured_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_rtr_router_not_configured_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Router Configuration" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17170490 - processors: - - label: aw_w3svc_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: aw_w3svc_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "WWW Publishing Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17170491 - processors: - - label: aw_w3svc_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: aw_w3svc_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "WWW Publishing Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17350688 - processors: - - label: emsg_opc_cti_server_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_opc_cti_server_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Server Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17350689 - processors: - - label: emsg_opc_cti_server_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_opc_cti_server_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Server Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17661962 - processors: - - label: emsg_icp_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AT&T SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17661963 - processors: - - label: emsg_icp_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AT&T SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17661968 - processors: - - label: emsg_icp_network_accessible_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_network_accessible_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AT&T Network Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17661969 - processors: - - label: emsg_icp_network_inaccessible_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_network_inaccessible_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AT&T Network Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17662209 - processors: - - label: emsg_icp_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_icp_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NIC ICP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17662210 - processors: - - label: emsg_icp_gateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_gateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NIC ICP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17662214 - processors: - - label: emsg_icp_rc_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_icp_rc_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Routing Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17662215 - processors: - - label: emsg_icp_rc_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icp_rc_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Routing Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793028 - processors: - - label: emsg_dmp_device_path_idle_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_device_path_idle_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Path Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793029 - processors: - - label: emsg_dmp_device_path_active_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_device_path_active_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Path Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793031 - processors: - - label: emsg_dmp_device_realign_bad_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_device_realign_bad_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Message Stream Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793032 - processors: - - label: emsg_dmp_device_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_device_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793038 - processors: - - label: emsg_dmp_path_reset_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_path_reset_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Communication Path Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793039 - processors: - - label: emsg_dmp_device_path_init_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_device_path_init_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Message Stream Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793048 - processors: - - label: emsg_dmp_roll_forward_collision_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_roll_forward_collision_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793050 - processors: - - label: emsg_dmp_roll_forward_error_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_dmp_roll_forward_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17793053 - processors: - - label: emsg_dmp_dead_device_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_dmp_dead_device_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17858570 - processors: - - label: emsg_mci_rdg_first_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_mci_rdg_first_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MCI NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17858571 - processors: - - label: emsg_mci_rdg_last_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_mci_rdg_last_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MCI NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17859072 - processors: - - label: emsg_mci_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_mci_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MCI NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17859073 - processors: - - label: emsg_mci_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_mci_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MCI NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18252288 - processors: - - label: emsg_sprnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_sprnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sprint Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18252289 - processors: - - label: emsg_sprnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_sprnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sprint Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18268416 - processors: - - label: emsg_sprnic_comm_link_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_sprnic_comm_link_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sprint Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18268417 - processors: - - label: emsg_sprnic_comm_link_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_sprnic_comm_link_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sprint SCP Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399234 - processors: - - label: emsg_lgr_free_space_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_free_space_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399244 - processors: - - label: emsg_lgr_log_space_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_log_space_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399247 - processors: - - label: emsg_lgr_begin_autopurge_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_begin_autopurge_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399248 - processors: - - label: emsg_lgr_complete_autopurge_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_complete_autopurge_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399253 - processors: - - label: emsg_lgr_connected_client_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_connected_client_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Logger Client Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399255 - processors: - - label: emsg_lgr_connection_client_broken_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_connection_client_broken_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Logger Client Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399283 - processors: - - label: emsg_lgr_missing_network_routing_client_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(15).Value.snmp_display_string() - - label: emsg_lgr_missing_network_routing_client_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399284 - processors: - - label: emsg_lgr_missing_customer_or_instance_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_lgr_missing_customer_or_instance_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399285 - processors: - - label: emsg_lgr_duplicate_key_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_lgr_duplicate_key_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399286 - processors: - - label: emsg_lgr_duplicate_key_dialed_number1msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_duplicate_key_dialed_number1msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399287 - processors: - - label: emsg_lgr_duplicate_key_dialed_number2msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_duplicate_key_dialed_number2msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399288 - processors: - - label: emsg_lgr_duplicate_key_label_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_lgr_duplicate_key_label_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399289 - processors: - - label: emsg_lgr_cicr_replication_active_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_cicr_replication_active_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399290 - processors: - - label: emsg_lgr_cicr_replication_inactive_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_cicr_replication_inactive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399293 - processors: - - label: emsg_lgr_host_not_found_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_host_not_found_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Logger Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399294 - processors: - - label: emsg_lgr_cicr_update_fail_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_cicr_update_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399296 - processors: - - label: emsg_lgr_hist_datetime_rows_msg_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_lgr_hist_datetime_rows_msg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Logger Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399304 - processors: - - label: emsg_lgr_nicr_replication_inactive_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_nicr_replication_inactive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18399305 - processors: - - label: emsg_lgr_nicr_replication_active_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_lgr_nicr_replication_active_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NICR Replication Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18808882 - processors: - - label: emsg_merpim_connect_to_mlk_server_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_merpim_connect_to_mlk_server_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Meridian PIM Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18808883 - processors: - - label: emsg_merpim_mlk_connection_broken_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_merpim_mlk_connection_broken_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Meridian PIM Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18808884 - processors: - - label: emsg_merpim_mlk_register_succeeded_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_merpim_mlk_register_succeeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Meridian PIM Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431426 - processors: - - label: emsg_btnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431427 - processors: - - label: emsg_btnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431434 - processors: - - label: emsg_btnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431435 - processors: - - label: emsg_btnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431681 - processors: - - label: emsg_btnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_btnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19431682 - processors: - - label: emsg_btnic_gateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btnic_gateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19546113 - processors: - - label: emsg_sddsn_client_register_ack_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_sddsn_client_register_ack_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDDSN Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19546114 - processors: - - label: emsg_sddsn_client_unregister_nack_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_sddsn_client_unregister_nack_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDDSN Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19546115 - processors: - - label: emsg_sddsn_client_unregister_ack_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_sddsn_client_unregister_ack_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDDSN Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19546122 - processors: - - label: emsg_csfs_sddsn_missing_resources_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_csfs_sddsn_missing_resources_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDDSN Server Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19546128 - processors: - - label: emsg_csfs_sddsn_version_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_csfs_sddsn_version_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDDSN Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19595295 - processors: - - label: emsg_appgw_appgw_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_appgw_appgw_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Application Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19595296 - processors: - - label: emsg_appgw_appgw_not_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_appgw_appgw_not_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Application Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694080 - processors: - - label: emsg_cic_cicr_comm_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cic_cicr_comm_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694081 - processors: - - label: emsg_cic_cicr_comm_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cic_cicr_comm_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694082 - processors: - - label: emsg_cic_cicr_link_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694083 - processors: - - label: emsg_cic_cicr_link_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694084 - processors: - - label: emsg_cicr_connection_config_valid_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_valid_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694085 - processors: - - label: emsg_cicr_connection_config_void_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_void_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694086 - processors: - - label: emsg_cic_cicr_link_online_a_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_online_a_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694087 - processors: - - label: emsg_cic_cicr_link_offline_a_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_offline_a_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694088 - processors: - - label: emsg_cicr_connection_config_valid_a_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_valid_a_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694089 - processors: - - label: emsg_cicr_connection_config_void_a_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_void_a_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694096 - processors: - - label: emsg_cic_cicr_link_online_b_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_online_b_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694097 - processors: - - label: emsg_cic_cicr_link_offline_b_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cic_cicr_link_offline_b_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694098 - processors: - - label: emsg_cicr_connection_config_valid_b_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_valid_b_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19694099 - processors: - - label: emsg_cicr_connection_config_void_b_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cicr_connection_config_void_b_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CICR Connection Configuration Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19759114 - processors: - - label: emsg_icrp_network_first_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icrp_network_first_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICRP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19759115 - processors: - - label: emsg_icrp_network_last_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icrp_network_last_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICRP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824646 - processors: - - label: emsg_cti_session_opened_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_session_opened_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824647 - processors: - - label: emsg_cti_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824648 - processors: - - label: emsg_cti_session_terminated_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_session_terminated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824652 - processors: - - label: emsg_cti_normal_object_event_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_normal_object_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Client Application Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824653 - processors: - - label: emsg_cti_warning_object_event_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_warning_object_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Client Application Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19824654 - processors: - - label: emsg_cti_error_object_event_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cti_error_object_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Enterprise CTI Client Application Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19890185 - processors: - - label: emsg_ntnic_scp_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_ntnic_scp_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Nortel NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19890186 - processors: - - label: emsg_ntnic_scp_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_ntnic_scp_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Nortel NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19890188 - processors: - - label: emsg_ntnic_scp_multiple_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_ntnic_scp_multiple_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Nortel NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19890688 - processors: - - label: emsg_ntnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ntnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Nortel NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19890689 - processors: - - label: emsg_ntnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ntnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Nortel NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20152329 - processors: - - label: emsg_stentornic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_stentornic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stentor NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20152330 - processors: - - label: emsg_stentornic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_stentornic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stentor NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20152331 - processors: - - label: emsg_stentornic_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_stentornic_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stentor NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20152332 - processors: - - label: emsg_stentornic_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_stentornic_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Stentor NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20185111 - processors: - - label: emsg_inapnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_inapnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20217865 - processors: - - label: emsg_inapnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20217866 - processors: - - label: emsg_inapnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20217868 - processors: - - label: emsg_inapnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20218368 - processors: - - label: emsg_inapnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_inapnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20218369 - processors: - - label: emsg_inapnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_inapnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20283396 - processors: - - label: emsg_inrceng_admission_control_on_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inrceng_admission_control_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Admission Control Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20283397 - processors: - - label: emsg_inrceng_admission_control_off_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inrceng_admission_control_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Admission Control Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20283402 - processors: - - label: emsg_inrceng_restriction_control_on_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_inrceng_restriction_control_on_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Restriction Control Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20283403 - processors: - - label: emsg_inrceng_restriction_control_off_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_inrceng_restriction_control_off_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Restriction Control Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348930 - processors: - - label: emsg_inapgate_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapgate_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348931 - processors: - - label: emsg_inapgate_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapgate_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348938 - processors: - - label: emsg_inapgate_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapgate_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348939 - processors: - - label: emsg_inapgate_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapgate_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348948 - processors: - - label: emsg_inapgate_ss7link_is_wls_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_inapgate_ss7link_is_wls_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20348949 - processors: - - label: emsg_inapgate_ss7link_oos_wls_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_inapgate_ss7link_oos_wls_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20349185 - processors: - - label: emsg_inapgate_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_inapgate_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20349186 - processors: - - label: emsg_inapgate_gateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_inapgate_gateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20480010 - processors: - - label: emsg_incrp_network_first_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_incrp_network_first_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INCRP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20480011 - processors: - - label: emsg_incrp_network_last_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_incrp_network_last_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "INCRP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20545546 - processors: - - label: emsg_nec_network_first_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nec_network_first_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NEC NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20545547 - processors: - - label: emsg_nec_network_last_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_nec_network_last_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NEC NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20611586 - processors: - - label: emsg_ftnic_dialog_opened_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ftnic_dialog_opened_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "France Telecom NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20611587 - processors: - - label: emsg_ftnic_dialog_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ftnic_dialog_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "France Telecom NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20611590 - processors: - - label: emsg_ftnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ftnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "France Telecom NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20611591 - processors: - - label: emsg_ftnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ftnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "France Telecom NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840450 - processors: - - label: emsg_msgis_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_msgis_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840451 - processors: - - label: emsg_msgis_connect_succeeded_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_msgis_connect_succeeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840452 - processors: - - label: emsg_msgis_session_not_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_msgis_session_not_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840453 - processors: - - label: emsg_msgis_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_msgis_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840454 - processors: - - label: emsg_msgis_non_configured_trunkgroup_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_msgis_non_configured_trunkgroup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20840455 - processors: - - label: emsg_msgis_call_tracking_error_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_msgis_call_tracking_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Message Integration Service Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939264 - processors: - - label: emsg_crsp_session_config_clear_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_crsp_session_config_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939265 - processors: - - label: emsg_crsp_session_config_error_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_crsp_session_config_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939266 - processors: - - label: emsg_crsp_session_opened_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_crsp_session_opened_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939267 - processors: - - label: emsg_crsp_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_crsp_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939270 - processors: - - label: emsg_crsp_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_crsp_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20939271 - processors: - - label: emsg_crsp_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_crsp_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CRSP NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21102615 - processors: - - label: emsg_cwcnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cwcnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135369 - processors: - - label: emsg_cwcnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135370 - processors: - - label: emsg_cwcnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135372 - processors: - - label: emsg_cwcnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135872 - processors: - - label: emsg_cwcnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cwcnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135873 - processors: - - label: emsg_cwcnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cwcnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135875 - processors: - - label: emsg_cwcnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135876 - processors: - - label: emsg_cwcnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135883 - processors: - - label: emsg_cwcnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135884 - processors: - - label: emsg_cwcnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135888 - processors: - - label: emsg_cwcnic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cwcnic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21135889 - processors: - - label: emsg_cwcnic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cwcnic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CWC NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200896 - processors: - - label: emsg_campaign_manager_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200897 - processors: - - label: emsg_campaign_manager_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200898 - processors: - - label: emsg_ba_import_invalid_schema_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_invalid_schema_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200899 - processors: - - label: emsg_ba_import_create_table_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_create_table_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200900 - processors: - - label: emsg_ba_import_successful_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_successful_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200901 - processors: - - label: emsg_ba_import_table_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_table_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200902 - processors: - - label: emsg_ba_import_failed_building_dl_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_failed_building_dl_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200903 - processors: - - label: emsg_ba_dialer_failed_init_telephony_svr_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_dialer_failed_init_telephony_svr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Dialogic Card Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200904 - processors: - - label: emsg_ba_dialer_failed_network_conn_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_dialer_failed_network_conn_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200905 - processors: - - label: emsg_ba_import_failed_open_db_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_failed_open_db_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200912 - processors: - - label: emsg_ba_import_failed_read_config_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_import_failed_read_config_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Database Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200913 - processors: - - label: emsg_ba_dialer_cti_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_cti_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent CTI Server Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200914 - processors: - - label: emsg_ba_dialer_cti_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_cti_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent CTI Server Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200915 - processors: - - label: emsg_ba_dialer_dialogic_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_dialogic_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Dialogic Card Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200916 - processors: - - label: emsg_ba_dialer_dialogic_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_dialogic_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Dialogic Card Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200917 - processors: - - label: emsg_ba_dialer_invalid_skill_group_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_dialer_invalid_skill_group_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200918 - processors: - - label: emsg_ba_invalid_desktop_repy_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_invalid_desktop_repy_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200919 - processors: - - label: emsg_campaign_manager_import_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_import_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200920 - processors: - - label: emsg_campaign_manager_import_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_import_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200921 - processors: - - label: emsg_campaign_manager_dialer_down_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_dialer_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Dialer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200928 - processors: - - label: emsg_campaign_manager_dialer_up_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_campaign_manager_dialer_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Campaign Manager Dialer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200936 - processors: - - label: emsg_ba_dialer_succeeded_network_conn_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_dialer_succeeded_network_conn_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Dialer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200937 - processors: - - label: emsg_ba_dialer_succeeded_init_telephony_svr_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ba_dialer_succeeded_init_telephony_svr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Dialer Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200944 - processors: - - label: emsg_ba_dialer_mr_pim_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_mr_pim_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent MR PIM Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200945 - processors: - - label: emsg_ba_dialer_mr_pim_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_mr_pim_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent MR PIM Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200946 - processors: - - label: emsg_ba_dialer_mr_routing_disabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_mr_routing_disabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent MR Routing Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200947 - processors: - - label: emsg_ba_dialer_mr_routing_enabled_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_dialer_mr_routing_enabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent MR Routing Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200948 - processors: - - label: emsg_ba_dialer_callmgr_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ba_dialer_callmgr_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Call Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200949 - processors: - - label: emsg_ba_dialer_callmgr_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ba_dialer_callmgr_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Call Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200950 - processors: - - label: emsg_ba_dialer_failed_reg_callmgr_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ba_dialer_failed_reg_callmgr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Call Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200951 - processors: - - label: emsg_ba_dialer_succeeded_reg_callmgr_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ba_dialer_succeeded_reg_callmgr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Call Manager Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21200952 - processors: - - label: emsg_ba_import_failed_move_or_del_input_file_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ba_import_failed_move_or_del_input_file_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Blended Agent Import Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21233687 - processors: - - label: emsg_energisnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_energisnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266441 - processors: - - label: emsg_energisnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266442 - processors: - - label: emsg_energisnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266444 - processors: - - label: emsg_energisnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266450 - processors: - - label: emsg_energisnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266451 - processors: - - label: emsg_energisnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266458 - processors: - - label: emsg_energisnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266459 - processors: - - label: emsg_energisnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266689 - processors: - - label: emsg_energisnic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_energisnic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266690 - processors: - - label: emsg_energisnic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_energisnic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266944 - processors: - - label: emsg_energisnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_energisnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21266945 - processors: - - label: emsg_energisnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_energisnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ENERGIS NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21299223 - processors: - - label: emsg_cainnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_cainnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21331977 - processors: - - label: emsg_cainnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21331978 - processors: - - label: emsg_cainnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21331980 - processors: - - label: emsg_cainnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332480 - processors: - - label: emsg_cainnic_gate_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cainnic_gate_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332481 - processors: - - label: emsg_cainnic_gate_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cainnic_gate_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332737 - processors: - - label: emsg_cainnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cainnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332738 - processors: - - label: emsg_cainnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_cainnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332745 - processors: - - label: emsg_cainnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332746 - processors: - - label: emsg_cainnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332992 - processors: - - label: emsg_cainnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_cainnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC AIN Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21332993 - processors: - - label: emsg_cainnic_gateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_cainnic_gateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CAIN NIC AIN Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21364759 - processors: - - label: emsg_unisourcenic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_unisourcenic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397513 - processors: - - label: emsg_unisourcenic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397514 - processors: - - label: emsg_unisourcenic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397515 - processors: - - label: emsg_unisourcenic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397517 - processors: - - label: emsg_unisourcenic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397518 - processors: - - label: emsg_unisourcenic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397525 - processors: - - label: emsg_unisourcenic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397526 - processors: - - label: emsg_unisourcenic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397527 - processors: - - label: emsg_unisourcenic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_unisourcenic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21397528 - processors: - - label: emsg_unisourcenic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_unisourcenic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21398016 - processors: - - label: emsg_unisourcenic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_unisourcenic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21398017 - processors: - - label: emsg_unisourcenic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_unisourcenic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unisource NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21561367 - processors: - - label: emsg_concertnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_concertnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594121 - processors: - - label: emsg_concertnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594122 - processors: - - label: emsg_concertnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594124 - processors: - - label: emsg_concertnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594624 - processors: - - label: emsg_concertnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_concertnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594625 - processors: - - label: emsg_concertnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_concertnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594627 - processors: - - label: emsg_concertnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594628 - processors: - - label: emsg_concertnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594635 - processors: - - label: emsg_concertnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594636 - processors: - - label: emsg_concertnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594640 - processors: - - label: emsg_concertnic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_concertnic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21594641 - processors: - - label: emsg_concertnic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_concertnic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CONCERT NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21626882 - processors: - - label: emsg_meisvr_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_meisvr_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MEI Server Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21626883 - processors: - - label: emsg_meisvr_connect_succeeded_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_meisvr_connect_succeeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MEI Server Connection Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21626884 - processors: - - label: emsg_meisvr_session_not_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_meisvr_session_not_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MEI Server Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21626885 - processors: - - label: emsg_meisvr_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_meisvr_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MEI Server Session Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21692439 - processors: - - label: emsg_telfortnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_telfortnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725193 - processors: - - label: emsg_telfortnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725194 - processors: - - label: emsg_telfortnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725196 - processors: - - label: emsg_telfortnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725696 - processors: - - label: emsg_telfortnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_telfortnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725697 - processors: - - label: emsg_telfortnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_telfortnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725699 - processors: - - label: emsg_telfortnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725700 - processors: - - label: emsg_telfortnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725707 - processors: - - label: emsg_telfortnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725708 - processors: - - label: emsg_telfortnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725712 - processors: - - label: emsg_telfortnic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_telfortnic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21725713 - processors: - - label: emsg_telfortnic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_telfortnic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TELFORT NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21757975 - processors: - - label: emsg_btv2inap_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_btv2inap_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21790729 - processors: - - label: emsg_btv2inap_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21790730 - processors: - - label: emsg_btv2inap_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21790732 - processors: - - label: emsg_btv2inap_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791232 - processors: - - label: emsg_btv2inap_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_btv2inap_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791233 - processors: - - label: emsg_btv2inap_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_btv2inap_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791235 - processors: - - label: emsg_btv2inap_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791236 - processors: - - label: emsg_btv2inap_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791243 - processors: - - label: emsg_btv2inap_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791244 - processors: - - label: emsg_btv2inap_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791248 - processors: - - label: emsg_btv2inap_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_btv2inap_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21791249 - processors: - - label: emsg_btv2inap_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_btv2inap_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BT-V2 INAP NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21823511 - processors: - - label: emsg_timnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_timnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856265 - processors: - - label: emsg_timnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856266 - processors: - - label: emsg_timnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856268 - processors: - - label: emsg_timnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856768 - processors: - - label: emsg_timnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_timnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856769 - processors: - - label: emsg_timnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_timnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856771 - processors: - - label: emsg_timnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856772 - processors: - - label: emsg_timnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856779 - processors: - - label: emsg_timnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856780 - processors: - - label: emsg_timnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856784 - processors: - - label: emsg_timnic_nwgateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_timnic_nwgateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21856785 - processors: - - label: emsg_timnic_nwgateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_timnic_nwgateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TIM NIC INAP Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21889031 - processors: - - label: emsg_gktmpnic_client_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_gktmpnic_client_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GKTMP NIC Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21889032 - processors: - - label: emsg_gktmpnic_client_connected_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_gktmpnic_client_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GKTMP NIC Client Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21889042 - processors: - - label: emsg_gktmpnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_gktmpnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GKTMP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21889043 - processors: - - label: emsg_gktmpnic_gateway_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_gktmpnic_gateway_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GKTMP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21954583 - processors: - - label: emsg_ss7innic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_ss7innic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987337 - processors: - - label: emsg_ss7innic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987338 - processors: - - label: emsg_ss7innic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987340 - processors: - - label: emsg_ss7innic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987586 - processors: - - label: emsg_ss7innic_gate_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gate_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987587 - processors: - - label: emsg_ss7innic_gate_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gate_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987594 - processors: - - label: emsg_ss7innic_gate_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gate_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987595 - processors: - - label: emsg_ss7innic_gate_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_ss7innic_gate_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987604 - processors: - - label: emsg_ss7innic_gate_ss7link_is_wls_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_ss7innic_gate_ss7link_is_wls_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21987605 - processors: - - label: emsg_ss7innic_gate_ss7link_oos_wls_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_ss7innic_gate_ss7link_oos_wls_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SS7 IN NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22036481 - processors: - - label: emsg_ntlnic_invalid_label_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_ntlnic_invalid_label_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22052870 - processors: - - label: emsg_ntlnic_factory_started_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ntlnic_factory_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22052871 - processors: - - label: emsg_ntlnic_factory_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_ntlnic_factory_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22052873 - processors: - - label: emsg_ntlnic_channel_started_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ntlnic_channel_started_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22052874 - processors: - - label: emsg_ntlnic_channel_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ntlnic_channel_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22052875 - processors: - - label: emsg_ntlnic_channel_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: emsg_ntlnic_channel_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NTL NIC Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22151191 - processors: - - label: emsg_icpnic_sock_connect_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: emsg_icpnic_sock_connect_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22183945 - processors: - - label: emsg_icpnic_gateway_session_open_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_gateway_session_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22183946 - processors: - - label: emsg_icpnic_gateway_session_closed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_gateway_session_closed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22183948 - processors: - - label: emsg_icpnic_gateway_session_open_failed_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_gateway_session_open_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184448 - processors: - - label: emsg_icpnic_gate_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_icpnic_gate_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184449 - processors: - - label: emsg_icpnic_gate_offline_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_icpnic_gate_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184705 - processors: - - label: emsg_icpnic_ss7link_is_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_icpnic_ss7link_is_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184706 - processors: - - label: emsg_icpnic_ss7link_oos_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(12).Value.snmp_display_string() - - label: emsg_icpnic_ss7link_oos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Link Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184713 - processors: - - label: emsg_icpnic_linkset_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_linkset_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184714 - processors: - - label: emsg_icpnic_linkset_available_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_linkset_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Linkset Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184960 - processors: - - label: emsg_icpnic_gateway_online_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: emsg_icpnic_gateway_online_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22184961 - processors: - - label: emsg_icpnic_gateway_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.geotel.objectIdentifier = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.geotel.objectState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.2") - root.out.geotel.messageId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.geotel.originatingNode = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.geotel.originatingNodeType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.5") - root.out.geotel.originatingProcess = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.geotel.originatingSide = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.geotel.dmpId = this.trap.VarBinds.index(7).Value - root.out.geotel.severity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1539.1.2.1.9") - root.out.geotel.timestamp = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.geotel.fullEventText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.geotel.substitutionArg = this.trap.VarBinds.index(11).Value.snmp_display_string() - - label: emsg_icpnic_gateway_stopped_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ICP NIC SS7 Gateway Status" - root.out.object.name = "MOI: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/halcyon/HALCYON-PRIMEALERT-MIB-traps.yml b/traps/rules/halcyon/HALCYON-PRIMEALERT-MIB-traps.yml deleted file mode 100644 index ca805507..00000000 --- a/traps/rules/halcyon/HALCYON-PRIMEALERT-MIB-traps.yml +++ /dev/null @@ -1,196 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "HALCYON-PRIMEALERT-MIB" -- switch: - - check: this.trap.SpecificTrap == 9 - processors: - - label: event_open_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_open_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " - " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 10 - processors: - - label: event_close_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_close_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " - " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 11 - processors: - - label: event_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_log_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " - " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 12 - processors: - - label: event_coldstart_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_coldstart_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: event_acknowledge_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_acknowledge_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: event_un_acknowledge_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_un_acknowledge_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: event_module_unavailable_trap_variables - mapping: |- - #!blobl - root = this - - root.out.halcyon.eventHost = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.halcyon.eventPort = this.trap.VarBinds.index(1).Value - root.out.halcyon.eventModule = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.halcyon.eventContext = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.halcyon.eventSeverity = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.halcyon.eventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.halcyon.eventUrl = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.halcyon.eventOpenTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.halcyon.eventCloseTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: event_module_unavailable_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/hitachi/Hitachi-DF-RAID-LAN-MIB-dfraidLan.yml b/traps/rules/hitachi/Hitachi-DF-RAID-LAN-MIB-dfraidLan.yml deleted file mode 100644 index 12fcba61..00000000 --- a/traps/rules/hitachi/Hitachi-DF-RAID-LAN-MIB-dfraidLan.yml +++ /dev/null @@ -1,908 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "Hitachi-DF-RAID-LAN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: system_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: drive_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fan_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: power_supply_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: battery_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cache_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: ups_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: inbox_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: backup_circuit_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: other_controller_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: spare_drive_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: microprogram_replacement_executed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: enc_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: loop_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: path_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: sata_drive_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: sata_spare_drive_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: senc_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: host_connector_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: drive_pre_mainte_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 200 - processors: - - label: nas_server_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 201 - processors: - - label: nas_path_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 202 - processors: - - label: nas_ups_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 203 - processors: - - label: nnc_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 250 - processors: - - label: interface_board_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 251 - processors: - - label: additional_battery_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 252 - processors: - - label: repair_drive_request_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 253 - processors: - - label: sa_subsystem_replacement_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 254 - processors: - - label: host_io_module_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 255 - processors: - - label: drive_io_module_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 256 - processors: - - label: management_module_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 257 - processors: - - label: recoverable_controller_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 300 - processors: - - label: psue_shadow_image_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 301 - processors: - - label: psue_snap_shot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 302 - processors: - - label: psue_true_copy_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 303 - processors: - - label: psue_true_copy_extended_distance_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 304 - processors: - - label: psue_modular_volume_migration_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 305 - processors: - - label: data_pool_threshold_over_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 306 - processors: - - label: data_pool_no_free_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 307 - processors: - - label: cycle_time_threshold_over_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 308 - processors: - - label: lu_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 309 - processors: - - label: replace_air_filter_bezel_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 310 - processors: - - label: dp_pool_early_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 311 - processors: - - label: dp_pool_depletion_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 312 - processors: - - label: dp_pool_capacity_over_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 313 - processors: - - label: over_provisioning_warning_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 314 - processors: - - label: over_provisioning_limit_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 315 - processors: - - label: over_temperature_limitfor_llss_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 316 - processors: - - label: port_error_threshold_over_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 318 - processors: - - label: hdd_calibration_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 319 - processors: - - label: replication_depletion_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 320 - processors: - - label: replication_data_released_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 321 - processors: - - label: ssd_write_count_early_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 322 - processors: - - label: ssd_write_count_exceed_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 323 - processors: - - label: side_card_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 324 - processors: - - label: page_relocation_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 325 - processors: - - label: array_reboot_request_for_dppool_invalid_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 326 - processors: - - label: dp_pool_information_invalid_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 327 - processors: - - label: fmd_write_count_early_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 328 - processors: - - label: fmd_write_count_exceed_threshold_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 329 - processors: - - label: fmd_battery_life_early_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 330 - processors: - - label: pdu_connection_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 331 - processors: - - label: pdu_health_check_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/hp/TapeAlert-MIB-tapeAlert.yml b/traps/rules/hp/TapeAlert-MIB-tapeAlert.yml deleted file mode 100644 index 8f6062ab..00000000 --- a/traps/rules/hp/TapeAlert-MIB-tapeAlert.yml +++ /dev/null @@ -1,1468 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "TapeAlert-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: tape_alert_trap1_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap1_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: tape_alert_trap2_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap2_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: tape_alert_trap3_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap3_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: tape_alert_trap4_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - root.out.hp.currentMedia = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: tape_alert_trap4_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: tape_alert_trap5_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap5_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: tape_alert_trap6_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap6_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: tape_alert_trap7_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - root.out.hp.currentMedia = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: tape_alert_trap7_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: tape_alert_trap8_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap8_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: tape_alert_trap9_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap9_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: tape_alert_trap10_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap10_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: tape_alert_trap11_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap11_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: tape_alert_trap12_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap12_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: tape_alert_trap13_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap13_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: tape_alert_trap14_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap14_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: tape_alert_trap15_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - root.out.hp.currentMedia = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: tape_alert_trap15_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: tape_alert_trap16_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap16_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: tape_alert_trap17_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap17_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: tape_alert_trap18_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap18_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: tape_alert_trap19_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - root.out.hp.currentMedia = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: tape_alert_trap19_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: tape_alert_trap20_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap20_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: tape_alert_trap21_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap21_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: tape_alert_trap22_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap22_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: tape_alert_trap23_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap23_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: tape_alert_trap29_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap29_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: tape_alert_trap30_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap30_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: tape_alert_trap31_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap31_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: tape_alert_trap32_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap32_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: tape_alert_trap33_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap33_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: tape_alert_trap34_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap34_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: tape_alert_trap35_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap35_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: tape_alert_trap36_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap36_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: tape_alert_trap37_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap37_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: tape_alert_trap38_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap38_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: tape_alert_trap39_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap39_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: tape_alert_trap40_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap40_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: tape_alert_trap41_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap41_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: tape_alert_trap42_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap42_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: tape_alert_trap43_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap43_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: tape_alert_trap44_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap44_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: tape_alert_trap45_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap45_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: tape_alert_trap46_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap46_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 256 - processors: - - label: tape_alert_trap256_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap256_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 257 - processors: - - label: tape_alert_trap257_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap257_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 258 - processors: - - label: tape_alert_trap258_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap258_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 259 - processors: - - label: tape_alert_trap259_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap259_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 260 - processors: - - label: tape_alert_trap260_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap260_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 261 - processors: - - label: tape_alert_trap261_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap261_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 262 - processors: - - label: tape_alert_trap262_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap262_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 263 - processors: - - label: tape_alert_trap263_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap263_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 264 - processors: - - label: tape_alert_trap264_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap264_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 265 - processors: - - label: tape_alert_trap265_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap265_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 266 - processors: - - label: tape_alert_trap266_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap266_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 267 - processors: - - label: tape_alert_trap267_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap267_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 268 - processors: - - label: tape_alert_trap268_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap268_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 269 - processors: - - label: tape_alert_trap269_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap269_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 270 - processors: - - label: tape_alert_trap270_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap270_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 271 - processors: - - label: tape_alert_trap271_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap271_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 272 - processors: - - label: tape_alert_trap272_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap272_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 273 - processors: - - label: tape_alert_trap273_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap273_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 274 - processors: - - label: tape_alert_trap274_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap274_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 275 - processors: - - label: tape_alert_trap275_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap275_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 276 - processors: - - label: tape_alert_trap276_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap276_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 277 - processors: - - label: tape_alert_trap277_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap277_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 278 - processors: - - label: tape_alert_trap278_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap278_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 279 - processors: - - label: tape_alert_trap279_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap279_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 280 - processors: - - label: tape_alert_trap280_variables - mapping: |- - #!blobl - root = this - - root.out.hp.hbaNumber = this.trap.VarBinds.index(0).Value - root.out.hp.hbaChannel = this.trap.VarBinds.index(1).Value - root.out.hp.driveScsiID = this.trap.VarBinds.index(2).Value - - label: tape_alert_trap280_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ibm/IBM-SERVERAID-MIB-ibmServeRaidMIB.yml b/traps/rules/ibm/IBM-SERVERAID-MIB-ibmServeRaidMIB.yml deleted file mode 100644 index c17e1697..00000000 --- a/traps/rules/ibm/IBM-SERVERAID-MIB-ibmServeRaidMIB.yml +++ /dev/null @@ -1,1886 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "IBM-SERVERAID-MIB" -- switch: - - check: this.trap.SpecificTrap == 201 - processors: - - label: ibm_serve_raid_no_controllers_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ibm_serve_raid_no_controllers_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidNoControllers" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidNoControllers" - root.out.event.category.name = "ServeRaid Status" - root.out.object.name = "" - root.out.event.message = "No Controllers Found in System" - - check: this.trap.SpecificTrap == 202 - processors: - - label: ibm_serve_raid_controller_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerFail" - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Commands Not Responding on Controller ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 203 - processors: - - label: ibm_serve_raid_dead_battery_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_dead_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDeadBattery" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDeadBattery" - root.out.event.category.name = "Controller Cache Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Cache Battery Dead ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 204 - processors: - - label: ibm_serve_raid_dead_battery_cache_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_dead_battery_cache_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDeadBatteryCache" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDeadBatteryCache" - root.out.event.category.name = "Controller Cache Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Cache Battery Defective, Error Code: " + this.trap.VarBinds.index(2).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 205 - processors: - - label: ibm_serve_raid_polling_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_polling_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPollingFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPollingFail" - root.out.event.category.name = "Controller Background Polling Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Background Polling Commands Not Responding, Error Code: " + this.trap.VarBinds.index(2).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 206 - processors: - - label: ibm_serve_raid_config_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ibm_serve_raid_config_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidConfigFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidConfigFail" - root.out.event.category.name = "ServeRAID Controller Configuration Status" - root.out.object.name = "" - root.out.event.message = "Cannot Read Controller Configuration" - - check: this.trap.SpecificTrap == 207 - processors: - - label: ibm_serve_raid_controller_added_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerAdded" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerAdded" - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Added ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 208 - processors: - - label: ibm_serve_raid_controller_replaced_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_replaced_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerReplaced" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerReplaced" - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Replaced ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 209 - processors: - - label: ibm_serve_raid_controller_failover_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_failover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerFailover" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerFailover" - root.out.event.category.name = "Controller Failover Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Failover Detected, Passive Controller Now Active ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 210 - processors: - - label: ibm_serve_raid_controller_version_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_version_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerVersionMismatch" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerVersionMismatch" - root.out.event.category.name = "Controller Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Version Mismatch, BIOS, Firmware and Driver Not Compatible ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 211 - processors: - - label: ibm_serve_raid_controller_battery_overtemp_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_battery_overtemp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerBatteryOvertemp" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidControllerBatteryOvertemp" - root.out.event.category.name = "Controller Battery Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Controller Battery Exceeded Normal Operating Temperature ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 215 - processors: - - label: ibm_serve_raidcontroller_bad_stripes_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raidcontroller_bad_stripes_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 216 - processors: - - label: ibm_serve_raid_controller_battery_temp_normal_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_controller_battery_temp_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 301 - processors: - - label: ibm_serve_raid_logical_drive_critical_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_logical_drive_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveCritical" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveCritical" - root.out.event.category.name = "Logical Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Critical ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 302 - processors: - - label: ibm_serve_raid_logical_drive_blocked_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_logical_drive_blocked_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveBlocked" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveBlocked" - root.out.event.category.name = "Logical Drive Blocking Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Blocked ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 303 - processors: - - label: ibm_serve_raid_logical_drive_off_line_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_logical_drive_off_line_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveOffLine" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveOffLine" - root.out.event.category.name = "Logical Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Offline ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 304 - processors: - - label: ibm_serve_raid_rebuild_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_rebuild_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildDetected" - root.out.event.category.name = "Logical Drive Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Rebuilding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 305 - processors: - - label: ibm_serve_raid_rebuild_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_rebuild_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildComplete" - root.out.event.category.name = "Logical Drive Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Rebuild Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 306 - processors: - - label: ibm_serve_raid_rebuild_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_rebuild_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidRebuildFail" - root.out.event.category.name = "Logical Drive Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Rebuild Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 307 - processors: - - label: ibm_serve_raid_sync_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_sync_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncDetected" - root.out.event.category.name = "Logical Drive Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Synchronizing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 308 - processors: - - label: ibm_serve_raid_sync_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_sync_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncComplete" - root.out.event.category.name = "Logical Drive Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Synchronization Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 309 - processors: - - label: ibm_serve_raid_sync_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_sync_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidSyncFail" - root.out.event.category.name = "Logical Drive Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Synchronization Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 310 - processors: - - label: ibm_serve_raid_migration_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_migration_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationDetected" - root.out.event.category.name = "Logical Drive Migration Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Migrating ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 311 - processors: - - label: ibm_serve_raid_migration_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_migration_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationComplete" - root.out.event.category.name = "Logical Drive Migration Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Migration Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 312 - processors: - - label: ibm_serve_raid_migration_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_migration_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidMigrationFail" - root.out.event.category.name = "Logical Drive Migration Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Migration Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 313 - processors: - - label: ibm_serve_raid_compression_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_compression_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompressionDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompressionDetected" - root.out.event.category.name = "Logical Drive Compression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compressing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 314 - processors: - - label: ibm_serve_raid_compression_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_compression_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompressionComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompressionComplete" - root.out.event.category.name = "Logical Drive Compression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compression Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 315 - processors: - - label: ibm_serve_raidcompression_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raidcompression_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidcompressionFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidcompressionFail" - root.out.event.category.name = "Logical Drive Compression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compression Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 316 - processors: - - label: ibm_serve_raid_decompression_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_decompression_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionDetected" - root.out.event.category.name = "Logical Drive Decompression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Decompressing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 317 - processors: - - label: ibm_serve_raid_decompression_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_decompression_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionComplete" - root.out.event.category.name = "Logical Drive Decompression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Decompression Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 318 - processors: - - label: ibm_serve_raid_decompression_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_decompression_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDecompressionFail" - root.out.event.category.name = "Logical Drive Decompression Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Decompression Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 319 - processors: - - label: ibm_serve_raid_flash_copy_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_flash_copy_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyDetected" - root.out.event.category.name = "Logical Drive Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Flash Copying ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 320 - processors: - - label: ibm_serve_raid_flash_copy_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_flash_copy_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyComplete" - root.out.event.category.name = "Logical Drive Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Flash Copy Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 321 - processors: - - label: ibm_serve_raid_flash_copy_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_flash_copy_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFlashCopyFail" - root.out.event.category.name = "Logical Drive Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Flash Copy Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 322 - processors: - - label: ibm_serve_raid_array_rebuild_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_rebuild_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildDetected" - root.out.event.category.name = "Array Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Rebuilding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 323 - processors: - - label: ibm_serve_raid_array_rebuild_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_rebuild_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildComplete" - root.out.event.category.name = "Array Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Rebuild Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 324 - processors: - - label: ibm_serve_raid_array_rebuild_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_array_rebuild_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayRebuildFail" - root.out.event.category.name = "Array Rebuild Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Rebuild Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 325 - processors: - - label: ibm_serve_raid_array_sync_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_sync_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncDetected" - root.out.event.category.name = "Array Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Synchronizing ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 326 - processors: - - label: ibm_serve_raid_array_sync_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_sync_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncComplete" - root.out.event.category.name = "Array Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Synchronization Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 327 - processors: - - label: ibm_serve_raid_array_sync_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_array_sync_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArraySyncFail" - root.out.event.category.name = "Array Synchronization Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Synchronization Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 328 - processors: - - label: ibm_serve_raid_array_flash_copy_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_flash_copy_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyDetected" - root.out.event.category.name = "Array Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Flash Copying ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 329 - processors: - - label: ibm_serve_raid_array_flash_copy_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_array_flash_copy_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyComplete" - root.out.event.category.name = "Array Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Flash Copy Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 330 - processors: - - label: ibm_serve_raid_array_flash_copy_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapArray = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_array_flash_copy_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidArrayFlashCopyFail" - root.out.event.category.name = "Array Flash Copy Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Array: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Array Flash Copy Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 331 - processors: - - label: ibm_serve_raid_logical_drive_unblocked_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_logical_drive_unblocked_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveUnblocked" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveUnblocked" - root.out.event.category.name = "Logical Drive Blocking Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Unblocked ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 332 - processors: - - label: ibm_serve_raid_compaction_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_compaction_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionDetected" - root.out.event.category.name = "Logical Drive Compaction Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compacting ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 333 - processors: - - label: ibm_serve_raid_compaction_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_compaction_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionComplete" - root.out.event.category.name = "Logical Drive Compaction Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compaction Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 334 - processors: - - label: ibm_serve_raid_compaction_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_compaction_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidCompactionFail" - root.out.event.category.name = "Logical Drive Compaction Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Compaction Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 335 - processors: - - label: ibm_serve_raid_expansion_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_expansion_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionDetected" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionDetected" - root.out.event.category.name = "Logical Drive Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Expanding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 336 - processors: - - label: ibm_serve_raid_expansion_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_expansion_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionComplete" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionComplete" - root.out.event.category.name = "Logical Drive Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Expansion Complete ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 337 - processors: - - label: ibm_serve_raid_expansion_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_expansion_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidExpansionFail" - root.out.event.category.name = "Logical Drive Expansion Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Logical Drive: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Logical Drive Expansion Failed, Error Code: " + this.trap.VarBinds.index(3).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 338 - processors: - - label: ibm_serve_raid_logical_drive_critical_periodic_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - - label: ibm_serve_raid_logical_drive_critical_periodic_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveCriticalPeriodic" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidLogicalDriveCriticalPeriodic" - root.out.event.category.name = "Controller Logical Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Periodic Controller Scan Found 1 or More Critical Logical Drives ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 339 - processors: - - label: ibm_serve_raid_copy_back_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_copy_back_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 340 - processors: - - label: ibm_serve_raid_copy_back_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_copy_back_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 341 - processors: - - label: ibm_serve_raid_copy_back_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_copy_back_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 342 - processors: - - label: ibm_serve_raid_init_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_init_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 343 - processors: - - label: ibm_serve_raid_init_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_init_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 344 - processors: - - label: ibm_serve_raid_init_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_init_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 345 - processors: - - label: ibm_serve_raidlogical_drive_ok_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raidlogical_drive_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 346 - processors: - - label: ibm_serve_raidlogical_drive_added_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raidlogical_drive_added_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 347 - processors: - - label: ibm_serve_raidlogical_drive_removed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapLogicalDrive = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raidlogical_drive_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 401 - processors: - - label: ibm_serve_raid_defunct_drive_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_defunct_drive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctDrive" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctDrive" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Drive Defunct ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 402 - processors: - - label: ibm_serve_raid_pfa_drive_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_pfa_drive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPfaDrive" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPfaDrive" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "PFA Drive ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 403 - processors: - - label: ibm_serve_raid_defunct_replaced_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_defunct_replaced_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctReplaced" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctReplaced" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Drive Set to Hot-Spare ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 404 - processors: - - label: ibm_serve_raid_defunct_drive_fru_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFru = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(4).Value - - label: ibm_serve_raid_defunct_drive_fru_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctDriveFru" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidDefunctDriveFru" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(4).Value.string() - root.out.event.message = "Drive Defunct, FRU Part #: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 405 - processors: - - label: ibm_serve_raid_pfa_drive_fru_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFru = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(4).Value - - label: ibm_serve_raid_pfa_drive_fru_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPfaDriveFru" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPfaDriveFru" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(4).Value.string() - root.out.event.message = "PFA Drive, FRU Part #: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 406 - processors: - - label: ibm_serve_raid_unsupported_drive_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_unsupported_drive_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidUnsupportedDrive" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidUnsupportedDrive" - root.out.event.category.name = "Drive Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() + ", SCSI ID: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Physical Drive Unsupported ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 407 - processors: - - label: ibm_serve_raid_drive_added_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_added_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 408 - processors: - - label: ibm_serve_raid_drive_removed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 409 - processors: - - label: ibm_serve_raid_drive_clear_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_clear_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 410 - processors: - - label: ibm_serve_raid_drive_clear_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_clear_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 411 - processors: - - label: ibm_serve_raid_drive_clear_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(4).Value - - label: ibm_serve_raid_drive_clear_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 412 - processors: - - label: ibm_serve_raid_drive_sync_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_sync_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 413 - processors: - - label: ibm_serve_raid_drive_sync_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_sync_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 414 - processors: - - label: ibm_serve_raid_drive_sync_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(4).Value - - label: ibm_serve_raid_drive_sync_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 415 - processors: - - label: ibm_serve_raid_drive_verify_detected_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_verify_detected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 416 - processors: - - label: ibm_serve_raid_drive_verify_complete_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_drive_verify_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 417 - processors: - - label: ibm_serve_raid_drive_verify_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapDeviceId = this.trap.VarBinds.index(3).Value - root.out.ibm.ibmServeRaidTrapErrorCode = this.trap.VarBinds.index(4).Value - - label: ibm_serve_raid_drive_verify_fail_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 501 - processors: - - label: ibm_serve_raid_enclosure_ok_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_enclosure_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidEnclosureOK" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidEnclosureOK" - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Drive Responding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 502 - processors: - - label: ibm_serve_raid_enclosure_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_enclosure_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidEnclosureFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidEnclosureFail" - root.out.event.category.name = "Enclosure Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(1).Value.string() + ", Channel: " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Enclosure Drive Not Responding ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 503 - processors: - - label: ibm_serve_raid_fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFan = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_fan_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanOk" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanOk" - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Fan: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Fan Operational ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 504 - processors: - - label: ibm_serve_raid_fan_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFan = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_fan_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanFail" - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Fan: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Fan Malfunctioning ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 505 - processors: - - label: ibm_serve_raid_fan_installed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFan = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_fan_installed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanInstalled" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanInstalled" - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Fan: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Fan Installed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 506 - processors: - - label: ibm_serve_raid_fan_removed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapFan = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_fan_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanRemoved" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidFanRemoved" - root.out.event.category.name = "Enclosure Fan Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Fan: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Fan Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 507 - processors: - - label: ibm_serve_raid_temp_ok_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_temp_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTempOk" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTempOk" - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: $4 - root.out.event.message = "Enclosure Temperature OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 508 - processors: - - label: ibm_serve_raid_temp_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(2).Value - - label: ibm_serve_raid_temp_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTempFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTempFail" - root.out.event.category.name = "Enclosure Temperature Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: $4 - root.out.event.message = "Enclosure Temperature Out of Range ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 509 - processors: - - label: ibm_serve_raid_power_supply_ok_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapPowerSupply = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_power_supply_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyOk" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyOk" - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Power Supply: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Power Supply OK ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 510 - processors: - - label: ibm_serve_raid_power_supply_fail_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapPowerSupply = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_power_supply_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyFail" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyFail" - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Power Supply: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Power Supply Failed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 511 - processors: - - label: ibm_serve_raid_power_supply_installed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapPowerSupply = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_power_supply_installed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyInstalled" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyInstalled" - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Power Supply: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Power Supply Installed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 512 - processors: - - label: ibm_serve_raid_power_supply_removed_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.ibm.ibmServeRaidTrapPowerSupply = this.trap.VarBinds.index(1).Value - root.out.ibm.ibmServeRaidTrapController = this.trap.VarBinds.index(2).Value - root.out.ibm.ibmServeRaidTrapChannel = this.trap.VarBinds.index(3).Value - - label: ibm_serve_raid_power_supply_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyRemoved" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidPowerSupplyRemoved" - root.out.event.category.name = "Enclosure Power Supply Status" - root.out.object.name = "Controller: " + this.trap.VarBinds.index(2).Value.string() + ", Channel: " + this.trap.VarBinds.index(3).Value.string() + ", Power Supply: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "Enclosure Power Supply Removed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 601 - processors: - - label: ibm_serve_raid_test_trap_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmServeRaidTrapServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: ibm_serve_raid_test_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTestTrap" - root.out.event.id = "SNMPTRAP-ibm-IBM-SERVERAID-MIB-ibmServeRaidTestTrap" - root.out.event.category.name = "ServeRaid Test" - root.out.object.name = "" - root.out.event.message = "ServeRaid Test Trap" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ibm/IBMADSM-MIB-ibmAdsm.yml b/traps/rules/ibm/IBMADSM-MIB-ibmAdsm.yml deleted file mode 100644 index 56c0e928..00000000 --- a/traps/rules/ibm/IBMADSM-MIB-ibmAdsm.yml +++ /dev/null @@ -1,80 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "IBMADSM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ibm_adsm_severe_message_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmAdsmMessageText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ibm_adsm_severe_message_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: ibm_adsm_warning_message_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmAdsmMessageText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ibm_adsm_warning_message_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: ibm_adsm_error_message_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmAdsmMessageText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ibm_adsm_error_message_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: ibm_adsm_info_message_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmAdsmMessageText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ibm_adsm_info_message_rules_1 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: ibm_adsm_trap_message_variables - mapping: |- - #!blobl - root = this - - root.out.ibm.ibmAdsmMessageText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: ibm_adsm_trap_message_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ieee/LLDP-MIB-lldpNotifications.yml b/traps/rules/ieee/LLDP-MIB-lldpNotifications.yml new file mode 100644 index 00000000..52a94d9e --- /dev/null +++ b/traps/rules/ieee/LLDP-MIB-lldpNotifications.yml @@ -0,0 +1,205 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IEEE LLDP-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # lldpRemTablesChange + # + # A lldpRemTablesChange notification is sent when the value of lldpStatsRemTableLastChangeTime changes. + # + # lldpStatsRemTablesInserts (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been inserted into tables contained in lldpRemoteSystemsData and lldpExtensions objects. + # lldpStatsRemTablesDeletes (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been deleted from tables contained in lldpRemoteSystemsData and lldpExtensions objects. + # lldpStatsRemTablesDrops (Gauge32) - The number of times the complete set of information advertised by a particular + # MSAP could not be entered into tables contained in lldpRemoteSystemsData and lldpExtensions objects because of + # insufficient resources. + # lldpStatsRemTablesAgeouts (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been deleted from tables contained in lldpRemoteSystemsData and lldpExtensions objects + # because the information timeliness interval has expired. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.0.8802.1.1.2.1.2.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.0.8802.1.1.2.1.2.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.0.8802.1.1.2.1.2.4") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.0.8802.1.1.2.1.2.5") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ieee.lldpStatsRemTablesInserts = this.trap.VarBinds.index(0).Value + root.out.ieee.lldpStatsRemTablesDeletes = this.trap.VarBinds.index(1).Value + root.out.ieee.lldpStatsRemTablesDrops = this.trap.VarBinds.index(2).Value + root.out.ieee.lldpStatsRemTablesAgeouts = this.trap.VarBinds.index(3).Value + + root.out.object.name = "LLDP-MIB::lldpStatistics" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-LLDP-MIB-lldpNotifications-lldpRemTablesChange" + root.out.event.id = "SNMPTRAP-LLDP-MIB-lldpNotifications-lldpRemTablesChange" + root.out.event.category.name = "LLDP MSAP change" + root.out.event.message = "LLDP MSAP changed" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-LLDP-MIB-lldpNotifications-lldpRemTablesChange" + root.out.event.id = "SNMPTRAP-LLDP-MIB-lldpNotifications-lldpRemTablesChange-unknown" + root.out.event.category.name = "LLDP MSAP change" + root.out.event.message = "LLDP MSAP changed - UNEXPECTED VARBINDS for lldpRemTablesChange trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-LLDP-MIB-lldpNotifications-unknown" + root.out.event.id = "SNMPTRAP-LLDP-MIB-lldpNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IEEE LLDP-MIB-lldpNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ieee/LLDP-V2-MIB-lldpV2Notifications.yml b/traps/rules/ieee/LLDP-V2-MIB-lldpV2Notifications.yml new file mode 100644 index 00000000..d1e2f6bc --- /dev/null +++ b/traps/rules/ieee/LLDP-V2-MIB-lldpV2Notifications.yml @@ -0,0 +1,205 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IEEE LLDP-V2-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # lldpV2RemTablesChange + # + # A lldpV2RemTablesChange notification is sent when the value of lldpV2StatsRemTablesLastChangeTime changes. + # + # lldpV2StatsRemTablesInserts (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been inserted into tables contained in lldpV2RemoteSystemsData and lldpV2Extensions objects. + # lldpV2StatsRemTablesDeletes (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been deleted from tables contained in lldpV2RemoteSystemsData and lldpV2Extensions objects. + # lldpV2StatsRemTablesDrops (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP could not be entered into tables contained in lldpV2RemoteSystemsData and lldpV2Extensions + # objects because of insufficient resources. + # lldpV2StatsRemTablesAgeouts (Gauge32) - The number of times the complete set of information advertised by a + # particular MSAP has been deleted from tables contained in lldpV2RemoteSystemsData and lldpV2Extensions objects + # because the information timeliness interval has expired. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.111.2.802.1.1.13.1.2.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.111.2.802.1.1.13.1.2.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.111.2.802.1.1.13.1.2.4") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.111.2.802.1.1.13.1.2.5") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ieee.lldpV2StatsRemTablesInserts = this.trap.VarBinds.index(0).Value + root.out.ieee.lldpV2StatsRemTablesDeletes = this.trap.VarBinds.index(1).Value + root.out.ieee.lldpV2StatsRemTablesDrops = this.trap.VarBinds.index(2).Value + root.out.ieee.lldpV2StatsRemTablesAgeouts = this.trap.VarBinds.index(3).Value + + root.out.object.name = "LLDP-V2-MIB::lldpV2Statistics" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-lldpV2RemTablesChange" + root.out.event.id = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-lldpV2RemTablesChange" + root.out.event.category.name = "LLDP MSAP change" + root.out.event.message = "LLDP MSAP changed" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-lldpV2RemTablesChange" + root.out.event.id = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-lldpV2RemTablesChange-unknown" + root.out.event.category.name = "LLDP MSAP change" + root.out.event.message = "LLDP MSAP changed - UNEXPECTED VARBINDS for lldpV2RemTablesChange trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-unknown" + root.out.event.id = "SNMPTRAP-LLDP-V2-MIB-lldpV2Notifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IEEE LLDP-V2-MIB-lldpV2Notifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifications.yml b/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifications.yml new file mode 100644 index 00000000..930faee9 --- /dev/null +++ b/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifications.yml @@ -0,0 +1,353 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF ACCOUNTING-CONTROL-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # acctngFileNearlyFull + # + # An indication that the size of the file into which accounting information is currently being collected has + # exceeded the threshold percentage of its maximum file size. This notification is generated only at the time of the + # transition from not-exceeding to exceeding. + # + # acctngFileName (DisplayString) - The name of the file into which accounting data is to be stored. If files are + # named using suffixes, then the name of the current file is the concatenation of acctngFileName and + # acctngFileNameSuffix. + # acctngFileMaximumSize (Integer32) - The maximum size of the file (including header information). When the file of + # collected data reaches this size, either the agent automatically swaps to a new version (i.e., a new value + # acctngFileNameSuffix) of the file, or new records are discarded. Since a file must contain an integral number of + # connection records, the actual maximum size of the file may be just less OR Just greater than the value of this + # object. + # acctngControlTrapThreshold (INTEGER) - A percentage of the maximum file size at which a 'nearly-full' trap is + # generated. + # acctngFileNameSuffix (DisplayString) - The suffix, if any, of the name of a file into which accounting data is + # currently being stored. If suffixes are not used, then the value of this object is the zero-length string. Note + # that if a separator, such as a period, is used in appending the suffix to the file name, then that separator + # appears as the first character of this value. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.6") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.60.1.4.1") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.3") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value + root.out.ietf.acctngControlTrapThreshold = this.trap.VarBinds.index(2).Value + root.out.ietf.acctngFileNameSuffix = this.trap.VarBinds.index(3).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "ACCOUNTING-CONTROL-MIB::acctngFileEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.60.1.2.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "file: " + root.out.ietf.acctngFileName + if root.out.ietf.acctngFileNameSuffix.length() > 0 { + root.out.object.label = root.out.object.label + root.out.ietf.acctngFileNameSuffix + } + + root.out.event.class.name = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileNearlyFull" + root.out.event.id = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileNearlyFull" + root.out.event.category.name = "accounting file state" + root.out.event.message = "accounting file over " + root.out.ietf.acctngControlTrapThreshold.string() + "% full" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileNearlyFull" + root.out.event.id = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileNearlyFull-unknown" + root.out.event.category.name = "accounting file state" + root.out.event.message = "accounting file nearly full - UNEXPECTED VARBINDS for acctngFileNearlyFull trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # acctngFileFull + # + # An indication that the size of the file into which accounting information is currently being collected has + # transistioned to its maximum file size. This notification is generated (for all values of acctngAgentMode) at the + # time of the transition from not-full to full. If acctngAgentMode has the value 'swapOnCommand', it is also + # generated periodically thereafter until such time as collection of data is no longer inhibited by the file full + # condition. + # + # acctngFileName (DisplayString) - The name of the file into which accounting data is to be stored. If files are + # named using suffixes, then the name of the current file is the concatenation of acctngFileName and + # acctngFileNameSuffix. + # acctngFileMaximumSize (Integer32) - The maximum size of the file (including header information). When the file of + # collected data reaches this size, either the agent automatically swaps to a new version (i.e., a new value + # acctngFileNameSuffix) of the file, or new records are discarded. Since a file must contain an integral number of + # connection records, the actual maximum size of the file may be just less OR Just greater than the value of this + # object. + # acctngFileNameSuffix (DisplayString) - The suffix, if any, of the name of a file into which accounting data is + # currently being stored. If suffixes are not used, then the value of this object is the zero-length string. Note + # that if a separator, such as a period, is used in appending the suffix to the file name, then that separator + # appears as the first character of this value. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.6") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.60.1.2.1.1.3") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value + root.out.ietf.acctngFileNameSuffix = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "ACCOUNTING-CONTROL-MIB::acctngFileEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.60.1.2.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "file: " + root.out.ietf.acctngFileName + if root.out.ietf.acctngFileNameSuffix.length() > 0 { + root.out.object.label = root.out.object.label + root.out.ietf.acctngFileNameSuffix + } + + root.out.event.class.name = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileFull" + root.out.event.id = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileFull" + root.out.event.category.name = "accounting file state" + root.out.event.message = "accounting file full" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileFull" + root.out.event.id = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-acctngFileFull-unknown" + root.out.event.category.name = "accounting file state" + root.out.event.message = "accounting file full - UNEXPECTED VARBINDS for acctngFileFull trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-unknown" + root.out.event.id = "SNMPTRAP-ACCOUNTING-CONTROL-MIB-acctngNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF ACCOUNTING-CONTROL-MIB-acctngNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml b/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml deleted file mode 100644 index ad56e4e2..00000000 --- a/traps/rules/ietf/ACCOUNTING-CONTROL-MIB-acctngNotifyPrefix.yml +++ /dev/null @@ -1,57 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ACCOUNTING-CONTROL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: acctng_file_nearly_full_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.IETF.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value - root.out.IETF.acctngControlTrapThreshold = this.trap.VarBinds.index(2).Value - root.out.IETF.acctngFileNameSuffix = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: acctng_file_nearly_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ACCOUNTING-CONTROL-MIB-acctngFileNearlyFull" - root.out.event.id = "SNMPTRAP-IETF-ACCOUNTING-CONTROL-MIB-acctngFileNearlyFull" - root.out.event.category.name = "Accounting File Status" - root.out.object.name = "acctngFileEntry.2" - root.out.event.message = "Accounting File Over " + this.trap.VarBinds.index(2).Value.string() + "% Full ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: acctng_file_full_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.acctngFileName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.IETF.acctngFileMaximumSize = this.trap.VarBinds.index(1).Value - root.out.IETF.acctngFileNameSuffix = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: acctng_file_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ACCOUNTING-CONTROL-MIB-acctngFileFull" - root.out.event.id = "SNMPTRAP-IETF-ACCOUNTING-CONTROL-MIB-acctngFileFull" - root.out.event.category.name = "Accounting File Status" - root.out.object.name = "acctngFileEntry.2" - root.out.event.message = "Accounting File Full ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/ADSL-LINE-MIB-adslAtucTraps.yml b/traps/rules/ietf/ADSL-LINE-MIB-adslAtucTraps.yml deleted file mode 100644 index 6d34396d..00000000 --- a/traps/rules/ietf/ADSL-LINE-MIB-adslAtucTraps.yml +++ /dev/null @@ -1,159 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ADSL-LINE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: adsl_atuc_perf_lofs_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucPerfCurr15MinLofs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucThresh15MinLofs = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_perf_lofs_thresh_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLofsThreshTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLofsThreshTrap" - root.out.event.category.name = "ATUC Loss of Framing" - root.out.object.name = "adslAtucPerfDataEntry.1" - root.out.event.message = "ATUC Loss of Framing, " + this.trap.VarBinds.index(0).Value.string() + " LOF Seconds Crossed Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", in 15 Min. Interval ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: adsl_atuc_perf_loss_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucPerfCurr15MinLoss = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucThresh15MinLoss = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_perf_loss_thresh_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLossThreshTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLossThreshTrap" - root.out.event.category.name = "ATUC Loss of Signal" - root.out.object.name = "adslAtucPerfDataEntry.1" - root.out.event.message = "ATUC Loss of Signal, " + this.trap.VarBinds.index(0).Value.string() + " LOS Seconds Crossed Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", in 15 Min. Interval ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 3 - processors: - - label: adsl_atuc_perf_lprs_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucPerfCurr15MinLprs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucThresh15MinLprs = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_perf_lprs_thresh_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLprsThreshTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLprsThreshTrap" - root.out.event.category.name = "ATUC Loss of Power" - root.out.object.name = "adslAtucPerfDataEntry.1" - root.out.event.message = "ATUC Loss of Power, " + this.trap.VarBinds.index(0).Value.string() + " LOP Seconds Crossed Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", in 15 Min. Interval ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 4 - processors: - - label: adsl_atuc_perf_ess_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucPerfCurr15MinESs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucThresh15MinESs = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_perf_ess_thresh_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfESsThreshTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfESsThreshTrap" - root.out.event.category.name = "ATUC Errored Second" - root.out.object.name = "adslAtucPerfDataEntry.1" - root.out.event.message = "ATUC Errored Second, " + this.trap.VarBinds.index(0).Value.string() + " ES Seconds Crossed Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", in 15 Min. Interval ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: adsl_atuc_rate_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucChanCurrTxRate = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucChanPrevTxRate = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_rate_change_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucRateChangeTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucRateChangeTrap" - root.out.event.category.name = "ATUC Transmit Rate" - root.out.object.name = "adslAtucChanEntry.1" - root.out.event.message = "ATUC Transmit Rate, " + this.trap.VarBinds.index(0).Value.string() + ", Changed, was " + this.trap.VarBinds.index(1).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 6 - processors: - - label: adsl_atuc_perf_lols_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucPerfCurr15MinLols = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAtucThresh15MinLols = this.trap.VarBinds.index(1).Value - - label: adsl_atuc_perf_lols_thresh_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLolsThreshTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucPerfLolsThreshTrap" - root.out.event.category.name = "ATUC Loss of Link" - root.out.object.name = "adslAtucPerfDataEntry.1" - root.out.event.message = "ATUC Loss of Link, " + this.trap.VarBinds.index(0).Value.string() + " LOL Seconds Crossed Threshold, " + this.trap.VarBinds.index(1).Value.string() + ", in 15 Min. Interval ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 7 - processors: - - label: adsl_atuc_init_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAtucCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.94.1.1.2.1.6") - - label: adsl_atuc_init_failure_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucInitFailureTrap" - root.out.event.id = "SNMPTRAP-IETF-ADSL-LINE-MIB-adslAtucInitFailureTrap" - root.out.event.category.name = "ATUC Initialization" - root.out.object.name = "adslAtucPhysEntry.1" - root.out.event.message = "ATUC Initialization Failed, Multiple Alarms, adslAtucCurrStatus: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.94.1.1.2.1.6").string() + " ( " + root.out.object.name + " )" - root.out.event.message = "ATUC Initialization Failed, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.94.1.1.2.1.6").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/ADSL-LINE-MIB-adslAturTraps.yml b/traps/rules/ietf/ADSL-LINE-MIB-adslAturTraps.yml deleted file mode 100644 index 1a34452f..00000000 --- a/traps/rules/ietf/ADSL-LINE-MIB-adslAturTraps.yml +++ /dev/null @@ -1,117 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ADSL-LINE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: adsl_atur_perf_lofs_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAturPerfCurr15MinLofs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAturThresh15MinLofs = this.trap.VarBinds.index(1).Value - - label: adsl_atur_perf_lofs_thresh_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: adsl_atur_perf_loss_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAturPerfCurr15MinLoss = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAturThresh15MinLoss = this.trap.VarBinds.index(1).Value - - label: adsl_atur_perf_loss_thresh_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: adsl_atur_perf_lprs_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAturPerfCurr15MinLprs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAturThresh15MinLprs = this.trap.VarBinds.index(1).Value - - label: adsl_atur_perf_lprs_thresh_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: adsl_atur_perf_ess_thresh_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAturPerfCurr15MinESs = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAturThresh15MinESs = this.trap.VarBinds.index(1).Value - - label: adsl_atur_perf_ess_thresh_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: adsl_atur_rate_change_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.adslAturChanCurrTxRate = this.trap.VarBinds.index(0).Value - root.out.IETF.adslAturChanPrevTxRate = this.trap.VarBinds.index(1).Value - - label: adsl_atur_rate_change_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/APS-MIB-apsNotificationsPrefix.yml b/traps/rules/ietf/APS-MIB-apsNotificationsPrefix.yml deleted file mode 100644 index 36332e1b..00000000 --- a/traps/rules/ietf/APS-MIB-apsNotificationsPrefix.yml +++ /dev/null @@ -1,117 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "APS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: aps_event_switchover_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.apsChanStatusSwitchovers = this.trap.VarBinds.index(0).Value - root.out.IETF.apsChanStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.49.1.6.1.1") - - label: aps_event_switchover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-APS-MIB-apsEventSwitchover" - root.out.event.id = "SNMPTRAP-IETF-APS-MIB-apsEventSwitchover" - root.out.event.category.name = "APS Channel Status" - root.out.object.name = "apsChanStatusEntry..2" - root.out.event.message = "APS Channel Switchover ( Group: $String, Channel: 2 )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: aps_event_mode_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.apsStatusModeMismatches = this.trap.VarBinds.index(0).Value - root.out.IETF.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.49.1.2.1.3") - - label: aps_event_mode_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-APS-MIB-apsEventModeMismatch" - root.out.event.id = "SNMPTRAP-IETF-APS-MIB-apsEventModeMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Mode Mismatch ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: aps_event_channel_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.apsStatusChannelMismatches = this.trap.VarBinds.index(0).Value - root.out.IETF.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.49.1.2.1.3") - - label: aps_event_channel_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-APS-MIB-apsEventChannelMismatch" - root.out.event.id = "SNMPTRAP-IETF-APS-MIB-apsEventChannelMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Channel Mismatch ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: aps_event_psbf_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.apsStatusPSBFs = this.trap.VarBinds.index(0).Value - root.out.IETF.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.49.1.2.1.3") - - label: aps_event_psbf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-APS-MIB-apsEventPSBF" - root.out.event.id = "SNMPTRAP-IETF-APS-MIB-apsEventPSBF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Protection Switch Byte Failure ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: aps_event_feplf_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.apsStatusFEPLFs = this.trap.VarBinds.index(0).Value - root.out.IETF.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.49.1.2.1.3") - - label: aps_event_feplf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-APS-MIB-apsEventFEPLF" - root.out.event.id = "SNMPTRAP-IETF-APS-MIB-apsEventFEPLF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Far-End Protection-Line Failure ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/BFD-STD-MIB-bfdMIB.yml b/traps/rules/ietf/BFD-STD-MIB-bfdMIB.yml new file mode 100644 index 00000000..709f6e6f --- /dev/null +++ b/traps/rules/ietf/BFD-STD-MIB-bfdMIB.yml @@ -0,0 +1,325 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF BFD-STD-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # bfdSessUp + # + # This notification is generated when the bfdSessState object for one or more contiguous entries in bfdSessTable are + # about to enter the up(4) state from some other state. + # + # bfdSessDiag (INTEGER) - low range value - A diagnostic code specifying the local system's reason for the last + # transition of the session from up(4) to some other state. + # bfdSessDiag (INTEGER) - high range value - A diagnostic code specifying the local system's reason for the last + # transition of the session from up(4) to some other state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.222.1.2.1.13") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.222.1.2.1.13") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.bfdSessDiag = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.222.1.2.1.13") + + root.out.object.name = "BFD-STD-MIB::bfdSessEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.222.1.2.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "sessions: from " + root.out.object.index + " to " + this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.222.1.2.1.13") + + root.out.event.class.name = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessUp" + root.out.event.id = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessUp" + root.out.event.category.name = "BFD session state" + root.out.event.message = "BFD sessions up" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessUp" + root.out.event.id = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessUp-unknown" + root.out.event.category.name = "BFD session state" + root.out.event.message = "BFD sessions up - UNEXPECTED VARBINDS for bfdSessUp trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 2 + # bfdSessDown + # + # This notification is generated when the bfdSessState object for one or more contiguous entries in bfdSessTable are + # about to enter the down(2) or adminDown(1) states from some other state. + # + # bfdSessDiag (INTEGER) - low range value - A diagnostic code specifying the local system's reason for the last + # transition of the session from up(4) to some other state. + # bfdSessDiag (INTEGER) - high range value - A diagnostic code specifying the local system's reason for the last + # transition of the session from up(4) to some other state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.222.1.2.1.13") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.222.1.2.1.13") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.bfdSessDiag = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.222.1.2.1.13") + + root.out.object.name = "BFD-STD-MIB::bfdSessEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.222.1.2.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "sessions: from " + root.out.object.index + " to " + this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.222.1.2.1.13") + + root.out.event.class.name = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessDown" + root.out.event.id = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessDown" + root.out.event.category.name = "BFD session state" + root.out.event.message = "BFD sessions down, " + root.out.ietf.bfdSessDiag + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessDown" + root.out.event.id = "SNMPTRAP-BFD-STD-MIB-bfdMIB-bfdSessDown-unknown" + root.out.event.category.name = "BFD session state" + root.out.event.message = "BFD sessions down - UNEXPECTED VARBINDS for bfdSessDown trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-BFD-STD-MIB-bfdMIB-unknown" + root.out.event.id = "SNMPTRAP-BFD-STD-MIB-bfdMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF BFD-STD-MIB-bfdMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/BGP4-MIB-bgp.yml b/traps/rules/ietf/BGP4-MIB-bgp.yml index 6313f783..35424369 100644 --- a/traps/rules/ietf/BGP4-MIB-bgp.yml +++ b/traps/rules/ietf/BGP4-MIB-bgp.yml @@ -576,7 +576,7 @@ root.out.event.class.name = "SNMPTRAP-BGP4-MIB-bgp-bgpBackwardTransNotification" root.out.event.id = "SNMPTRAP-BGP4-MIB-bgp-bgpBackwardTransNotification-unknown" root.out.event.category.name = "BGP peer state" - root.out.event.message = "BGP peer backward transition - UNEXPECTED VARBINDS for bgpBackwardTransNotification trap!" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for bgpBackwardTransNotification trap!" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" diff --git a/traps/rules/ietf/BGP4-MIB-bgpTraps.yml b/traps/rules/ietf/BGP4-MIB-bgpTraps.yml index da64d2f9..6caa3358 100644 --- a/traps/rules/ietf/BGP4-MIB-bgpTraps.yml +++ b/traps/rules/ietf/BGP4-MIB-bgpTraps.yml @@ -144,7 +144,7 @@ root.out.ietf.bgpPeerState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.15.3.1.2") meta bgpPeerLastError = root.out.ietf.bgpPeerLastError - + root.out.object.name = "BGP4-MIB::bgpPeerEntry" root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.15.3.1.2") root.out.ietf.bgpPeerRemoteAddr = root.out.object.index @@ -556,7 +556,7 @@ root.out.event.class.name = "SNMPTRAP-BGP4-MIB-bgpTraps-bgpBackwardTransition" root.out.event.id = "SNMPTRAP-BGP4-MIB-bgpTraps-bgpBackwardTransition-unknown" root.out.event.category.name = "BGP peer state" - root.out.event.message = "BGP peer backward transition - UNEXPECTED VARBINDS for bgpBackwardTransition trap!" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for bgpBackwardTransition trap!" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" diff --git a/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTrapPrefix.yml b/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTrapPrefix.yml new file mode 100644 index 00000000..ce027363 --- /dev/null +++ b/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTrapPrefix.yml @@ -0,0 +1,511 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF DIAL-CONTROL-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # dialCtlPeerCallInformation + # + # This trap/inform is sent to the manager whenever a successful call clears, or a failed call attempt is determined + # to have ultimately failed. In the event that call retry is active, then this is after all retry attempts have + # failed. However, only one such trap is sent in between successful call attempts; subsequent call attempts result + # in no trap. ifOperStatus will return the operational status of the virtual interface associated with the peer to + # whom this call was made to. + # + # callHistoryPeerId (INTEGER) - This is the Id value of the peer table entry to which this call was made. + # callHistoryPeerIfIndex (INTEGER) - This is the ifIndex value of the peer table entry to which this call was made. + # callHistoryLogicalIfIndex (Integer32) - This is the ifIndex value of the logical interface through which this call was made. + # ifOperStatus (INTEGER) - The current operational state of the interface. + # callHistoryPeerAddress (DisplayString) - The number this call was connected to. + # callHistoryPeerSubAddress (DisplayString) - The subaddress this call was connected to. + # callHistoryDisconnectCause (OCTET STRING) - The encoded network cause value associated with this call. + # callHistoryConnectTime (TimeTicks) - The value of sysUpTime when the call was connected. + # callHistoryDisconnectTime (TimeTicks) - The value of sysUpTime when the call was disconnected. + # callHistoryInfoType (INTEGER) - The information type for this call. + # callHistoryCallOrigin (INTEGER) - The call origin. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 10 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.3") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.4") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.5") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.2.2.1.8") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.1") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.2") { + if this.trap.VarBinds.index(6).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.6") { + if this.trap.VarBinds.index(7).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.8") { + if this.trap.VarBinds.index(8).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.9") { + if this.trap.VarBinds.index(9).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.12") { + if this.trap.VarBinds.index(10).OID.has_prefix(".1.3.6.1.2.1.10.21.1.4.3.1.10") { + meta varbinds_ok = true + }}}}}}}}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.callHistoryPeerId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.callHistoryPeerIfIndex = this.trap.VarBinds.index(1).Value.string() + root.out.ietf.callHistoryLogicalIfIndex = this.trap.VarBinds.index(2).Value.string() + root.out.ietf.ifOperStatus = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.2.2.1.8") + root.out.ietf.callHistoryPeerAddress = this.trap.VarBinds.index(4).Value.snmp_octet_display_hint("255t") + root.out.ietf.callHistoryPeerSubAddress = this.trap.VarBinds.index(5).Value.snmp_octet_display_hint("255t") + root.out.ietf.callHistoryDisconnectCause = this.trap.VarBinds.index(6).Value.snmp_octet_string() + root.out.ietf.callHistoryConnectTime = this.trap.VarBinds.index(7).Value + root.out.ietf.callHistoryDisconnectTime = this.trap.VarBinds.index(8).Value + root.out.ietf.callHistoryInfoType = this.trap.VarBinds.index(9).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12") + root.out.ietf.callHistoryCallOrigin = this.trap.VarBinds.index(10).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.10") + + root.out.object.name = "DIAL-CONTROL-MIB::callActiveEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.21.1.4.3.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.callActiveEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.callActiveSetupTime = root.TEMP.callActiveEntry.index(0).number() + root.out.ietf.callActiveIndex = root.TEMP.callActiveEntry.index(1).string() + root.out.object.label = "peer: " + root.out.ietf.callHistoryPeerId + ", address: " + root.out.ietf.callHistoryPeerAddress + if root.out.ietf.callHistoryPeerSubAddress.length() > 0 { + root.out.object.label = root.out.object.label + ", sub-address: " + root.out.ietf.callHistoryPeerSubAddress + } + + root.out.event.class.name = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallInformation" + root.out.event.id = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallInformation" + root.out.event.category.name = "call state" + root.out.event.message = root.out.ietf.callHistoryCallOrigin + " " + root.out.ietf.callHistoryInfoType + " call cleared/failed, cause code: " + root.out.ietf.callHistoryDisconnectCause + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallInformation" + root.out.event.id = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallInformation-unknown" + root.out.event.category.name = "call state" + root.out.event.message = "call information - UNEXPECTED VARBINDS for dialCtlPeerCallInformation trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # dialCtlPeerCallSetup + # + # This trap/inform is sent to the manager whenever a call setup message is received or sent. ifOperStatus will + # return the operational status of the virtual interface associated with the peer to whom this call was made to. + # + # callActivePeerId (INTEGER) - This is the Id value of the peer table entry to which this call was made. + # callActivePeerIfIndex (INTEGER) - This is the ifIndex value of the peer table entry to which this call was made. + # callActiveLogicalIfIndex (Integer32) - This is the ifIndex value of the logical interface through which this call was made. + # ifOperStatus (INTEGER) - The current operational state of the interface. + # callActivePeerAddress (DisplayString) - The number this call is connected to. + # callActivePeerSubAddress (DisplayString) - The subaddress this call is connected to. + # callActiveInfoType (INTEGER) - The information type for this call. + # callActiveCallOrigin (INTEGER) - The call origin. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 7 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.5") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.6") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.7") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.2.2.1.8") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.3") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.4") { + if this.trap.VarBinds.index(6).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.12") { + if this.trap.VarBinds.index(7).OID.has_prefix(".1.3.6.1.2.1.10.21.1.3.1.1.10") { + meta varbinds_ok = true + }}}}}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.callActivePeerId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.callActivePeerIfIndex = this.trap.VarBinds.index(1).Value.string() + root.out.ietf.callActiveLogicalIfIndex = this.trap.VarBinds.index(2).Value.string() + root.out.ietf.ifOperStatus = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.2.2.1.8") + root.out.ietf.callActivePeerAddress = this.trap.VarBinds.index(4).Value.snmp_octet_display_hint("255t") + root.out.ietf.callActivePeerSubAddress = this.trap.VarBinds.index(5).Value.snmp_octet_display_hint("255t") + root.out.ietf.callActiveInfoType = this.trap.VarBinds.index(6).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12") + root.out.ietf.callActiveCallOrigin = this.trap.VarBinds.index(7).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.10") + + root.out.object.name = "DIAL-CONTROL-MIB::callActiveEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.21.1.3.1.1.5") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.callActiveEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.callActiveSetupTime = root.TEMP.callActiveEntry.index(0).number() + root.out.ietf.callActiveIndex = root.TEMP.callActiveEntry.index(1).string() + root.out.object.label = "peer: " + root.out.ietf.callActivePeerId + ", address: " + root.out.ietf.callActivePeerAddress + if root.out.ietf.callActivePeerSubAddress.length() > 0 { + root.out.object.label = root.out.object.label + ", sub-address: " + root.out.ietf.callActivePeerSubAddress + } + + root.out.event.class.name = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallSetup" + root.out.event.id = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallSetup" + root.out.event.category.name = "call state" + root.out.event.message = root.out.ietf.callActiveCallOrigin + " " + root.out.ietf.callActiveInfoType + " call setup" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + }}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallSetup" + root.out.event.id = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-dialCtlPeerCallSetup-unknown" + root.out.event.category.name = "call state" + root.out.event.message = "call setup - UNEXPECTED VARBINDS for dialCtlPeerCallSetup trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + if this.trap.VarBinds.length() > 12 { + root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID + root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() + } + if this.trap.VarBinds.length() > 13 { + root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID + root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() + } + if this.trap.VarBinds.length() > 14 { + root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID + root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + } + if this.trap.VarBinds.length() > 15 { + root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID + root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + } + }}}}}}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-unknown" + root.out.event.id = "SNMPTRAP-DIAL-CONTROL-MIB-dialControlMibTrapPrefix-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF DIAL-CONTROL-MIB-dialControlMibTrapPrefix" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTraps.yml b/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTraps.yml deleted file mode 100644 index 4832c194..00000000 --- a/traps/rules/ietf/DIAL-CONTROL-MIB-dialControlMibTraps.yml +++ /dev/null @@ -1,151 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DIAL-CONTROL-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dial_ctl_peer_call_information_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.callHistoryPeerId = this.trap.VarBinds.index(0).Value - root.out.IETF.callHistoryPeerIfIndex = this.trap.VarBinds.index(1).Value - root.out.IETF.callHistoryLogicalIfIndex = this.trap.VarBinds.index(2).Value - root.out.IETF.ifOperStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.2.2.1.8") - root.out.IETF.callHistoryPeerAddress = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.IETF.callHistoryPeerSubAddress = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.IETF.callHistoryDisconnectCause = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.IETF.callHistoryConnectTime = this.trap.VarBinds.index(7).Value - root.out.IETF.callHistoryDisconnectTime = this.trap.VarBinds.index(8).Value - root.out.IETF.callHistoryInfoType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12") - root.out.IETF.callHistoryCallOrigin = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.10") - - label: dial_ctl_peer_call_information_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DIAL-CONTROL-MIB-dialCtlPeerCallInformation" - root.out.event.id = "SNMPTRAP-IETF-DIAL-CONTROL-MIB-dialCtlPeerCallInformation" - root.out.event.category.name = "Peer Call Status" - root.out.object.name = "dialCtlPeerCfgEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() - - label: dial_ctl_peer_call_information_rules_2 - switch: - - check: this.trap.VarBinds.index(10).Value == 1 - processors: - - label: dial_ctl_peer_call_information_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.10").string() + " " + this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12").string() + " Call Cleared or Failed, Disconnect Cause: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(10).Value == 2 - processors: - - label: dial_ctl_peer_call_information_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.10").string() + " " + this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12").string() + " Call Cleared or Failed, Disconnect Cause: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(10).Value == 3 - processors: - - label: dial_ctl_peer_call_information_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12").string() + " Callback Cleared or Failed, Disconnect Cause: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - processors: - - label: dial_ctl_peer_call_information_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.4.3.1.12").string() + " Call Cleared or Failed, Disconnect Cause: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - label: dial_ctl_peer_call_information_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer ID: " + this.trap.VarBinds.index(0).Value.string() + ", Peer ifIndex: " + this.trap.VarBinds.index(1).Value.string() + ", Logical ifIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( Peer Address: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " )" - root.out.event.message = root.out.event.message + ", Peer Sub-Address: " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: dial_ctl_peer_call_setup_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.callActivePeerId = this.trap.VarBinds.index(0).Value - root.out.IETF.callActivePeerIfIndex = this.trap.VarBinds.index(1).Value - root.out.IETF.callActiveLogicalIfIndex = this.trap.VarBinds.index(2).Value - root.out.IETF.ifOperStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.2.2.1.8") - root.out.IETF.callActivePeerAddress = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.IETF.callActivePeerSubAddress = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.IETF.callActiveInfoType = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12") - root.out.IETF.callActiveCallOrigin = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.10") - - label: dial_ctl_peer_call_setup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DIAL-CONTROL-MIB-dialCtlPeerCallSetup" - root.out.event.id = "SNMPTRAP-IETF-DIAL-CONTROL-MIB-dialCtlPeerCallSetup" - root.out.event.category.name = "Peer Call Status" - root.out.object.name = "dialCtlPeerCfgEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() - - label: dial_ctl_peer_call_setup_rules_2 - switch: - - check: this.trap.VarBinds.index(7).Value == 1 - processors: - - label: dial_ctl_peer_call_setup_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.10").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12").string() + " Call Successful" - - check: this.trap.VarBinds.index(7).Value == 2 - processors: - - label: dial_ctl_peer_call_setup_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.10").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12").string() + " Call Successful" - - check: this.trap.VarBinds.index(7).Value == 3 - processors: - - label: dial_ctl_peer_call_setup_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12").string() + " Callback Successful" - - processors: - - label: dial_ctl_peer_call_setup_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.21.1.3.1.1.12").string() + " Call Successful" - - label: dial_ctl_peer_call_setup_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer ID: " + this.trap.VarBinds.index(0).Value.string() + ", Peer ifIndex: " + this.trap.VarBinds.index(1).Value.string() + ", Logical ifIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.message = root.out.event.message + " ( Peer Address: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " )" - root.out.event.message = root.out.event.message + ", Peer Sub-Address: " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DISMAN-PING-MIB-pingNotifications.yml b/traps/rules/ietf/DISMAN-PING-MIB-pingNotifications.yml deleted file mode 100644 index d5f9f625..00000000 --- a/traps/rules/ietf/DISMAN-PING-MIB-pingNotifications.yml +++ /dev/null @@ -1,105 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DISMAN-PING-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ping_probe_failed_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.IETF.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.IETF.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.IETF.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.IETF.pingResultsMinRtt = this.trap.VarBinds.index(5).Value - root.out.IETF.pingResultsMaxRtt = this.trap.VarBinds.index(6).Value - root.out.IETF.pingResultsAverageRtt = this.trap.VarBinds.index(7).Value - root.out.IETF.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.IETF.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.IETF.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.IETF.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - - label: ping_probe_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingProbeFailed" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingProbeFailed" - root.out.event.category.name = "Ping Probe Status" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Probe Failed, see details ( from @NodeAlias )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ping_test_failed_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.IETF.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.IETF.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.IETF.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.IETF.pingResultsMinRtt = this.trap.VarBinds.index(5).Value - root.out.IETF.pingResultsMaxRtt = this.trap.VarBinds.index(6).Value - root.out.IETF.pingResultsAverageRtt = this.trap.VarBinds.index(7).Value - root.out.IETF.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.IETF.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.IETF.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.IETF.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - - label: ping_test_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingTestFailed" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingTestFailed" - root.out.event.category.name = "Ping Test Status" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Test Failed, see details ( from @NodeAlias )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ping_test_completed_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.IETF.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.IETF.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.IETF.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.IETF.pingResultsMinRtt = this.trap.VarBinds.index(5).Value - root.out.IETF.pingResultsMaxRtt = this.trap.VarBinds.index(6).Value - root.out.IETF.pingResultsAverageRtt = this.trap.VarBinds.index(7).Value - root.out.IETF.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.IETF.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.IETF.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.IETF.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - - label: ping_test_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingTestCompleted" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-PING-MIB-pingTestCompleted" - root.out.event.category.name = "Ping Test Status" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Test Complete, see details ( from @NodeAlias )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedNotifications.yml b/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedNotifications.yml new file mode 100644 index 00000000..4509b8aa --- /dev/null +++ b/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedNotifications.yml @@ -0,0 +1,221 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF DISMAN-SCHEDULE-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # schedActionFailure + # + # This notification is generated whenever the invocation of a scheduled action fails. + # + # schedLastFailure (INTEGER) - The most recent error that occurred during the invocation of a scheduled action. + # schedLastFailed (DateAndTime) - The date and time when the most recent failure occurred. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.63.1.2.1.17") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.63.1.2.1.18") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-DISMAN-SCHEDULE-MIB-schedNotifications-schedActionFailure" + root.out.event.id = "SNMPTRAP-DISMAN-SCHEDULE-MIB-schedNotifications-schedActionFailure" + root.out.event.category.name = "scheduled action state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.schedLastFailure = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.63.1.2.1.17") + root.out.ietf.schedLastFailed = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() + + root.out.object.name = "DISMAN-SCHEDULE-MIB::schedEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.63.1.2.1.17") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.TEMP.schedEntry = root.out.object.index.snmp_oid_extract_index("OctetString,OctetString") + root.out.ietf.schedOwner = root.TEMP.schedEntry.index(0).snmp_octet_display_hint("255t") + root.out.ietf.schedName = root.TEMP.schedEntry.index(1).snmp_octet_display_hint("255t") + root.out.object.label = "action: " + root.out.ietf.schedName + ", owner: " + root.out.ietf.schedOwner + + root.out.event.message = "scheduled action failed, " + root.out.ietf.schedLastFailure + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "scheduled action failed - UNEXPECTED VARBINDS for schedActionFailure trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-DISMAN-SCHEDULE-MIB-schedNotifications-unknown" + root.out.event.id = "SNMPTRAP-DISMAN-SCHEDULE-MIB-schedNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF DISMAN-SCHEDULE-MIB-schedNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedTraps.yml b/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedTraps.yml deleted file mode 100644 index cdf67a92..00000000 --- a/traps/rules/ietf/DISMAN-SCHEDULE-MIB-schedTraps.yml +++ /dev/null @@ -1,55 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DISMAN-SCHEDULE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sched_action_failure_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.schedLastFailure = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.63.1.2.1.17") - root.out.IETF.schedLastFailed = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - - label: sched_action_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-SCHEDULE-MIB-schedActionFailure" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-SCHEDULE-MIB-schedActionFailure" - root.out.event.category.name = "Scheduled Action Status" - root.out.object.name = "schedEntry." - - label: sched_action_failure_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: sched_action_failure_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Scheduled Action Successful ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: sched_action_failure_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Scheduled Action Failed, " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.63.1.2.1.17").string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - label: sched_action_failure_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DISMAN-SCRIPT-MIB-smTraps.yml b/traps/rules/ietf/DISMAN-SCRIPT-MIB-smTraps.yml deleted file mode 100644 index e82b7f42..00000000 --- a/traps/rules/ietf/DISMAN-SCRIPT-MIB-smTraps.yml +++ /dev/null @@ -1,178 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DISMAN-SCRIPT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sm_script_abort_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.smRunExitCode = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.64.1.4.2.1.7") - root.out.IETF.smRunEndTime = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.IETF.smRunError = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: sm_script_abort_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptAbort" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptAbort" - root.out.event.category.name = "Script Status" - root.out.object.name = "smRunEntry." - - label: sm_script_abort_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: sm_script_abort_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, No Error" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: sm_script_abort_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Halted" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: sm_script_abort_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Lifetime Exceeded" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: sm_script_abort_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, No Resources Left" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: sm_script_abort_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Language Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 6 - processors: - - label: sm_script_abort_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Runtime Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 7 - processors: - - label: sm_script_abort_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Invalid Argument" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 8 - processors: - - label: sm_script_abort_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Security Violation" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 9 - processors: - - label: sm_script_abort_rules_2_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Generic Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: sm_script_abort_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Script Aborted, Reason Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: sm_script_abort_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: sm_script_result_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.smRunResult = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: sm_script_result_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptResult" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptResult" - root.out.event.category.name = "Script Status" - root.out.object.name = "smRunEntry." - root.out.event.message = "Script Completed, Result: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: sm_script_exception_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.smRunError = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: sm_script_exception_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptException" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-SCRIPT-MIB-smScriptException" - root.out.event.category.name = "Script Status" - root.out.object.name = "smRunEntry." - root.out.event.message = "Script Exception, Error: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DISMAN-TRACEROUTE-MIB-traceRouteNotifications.yml b/traps/rules/ietf/DISMAN-TRACEROUTE-MIB-traceRouteNotifications.yml deleted file mode 100644 index 8730115f..00000000 --- a/traps/rules/ietf/DISMAN-TRACEROUTE-MIB-traceRouteNotifications.yml +++ /dev/null @@ -1,81 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DISMAN-TRACEROUTE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: trace_route_path_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.traceRouteCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.81.1.2.1.3") - root.out.IETF.traceRouteCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.traceRouteResultsIpTgtAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.81.1.3.1.4") - root.out.IETF.traceRouteResultsIpTgtAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: trace_route_path_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRoutePathChange" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRoutePathChange" - root.out.event.category.name = "Traceroute Path Status" - root.out.object.name = "traceRouteCtlEntry. ( on $Node )" - root.out.event.message = "Traceroute Path Changed ( from $Node )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: trace_route_test_failed_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.traceRouteCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.81.1.2.1.3") - root.out.IETF.traceRouteCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.traceRouteResultsIpTgtAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.81.1.3.1.4") - root.out.IETF.traceRouteResultsIpTgtAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: trace_route_test_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRouteTestFailed" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRouteTestFailed" - root.out.event.category.name = "Traceroute Path Status" - root.out.object.name = "traceRouteCtlEntry. ( on $Node )" - root.out.event.message = "Traceroute Path Not Determined ( from $Node )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: trace_route_test_completed_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.traceRouteCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.81.1.2.1.3") - root.out.IETF.traceRouteCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.traceRouteResultsIpTgtAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.81.1.3.1.4") - root.out.IETF.traceRouteResultsIpTgtAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: trace_route_test_completed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRouteTestCompleted" - root.out.event.id = "SNMPTRAP-IETF-DISMAN-TRACEROUTE-MIB-traceRouteTestCompleted" - root.out.event.category.name = "Traceroute Path Status" - root.out.object.name = "traceRouteCtlEntry. ( on $Node )" - root.out.event.message = "Traceroute Path Determined ( from $Node )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DLSW-MIB-dlswTraps.yml b/traps/rules/ietf/DLSW-MIB-dlswTraps.yml deleted file mode 100644 index 9fd322f7..00000000 --- a/traps/rules/ietf/DLSW-MIB-dlswTraps.yml +++ /dev/null @@ -1,142 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DLSW-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: dlsw_trap_tconn_partner_reject_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.IETF.dlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dlsw_trap_tconn_partner_reject_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnPartnerReject" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnPartnerReject" - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = "dlswTConnOperEntry." - root.out.event.message = "DLSw Transport Connection Rejected during Capabilities Exchanges ( Transport Domain: " + this.trap.VarBinds.index(0).Value.string() + ", Remote Transport Address: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: dlsw_trap_tconn_prot_violation_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.IETF.dlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dlsw_trap_tconn_prot_violation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnProtViolation" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnProtViolation" - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = "dlswTConnOperEntry." - root.out.event.message = "DLSw Transport Connection Protocol Violation ( Transport Domain: " + this.trap.VarBinds.index(0).Value.string() + ", Remote Transport Address: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: dlsw_trap_tconn_up_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.IETF.dlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dlsw_trap_tconn_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnUp" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnUp" - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = "dlswTConnOperEntry." - root.out.event.message = "DLSw Transport Connection Up ( Transport Domain: " + this.trap.VarBinds.index(0).Value.string() + ", Remote Transport Address: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: dlsw_trap_tconn_down_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswTConnOperTDomain = this.trap.VarBinds.index(0).Value - root.out.IETF.dlswTConnOperRemoteTAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: dlsw_trap_tconn_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnDown" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapTConnDown" - root.out.event.category.name = "DLSw Transport Connection Status" - root.out.object.name = "dlswTConnOperEntry." - root.out.event.message = "DLSw Transport Connection Down ( Transport Domain: " + this.trap.VarBinds.index(0).Value.string() + ", Remote Transport Address: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 5 - processors: - - label: dlsw_trap_circuit_up_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswCircuitS1Mac = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS1Sap = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS2Mac = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS2Sap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: dlsw_trap_circuit_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapCircuitUp" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapCircuitUp" - root.out.event.category.name = "DLSw Circuit Status" - root.out.object.name = "dlswCircuitEntry." - root.out.event.message = "DLSw Circuit Up ( S1 MAC: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ", S1 SAP: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", S2 MAC: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + ", S2 SAP: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: dlsw_trap_circuit_down_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.dlswCircuitS1Mac = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS1Sap = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS2Mac = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.dlswCircuitS2Sap = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: dlsw_trap_circuit_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapCircuitDown" - root.out.event.id = "SNMPTRAP-IETF-DLSW-MIB-dlswTrapCircuitDown" - root.out.event.category.name = "DLSw Circuit Status" - root.out.object.name = "dlswCircuitEntry." - root.out.event.message = "DLSw Circuit Down ( S1 MAC: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ", S1 SAP: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", S2 MAC: " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + ", S2 SAP: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmTraps.yml b/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmTraps.yml deleted file mode 100644 index 2be043dc..00000000 --- a/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmTraps.yml +++ /dev/null @@ -1,452 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DOCS-CABLE-DEVICE-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: docs_dev_cm_init_tlvunknown_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_init_tlvunknown_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: docs_dev_cm_dyn_serv_req_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dyn_serv_req_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: docs_dev_cm_dyn_serv_rsp_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dyn_serv_rsp_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: docs_dev_cm_dyn_serv_ack_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dyn_serv_ack_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: docs_dev_cm_bpi_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_bpi_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: docs_dev_cm_bpkmtrap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_bpkmtrap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: docs_dev_cm_dynamic_satrap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dynamic_satrap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: docs_dev_cm_dhcpfail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsDevServerDhcp = this.trap.VarBinds.index(5).Value - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dhcpfail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: docs_dev_cm_sw_upgrade_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsDevSwFilename = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.IETF.docsDevSwServer = this.trap.VarBinds.index(6).Value - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_sw_upgrade_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: docs_dev_cm_sw_upgrade_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsDevSwFilename = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.IETF.docsDevSwServer = this.trap.VarBinds.index(6).Value - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_sw_upgrade_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: docs_dev_cm_sw_upgrade_success_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsDevSwFilename = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.IETF.docsDevSwServer = this.trap.VarBinds.index(6).Value - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_sw_upgrade_success_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: docs_dev_cm_sw_upgrade_cvcfail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_sw_upgrade_cvcfail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: docs_dev_cm_todfail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsDevServerTime = this.trap.VarBinds.index(5).Value - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_todfail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: docs_dev_cm_dccreq_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dccreq_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: docs_dev_cm_dccrsp_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dccrsp_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: docs_dev_cm_dccack_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.docsIfCmCmtsAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmStatusDocsisOperMode = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.15") - root.out.IETF.docsIfCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.2.2.1.16") - - label: docs_dev_cm_dccack_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmtsTraps.yml b/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmtsTraps.yml deleted file mode 100644 index ecfc9eaf..00000000 --- a/traps/rules/ietf/DOCS-CABLE-DEVICE-TRAP-MIB-docsDevCmtsTraps.yml +++ /dev/null @@ -1,336 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "DOCS-CABLE-DEVICE-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: docs_dev_cmts_init_reg_req_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_init_reg_req_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: docs_dev_cmts_init_reg_rsp_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_init_reg_rsp_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: docs_dev_cmts_init_reg_ack_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_init_reg_ack_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: docs_dev_cmts_dyn_serv_req_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dyn_serv_req_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: docs_dev_cmts_dyn_serv_rsp_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dyn_serv_rsp_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: docs_dev_cmts_dyn_serv_ack_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dyn_serv_ack_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: docs_dev_cmts_bpi_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_bpi_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: docs_dev_cmts_bpkmtrap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_bpkmtrap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: docs_dev_cmts_dynamic_satrap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dynamic_satrap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: docs_dev_cmts_dccreq_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dccreq_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: docs_dev_cmts_dccrsp_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dccrsp_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: docs_dev_cmts_dccack_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.docsDevEvLevel = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.69.1.5.8.1.5") - root.out.IETF.docsDevEvId = this.trap.VarBinds.index(1).Value - root.out.IETF.docsDevEvText = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.IETF.docsIfCmtsCmStatusMacAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.IETF.ifPhysAddress = this.trap.VarBinds.index(4).Value.snmp_mac_address() - root.out.IETF.docsIfCmtsCmStatusDocsisRegMode = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.18") - root.out.IETF.docsIfDocsisBaseCapability = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.1.5") - root.out.IETF.docsIfCmtsCmStatusModulationType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.2.1.10.127.1.3.3.1.19") - - label: docs_dev_cmts_dccack_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/ENERGY-OBJECT-MIB-energyObjectMib.yml b/traps/rules/ietf/ENERGY-OBJECT-MIB-energyObjectMib.yml new file mode 100644 index 00000000..2476e46d --- /dev/null +++ b/traps/rules/ietf/ENERGY-OBJECT-MIB-energyObjectMib.yml @@ -0,0 +1,570 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF ENERGY-OBJECT-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # eoPowerStateChange + # + # The SNMP entity generates the eoPowerStateChange when the values of eoPowerAdminState or eoPowerOperState, in the + # context of the Power State Set, have changed for the Energy Object represented by the entPhysicalIndex. + # + # eoPowerAdminState (INTEGER) - This object specifies the desired Power State and the Power State Set for the Energy Object. + # eoPowerOperState (INTEGER) - This object specifies the current operational Power State and the Power State Set for the Energy Object. + # eoPowerStateEnterReason (OwnerString) - This string object describes the reason for the eoPowerAdminState transition. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.229.1.2.1.8") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.229.1.2.1.9") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.229.1.2.1.10") { + meta varbinds_ok = true + }}}} + + root.out.event.class.name = "SNMPTRAP-ENERGY-OBJECT-MIB-energyObjectMib-eoPowerStateChange" + root.out.event.id = "SNMPTRAP-ENERGY-OBJECT-MIB-energyObjectMib-eoPowerStateChange" + root.out.event.category.name = "power state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta eoPowerOperState = this.trap.VarBinds.index(1).Value + + root.out.ietf.eoPowerAdminState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.229.1.2.1.8") + root.out.ietf.eoPowerOperState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.229.1.2.1.9") + root.out.ietf.eoPowerStateEnterReason = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "ENTITY-MIB::entPhysicalEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.229.1.2.1.8") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "entity: entPhysicalIndex " + root.out.object.index + + - switch: + - check: metadata("eoPowerOperState") == 256 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-ieee1621" + root.out.event.message = "power unknown (IEEE 1621), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 257 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-ieee1621Off" + root.out.event.message = "power off (IEEE 1621), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 258 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-ieee1621Sleep" + root.out.event.message = "power sleep (IEEE 1621), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 259 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-ieee1621On" + root.out.event.message = "power on (IEEE 1621), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("eoPowerOperState") == 512 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtf" + root.out.event.message = "power unknown (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 513 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfOn" + root.out.event.message = "power on (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("eoPowerOperState") == 514 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfSleepLight" + root.out.event.message = "power sleep-light (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 515 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfSleepDeep" + root.out.event.message = "power sleep-deep (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 516 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfOffHard" + root.out.event.message = "power off-hard (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 517 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfOffSoft" + root.out.event.message = "power off-soft (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 518 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfHibernate" + root.out.event.message = "power hibernate (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 519 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfPowerOffSoft" + root.out.event.message = "power cycle off-soft (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 520 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfPowerOffHard" + root.out.event.message = "power cycle off-hard (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 521 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfMasterBusReset" + root.out.event.message = "power master bus reset (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 522 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfDiagnosticInterrapt" + root.out.event.message = "power diagnostic interrupt (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 523 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfOffSoftGraceful" + root.out.event.message = "power off-soft graceful (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 524 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfOffHardGraceful" + root.out.event.message = "power off-hard graceful (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 525 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfMasterBusResetGraceful" + root.out.event.message = "power master bus reset graceful (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 526 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfPowerCycleOffSoftGraceful" + root.out.event.message = "power cycle off-soft graceful (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 527 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dmtfPowerCycleHardGraceful" + root.out.event.message = "power cycle off-hard graceful (DMTF), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1024 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-eman" + root.out.event.message = "power unknown (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1025 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanMechOff" + root.out.event.message = "power mechoff (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1026 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanSoftOff" + root.out.event.message = "power softoff (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1027 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanHibernate" + root.out.event.message = "power hibernate (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1028 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanSleep" + root.out.event.message = "power sleep (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1029 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanStandby" + root.out.event.message = "power standby (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("eoPowerOperState") == 1030 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanReady" + root.out.event.message = "power ready (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("eoPowerOperState") == 1031 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanLowMinus" + root.out.event.message = "power low minus (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1032 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanLow" + root.out.event.message = "power low (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1033 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanMediumMinus" + root.out.event.message = "power medium minus (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1034 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanMedium" + root.out.event.message = "power medium (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1035 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanHighMinus" + root.out.event.message = "power high minus (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("eoPowerOperState") == 1036 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-emanHigh" + root.out.event.message = "power high (EMAN), " + root.out.ietf.eoPowerStateEnterReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "power state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "power state unknown - UNEXPECTED VARBINDS for eoPowerStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ENERGY-OBJECT-MIB-energyObjectMib-unknown" + root.out.event.id = "SNMPTRAP-ENERGY-OBJECT-MIB-energyObjectMib-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF ENERGY-OBJECT-MIB-energyObjectMib" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/ENTITY-MIB-entityMIBTrapPrefix.yml b/traps/rules/ietf/ENTITY-MIB-entityMIBTrapPrefix.yml deleted file mode 100644 index 4dd149c1..00000000 --- a/traps/rules/ietf/ENTITY-MIB-entityMIBTrapPrefix.yml +++ /dev/null @@ -1,26 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ENTITY-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ent_config_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ENTITY-MIB-entConfigChange" - root.out.event.id = "SNMPTRAP-IETF-ENTITY-MIB-entConfigChange" - root.out.event.category.name = "Entity Config Change" - root.out.object.name = "" - root.out.event.message = "Entity Configuration Changed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/ENTITY-MIB-entityMIBTraps.yml b/traps/rules/ietf/ENTITY-MIB-entityMIBTraps.yml new file mode 100644 index 00000000..78f05eef --- /dev/null +++ b/traps/rules/ietf/ENTITY-MIB-entityMIBTraps.yml @@ -0,0 +1,169 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF ENTITY-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # entConfigChange + # + # An entConfigChange notification is generated when the value of entLastChangeTime changes. It can be utilized by an + # NMS to trigger logical/physical entity table maintenance polls. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() == 0 { + meta varbinds_ok = true + } + + root.out.event.class.name = "SNMPTRAP-ENTITY-MIB-entityMIBTraps-entConfigChange" + root.out.event.id = "SNMPTRAP-ENTITY-MIB-entityMIBTraps-entConfigChange" + root.out.event.category.name = "entity configuration change" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.object.name = "ENTITY-MIB::entityMIBObjects" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.message = "entity configuration changed" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "entity configuration changed - UNEXPECTED VARBINDS for entConfigChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ENTITY-MIB-entityMIBTraps-unknown" + root.out.event.id = "SNMPTRAP-ENTITY-MIB-entityMIBTraps-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF ENTITY-MIB-entityMIBTraps" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/FCMGMT-MIB-fcmgmt.yml b/traps/rules/ietf/FCMGMT-MIB-fcmgmt.yml deleted file mode 100644 index 3aa55d2c..00000000 --- a/traps/rules/ietf/FCMGMT-MIB-fcmgmt.yml +++ /dev/null @@ -1,701 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "FCMGMT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: conn_unit_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.connUnitStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.94.1.6.1.6") - root.out.IETF.connUnitState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.94.1.6.1.5") - - label: conn_unit_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Status" - root.out.object.name = "connUnitEntry." - - label: conn_unit_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, Offline ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, State Unknown ( " + root.out.object.name + " )" - - label: conn_unit_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_status_change_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, Offline ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, State Unknown ( " + root.out.object.name + " )" - - label: conn_unit_status_change_rules_4 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_status_change_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_status_change_rules_4_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, Offline ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_status_change_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, State Unknown ( " + root.out.object.name + " )" - - label: conn_unit_status_change_rules_5 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_status_change_rules_5_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_status_change_rules_5_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, Offline ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_status_change_rules_5_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, State Unknown ( " + root.out.object.name + " )" - - label: conn_unit_status_change_rules_6 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_status_change_rules_6_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_status_change_rules_6_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, Offline ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_status_change_rules_6_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, State Unknown ( " + root.out.object.name + " )" - - label: conn_unit_status_change_rules_7 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: conn_unit_deleted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.connUnitId = this.trap.VarBinds.index(0).Value - - label: conn_unit_deleted_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit" - root.out.object.name = "connUnitEntry." - root.out.event.message = "Connectivity Unit Deleted ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: conn_unit_event_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.connUnitEventId = this.trap.VarBinds.index(0).Value - root.out.IETF.connUnitEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.94.1.11.1.7") - root.out.IETF.connUnitEventObject = this.trap.VarBinds.index(2).Value - root.out.IETF.connUnitEventDescr = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: conn_unit_event_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Event ( FW-ABOVE/BELOW )" - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string().re_find_all_submatch("FW-ABOVE (.*) \\(.*\\) is").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit Event ( FW-ABOVE/BELOW )" - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string().re_find_all_submatch("FW-BELOW (.*) \\(.*\\) is").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit Event ( FW-ABOVE1/BELOW1 )" - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string().re_find_all_submatch("FW-ABOVE1 (.*) \\(.*\\) is").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit Event ( FW-ABOVE1/BELOW1 )" - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string().re_find_all_submatch("FW-BELOW1 (.*) \\(.*\\) is").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit Event ( FW-CHANGED )" - root.out.object.name = this.trap.VarBinds.index(3).Value.snmp_display_string().string().re_find_all_submatch("FW-CHANGED (.*) \\(.*\\) value").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit Event ( FW-STATUS_SWITCH )" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.category.name = "Conn. Unit " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.94.1.11.1.7").string() + " Event" - root.out.object.name = "connUnitEventEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Connectivity Unit " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.94.1.11.1.7").string() + " Event, " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: conn_unit_sensor_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.connUnitSensorStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.94.1.8.1.4") - - label: conn_unit_sensor_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Sensor Status" - root.out.object.name = "connUnitSensorEntry." - - label: conn_unit_sensor_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: conn_unit_sensor_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Status Unknown ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: conn_unit_sensor_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Status: Other ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: conn_unit_sensor_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor OK ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: conn_unit_sensor_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Warning ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: conn_unit_sensor_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Failed ( " + root.out.object.name + " )" - - label: conn_unit_sensor_status_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 6 - processors: - - label: conn_unit_port_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.connUnitPortStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.94.1.10.1.7") - root.out.IETF.connUnitPortState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.94.1.10.1.6") - - label: conn_unit_port_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Port Status" - root.out.object.name = "connUnitPortEntry." - - label: conn_unit_port_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_3_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_3_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_4 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_4_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_4_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_4_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_5 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_5_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_5_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_5_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_5_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_5_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_6 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_6_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_6_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_6_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_6_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_6_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_7 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_7_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_7_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_7_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_7_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_7_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_8 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_8_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_8_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_8_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_8_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_8_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_9 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_9_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_9_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_9_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_9_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_9_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_10 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_10_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_10_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_10_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_10_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_10_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_11 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: conn_unit_port_status_change_rules_11_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: conn_unit_port_status_change_rules_11_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: conn_unit_port_status_change_rules_11_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: conn_unit_port_status_change_rules_11_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: conn_unit_port_status_change_rules_11_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Unknown ( " + root.out.object.name + " )" - - label: conn_unit_port_status_change_rules_12 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/FIBRE-CHANNEL-MGMT-MIB-fcMgmtNotifications.yml b/traps/rules/ietf/FIBRE-CHANNEL-MGMT-MIB-fcMgmtNotifications.yml deleted file mode 100644 index 97c6ece7..00000000 --- a/traps/rules/ietf/FIBRE-CHANNEL-MGMT-MIB-fcMgmtNotifications.yml +++ /dev/null @@ -1,683 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "FIBRE-CHANNEL-MGMT-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: fc_conn_unit_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.fcConnUnitStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.3.1.7") - root.out.IETF.fcConnUnitState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.3.1.6") - - label: fc_conn_unit_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Status" - root.out.object.name = "fcConnUnitEntry." - - label: fc_conn_unit_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, Offline ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Unused, State Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_status_change_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, Offline ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit OK, State Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_status_change_rules_4 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_status_change_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_status_change_rules_4_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, Offline ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_status_change_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Warning, State Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_status_change_rules_5 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_status_change_rules_5_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_status_change_rules_5_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, Offline ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_status_change_rules_5_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Failed, State Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_status_change_rules_6 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_status_change_rules_6_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_status_change_rules_6_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, Offline ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_status_change_rules_6_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Status Unknown, State Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_status_change_rules_7 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: fc_conn_unit_deleted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.fcConnUnitGlobalId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: fc_conn_unit_deleted_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit" - root.out.object.name = "fcConnUnitEntry." - root.out.event.message = "Connectivity Unit Deleted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: fc_conn_unit_event_trap_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.fcConnUnitGlobalId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.IETF.fcConnUnitEventType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.7.1.5") - root.out.IETF.fcConnUnitEventObject = this.trap.VarBinds.index(2).Value - root.out.IETF.fcConnUnitEventDescr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: fc_conn_unit_event_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Event" - root.out.object.name = "fcConnUnitEventEntry." + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - root.out.event.message = "Connectivity Unit " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.7.1.5").string() + " Event, " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: fc_conn_unit_sensor_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.fcConnUnitSensorStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.5.1.3") - - label: fc_conn_unit_sensor_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Sensor Status" - root.out.object.name = "fcConnUnitSensorEntry." - - label: fc_conn_unit_sensor_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: fc_conn_unit_sensor_status_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Status Unknown ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: fc_conn_unit_sensor_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Status: Other ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: fc_conn_unit_sensor_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor OK ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: fc_conn_unit_sensor_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Warning ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: fc_conn_unit_sensor_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Sensor Failed ( " + root.out.object.name + " )" - - label: fc_conn_unit_sensor_status_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: fc_conn_unit_port_status_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.fcConnUnitPortStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.6.1.6") - root.out.IETF.fcConnUnitPortState = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.8888.1.1.6.1.5") - - label: fc_conn_unit_port_status_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Conn. Unit Port Status" - root.out.object.name = "fcConnUnitPortEntry." - - label: fc_conn_unit_port_status_change_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Unused, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_3_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_3_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Ready, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_4 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_4_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_4_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_4_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_4_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_4_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Warning, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_5 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_5_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_5_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_5_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_5_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_5_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Failure, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_6 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_6_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_6_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_6_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_6_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_6_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Not Participating, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_7 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_7_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_7_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_7_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_7_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_7_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Initializing, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_8 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_8_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_8_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_8_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_8_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_8_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Bypassed, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_9 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_9_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_9_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_9_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_9_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_9_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Offline, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_10 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_10_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_10_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_10_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_10_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_10_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Other, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_11 - switch: - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: fc_conn_unit_port_status_change_rules_11_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Online ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: fc_conn_unit_port_status_change_rules_11_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Offline ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: fc_conn_unit_port_status_change_rules_11_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Bypassed ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(1).Value == 5 - processors: - - label: fc_conn_unit_port_status_change_rules_11_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Diagnostics ( " + root.out.object.name + " )" - - processors: - - label: fc_conn_unit_port_status_change_rules_11_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Connectivity Unit Port Status: Unknown, Unknown ( " + root.out.object.name + " )" - - label: fc_conn_unit_port_status_change_rules_12 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/GMPLS-TE-STD-MIB-gmplsTeStdMIB.yml b/traps/rules/ietf/GMPLS-TE-STD-MIB-gmplsTeStdMIB.yml new file mode 100644 index 00000000..ec0a1ffe --- /dev/null +++ b/traps/rules/ietf/GMPLS-TE-STD-MIB-gmplsTeStdMIB.yml @@ -0,0 +1,389 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF GMPLS-TE-STD-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # gmplsTunnelDown + # + # This notification is generated when an mplsTunnelOperStatus object for a tunnel in the gmplsTunnelTable is about + # to enter the down state from some other state. + # + # mplsTunnelAdminStatus (INTEGER) - Indicates the desired operational status of this tunnel. + # mplsTunnelOperStatus (INTEGER) - Indicates the actual operational status of this tunnel, which is typically but + # not limited to, a function of the state of individual segments of this tunnel. + # gmplsTunnelErrorLastErrorType (INTEGER) - The nature of the last error. + # gmplsTunnelErrorReporterType (InetAddressType) - The address type of the error reported. + # gmplsTunnelErrorReporter (InetAddress) - The address of the node reporting the last error, or the address of + # the resource (such as an interface) associated with the error. + # gmplsTunnelErrorCode (Unsigned32) - The primary error code associated with the last error. + # gmplsTunnelErrorSubcode (Unsigned32) - The secondary error code associated with the last error and the protocol + # used to signal this tunnel. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 6 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.166.3.2.2.1.34") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.166.3.2.2.1.35") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.10.166.13.2.6.1.1") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.10.166.13.2.6.1.3") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.2.1.10.166.13.2.6.1.4") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.2.1.10.166.13.2.6.1.5") { + if this.trap.VarBinds.index(6).OID.has_prefix(".1.3.6.1.2.1.10.166.13.2.6.1.6") { + meta varbinds_ok = true + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-GMPLS-TE-STD-MIB-gmplsTeStdMIB-gmplsTunnelDown" + root.out.event.id = "SNMPTRAP-GMPLS-TE-STD-MIB-gmplsTeStdMIB-gmplsTunnelDown" + root.out.event.category.name = "GMPLS tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value + + root.out.ietf.mplsTunnelAdminStatus = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.34") + root.out.ietf.mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.35") + root.out.ietf.gmplsTunnelErrorLastErrorType = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.166.13.2.6.1.1") + root.out.ietf.gmplsTunnelErrorReporter = this.trap.VarBinds.index(4).Value.snmp_inet_address(this.trap.VarBinds.index(3).Value) + root.out.ietf.gmplsTunnelErrorCode = this.trap.VarBinds.index(5).Value.string() + root.out.ietf.gmplsTunnelErrorSubcode = this.trap.VarBinds.index(6).Value.string() + + root.out.object.name = "MPLS-TE-STD-MIB::mplsTunnelEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.166.3.2.2.1.34") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.TEMP.mplsTunnelEntry = root.out.object.index.snmp_oid_extract_index("Unsigned32,Unsigned32,Unsigned32,Unsigned32") + root.out.ietf.mplsTunnelIndex = root.TEMP.mplsTunnelEntry.index(0).string() + root.out.ietf.mplsTunnelInstance = root.TEMP.mplsTunnelEntry.index(1).string() + root.out.ietf.mplsTunnelIngressLSRId = root.TEMP.mplsTunnelEntry.index(2).string() + root.out.ietf.mplsTunnelEgressLSRId = root.TEMP.mplsTunnelEntry.index(3).string() + + root.out.object.label = "tunnel set: " + root.out.ietf.mplsTunnelIndex + ", tunnel: " + root.out.ietf.mplsTunnelInstance + ", ingress LSR: " + root.out.ietf.mplsTunnelIngressLSRId + ", egress LSR: " + root.out.ietf.mplsTunnelEgressLSRId + ", reporter: " + root.out.ietf.gmplsTunnelErrorReporter + + - switch: + - check: metadata("mplsTunnelOperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-up" + root.out.event.message = "GMPLS tunnel up" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("mplsTunnelOperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "GMPLS tunnel down, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("mplsTunnelOperStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-testing" + root.out.event.message = "GMPLS tunnel testing, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("mplsTunnelOperStatus") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-dormant" + root.out.event.message = "GMPLS tunnel dormant, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("mplsTunnelOperStatus") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notPresent" + root.out.event.message = "GMPLS tunnel not present, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("mplsTunnelOperStatus") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-lowerLayerDown" + root.out.event.message = "GMPLS tunnel lower-layer down, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "GMPLS tunnel state unknown, " + root.out.ietf.gmplsTunnelErrorLastErrorType + " - code " + root.out.ietf.gmplsTunnelErrorCode + " subcode " + root.out.ietf.gmplsTunnelErrorSubcode + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + }}}}}}}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "GMPLS tunnel down - UNEXPECTED VARBINDS for gmplsTunnelDown trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + if this.trap.VarBinds.length() > 12 { + root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID + root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() + } + if this.trap.VarBinds.length() > 13 { + root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID + root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() + } + if this.trap.VarBinds.length() > 14 { + root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID + root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + } + if this.trap.VarBinds.length() > 15 { + root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID + root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + } + }}}}}}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-GMPLS-TE-STD-MIB-gmplsTeStdMIB-unknown" + root.out.event.id = "SNMPTRAP-GMPLS-TE-STD-MIB-gmplsTeStdMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF GMPLS-TE-STD-MIB-gmplsTeStdMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/HC-ALARM-MIB-hcAlarmNotifPrefix.yml b/traps/rules/ietf/HC-ALARM-MIB-hcAlarmNotifPrefix.yml deleted file mode 100644 index 157fc75c..00000000 --- a/traps/rules/ietf/HC-ALARM-MIB-hcAlarmNotifPrefix.yml +++ /dev/null @@ -1,78 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "HC-ALARM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: hc_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hcAlarmVariable = this.trap.VarBinds.index(0).Value - root.out.IETF.hcAlarmSampleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.4") - root.out.IETF.hcAlarmAbsValue = this.trap.VarBinds.index(2).Value - root.out.IETF.hcAlarmValueStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.6") - root.out.IETF.hcAlarmRisingThreshAbsValueLo = this.trap.VarBinds.index(4).Value - root.out.IETF.hcAlarmRisingThreshAbsValueHi = this.trap.VarBinds.index(5).Value - root.out.IETF.hcAlarmRisingThresholdValStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.10") - root.out.IETF.hcAlarmRisingEventIndex = this.trap.VarBinds.index(7).Value - - label: hc_rising_alarm_rules_1 - mapping: | - #!blobl - root = this - - label: hc_rising_alarm_rules_3 - mapping: | - #!blobl - root = this - - label: hc_rising_alarm_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HC-ALARM-MIB-hcRisingAlarm" - root.out.event.id = "SNMPTRAP-IETF-HC-ALARM-MIB-hcRisingAlarm" - root.out.event.category.name = "RMON HC Alarm" - root.out.object.name = "hcAlarmEntry.2" - root.out.event.message = "RMON HC Alarm: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.4").string() + " of " + this.trap.VarBinds.index(0).Value.string() + ", " + this.trap.VarBinds.index(2).Value.string() + ", Crossed Threshold ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: hc_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hcAlarmVariable = this.trap.VarBinds.index(0).Value - root.out.IETF.hcAlarmSampleType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.4") - root.out.IETF.hcAlarmAbsValue = this.trap.VarBinds.index(2).Value - root.out.IETF.hcAlarmValueStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.6") - root.out.IETF.hcAlarmFallingThreshAbsValueLo = this.trap.VarBinds.index(4).Value - root.out.IETF.hcAlarmFallingThreshAbsValueHi = this.trap.VarBinds.index(5).Value - root.out.IETF.hcAlarmFallingThresholdValStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.13") - root.out.IETF.hcAlarmFallingEventIndex = this.trap.VarBinds.index(7).Value - - label: hc_falling_alarm_rules_1 - mapping: | - #!blobl - root = this - - label: hc_falling_alarm_rules_3 - mapping: | - #!blobl - root = this - - label: hc_falling_alarm_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HC-ALARM-MIB-hcFallingAlarm" - root.out.event.id = "SNMPTRAP-IETF-HC-ALARM-MIB-hcFallingAlarm" - root.out.event.category.name = "RMON HC Alarm" - root.out.object.name = "hcAlarmEntry.2" - root.out.event.message = "RMON HC Alarm Cleared: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.16.29.1.1.1.1.4").string() + " of " + this.trap.VarBinds.index(0).Value.string() + ", " + this.trap.VarBinds.index(2).Value.string() + ", Crossed Threshold ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/HDSL2-SHDSL-LINE-MIB-hdsl2ShdslNotifications.yml b/traps/rules/ietf/HDSL2-SHDSL-LINE-MIB-hdsl2ShdslNotifications.yml deleted file mode 100644 index 49c5a6b7..00000000 --- a/traps/rules/ietf/HDSL2-SHDSL-LINE-MIB-hdsl2ShdslNotifications.yml +++ /dev/null @@ -1,357 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "HDSL2-SHDSL-LINE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: hdsl2shdsl_loop_atten_crossing_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrAtn = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshLoopAttenuation = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_loop_atten_crossing_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLoopAttenCrossing" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLoopAttenCrossing" - root.out.event.category.name = "HDSL2/SHDSL Loop Attenuation Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint Loop Attenuation, " + this.trap.VarBinds.index(0).Value.string() + "dB, Exceeded " + this.trap.VarBinds.index(1).Value.string() + "dB ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: hdsl2shdsl_snrmargin_crossing_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrSnrMgn = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshSNRMargin = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_snrmargin_crossing_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslSNRMarginCrossing" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslSNRMarginCrossing" - root.out.event.category.name = "HDSL2/SHDSL SNR Margin Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint SNR Margin, " + this.trap.VarBinds.index(0).Value.string() + "dB, Exceeded " + this.trap.VarBinds.index(1).Value.string() + "dB ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: hdsl2shdsl_perf_esthresh_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurr15MinES = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshES = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_perf_esthresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfESThresh" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfESThresh" - root.out.event.category.name = "HDSL2/SHDSL ES 15 Min. Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint Errored Seconds, " + this.trap.VarBinds.index(0).Value.string() + " secs., Exceeded " + this.trap.VarBinds.index(1).Value.string() + " secs. ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: hdsl2shdsl_perf_sesthresh_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurr15MinSES = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshSES = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_perf_sesthresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfSESThresh" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfSESThresh" - root.out.event.category.name = "HDSL2/SHDSL SES 15 Min. Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint Severely Errored Seconds, " + this.trap.VarBinds.index(0).Value.string() + " secs., Exceeded " + this.trap.VarBinds.index(1).Value.string() + " secs. ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: hdsl2shdsl_perf_crcanomalies_thresh_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurr15MinCRCanomalies = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshCRCanomalies = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_perf_crcanomalies_thresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfCRCanomaliesThresh" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfCRCanomaliesThresh" - root.out.event.category.name = "HDSL2/SHDSL CRC 15 Min. Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint CRC Anomalies, " + this.trap.VarBinds.index(0).Value.string() + ", Exceeded " + this.trap.VarBinds.index(1).Value.string() + " ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 6 - processors: - - label: hdsl2shdsl_perf_loswsthresh_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurr15MinLOSWS = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshLOSWS = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_perf_loswsthresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfLOSWSThresh" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfLOSWSThresh" - root.out.event.category.name = "HDSL2/SHDSL LOSW Secs. 15 Min. Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint Loss of Sync Word Seconds, " + this.trap.VarBinds.index(0).Value.string() + " secs., Exceeded " + this.trap.VarBinds.index(1).Value.string() + " secs. ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: hdsl2shdsl_perf_uasthresh_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurr15MinUAS = this.trap.VarBinds.index(0).Value - root.out.IETF.hdsl2ShdslEndpointThreshUAS = this.trap.VarBinds.index(1).Value - - label: hdsl2shdsl_perf_uasthresh_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfUASThresh" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslPerfUASThresh" - root.out.event.category.name = "HDSL2/SHDSL Unavailable Secs. 15 Min. Threshold" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Segment Endpoint Unavailable Seconds, " + this.trap.VarBinds.index(0).Value.string() + " secs., Exceeded " + this.trap.VarBinds.index(1).Value.string() + " secs. ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 8 - processors: - - label: hdsl2shdsl_span_invalid_num_repeaters_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslSpanConfNumRepeaters = this.trap.VarBinds.index(0).Value - - label: hdsl2shdsl_span_invalid_num_repeaters_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslSpanInvalidNumRepeaters" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslSpanInvalidNumRepeaters" - root.out.event.category.name = "HDSL2/SHDSL Repeater/Regenerator Configuration Mismatch" - root.out.object.name = "hdsl2ShdslSpanConfEntry.48" - root.out.event.message = "HDSL2/SHDSL Configured Repeater/Regenerator Units Differs from EOC Discovery ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 9 - processors: - - label: hdsl2shdsl_loopback_failure_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslMaintLoopbackConfig = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.8.1.1") - - label: hdsl2shdsl_loopback_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLoopbackFailure" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLoopbackFailure" - root.out.event.category.name = "HDSL2/SHDSL Loopback Status" - root.out.object.name = "hdsl2ShdslEndpointMaintEntry.1.10.48" - root.out.event.message = "HDSL2/SHDSL Loopback Failure ( Interface: ifEntry.1, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 10 - processors: - - label: hdsl2shdslpower_backoff_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdslpower_backoff_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslpowerBackoff" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslpowerBackoff" - root.out.event.category.name = "HDSL2/SHDSL Power Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Power Backoff ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 11 - processors: - - label: hdsl2shdsldevice_fault_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdsldevice_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdsldeviceFault" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdsldeviceFault" - root.out.event.category.name = "HDSL2/SHDSL Device Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Device Fault ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 12 - processors: - - label: hdsl2shdsldc_continuity_fault_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdsldc_continuity_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdsldcContinuityFault" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdsldcContinuityFault" - root.out.event.category.name = "HDSL2/SHDSL DC Continuity Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL DC Continuity Fault ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 13 - processors: - - label: hdsl2shdslconfig_init_failure_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdslconfig_init_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslconfigInitFailure" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslconfigInitFailure" - root.out.event.category.name = "HDSL2/SHDSL Configuration Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Endpoint Initialization Failed, Configuration Not Supported ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 14 - processors: - - label: hdsl2shdslprotocol_init_failure_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdslprotocol_init_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslprotocolInitFailure" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslprotocolInitFailure" - root.out.event.category.name = "HDSL2/SHDSL Protocol Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Endpoint Initialization Failed, Protocol Incompatible ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 15 - processors: - - label: hdsl2shdslno_neighbor_present_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslEndpointCurrStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.48.1.5.1.3") - - label: hdsl2shdslno_neighbor_present_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslnoNeighborPresent" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslnoNeighborPresent" - root.out.event.category.name = "HDSL2/SHDSL Neighbor Status" - root.out.object.name = "hdsl2ShdslEndpointCurrEntry.2.1.10.48" - root.out.event.message = "HDSL2/SHDSL Neighbor Not Present ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId), Side: lookup($hdsl2ShdslEndpointSide_Raw, Hdsl2ShdslUnitSide), Pair: lookup($hdsl2ShdslEndpointWirePair_Raw, Hdsl2ShdslWirePair) )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 16 - processors: - - label: hdsl2shdsl_local_power_loss_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.hdsl2ShdslInvVendorID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: hdsl2shdsl_local_power_loss_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLocalPowerLoss" - root.out.event.id = "SNMPTRAP-IETF-HDSL2-SHDSL-LINE-MIB-hdsl2ShdslLocalPowerLoss" - root.out.event.category.name = "HDSL2/SHDSL Local Power Status" - root.out.object.name = "hdsl2ShdslInventoryEntry.2.1" - root.out.event.message = "HDSL2/SHDSL Local Power Loss, Impending Unit Failure ( Interface: ifEntry.2, Unit ID: lookup($hdsl2ShdslInvIndex_Raw, Hdsl2ShdslUnitId) )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/ISDN-MIB-isdnMibTrapPrefix.yml b/traps/rules/ietf/ISDN-MIB-isdnMibTrapPrefix.yml new file mode 100644 index 00000000..21e09bd6 --- /dev/null +++ b/traps/rules/ietf/ISDN-MIB-isdnMibTrapPrefix.yml @@ -0,0 +1,335 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF ISDN-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # isdnMibCallInformation + # + # This trap/inform is sent to the manager under the following condidions: + # - on incoming calls for each call which is rejected for policy reasons (e.g. unknown neighbor or access + # violation) + # - on outgoing calls whenever a call attempt is determined to have ultimately failed. In the event that call + # retry is active, then this will be after all retry attempts have failed. + # - whenever a call connects. In this case, the object isdnBearerCallConnectTime should be included in the trap. + # + # ifIndex (Integer32) - A unique value, greater than zero, for each interface. + # isdnBearerOperStatus (INTEGER) - The current call control state for this port. + # isdnBearerPeerAddress (DisplayString) - The ISDN address the current or last call is or was connected to. + # isdnBearerPeerSubAddress (DisplayString) - The ISDN subaddress the current or last call is or was connected to. + # isdnBearerCallSetupTime (TimeTicks) - The value of sysUpTime when the ISDN setup message for the current or last call was sent or received. + # isdnBearerInfoType (INTEGER) - The Information Transfer Capability for the current or last call. + # isdnBearerCallOrigin (INTEGER) - The call origin for the current or last call. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 6 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.2.2.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.4") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.5") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.9") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.7") { + if this.trap.VarBinds.index(6).OID.has_prefix(".1.3.6.1.2.1.10.20.1.2.1.1.6") { + meta varbinds_ok = true + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ISDN-MIB-isdnMibTrapPrefix-isdnMibCallInformation" + root.out.event.id = "SNMPTRAP-ISDN-MIB-isdnMibTrapPrefix-isdnMibCallInformation" + root.out.event.category.name = "ISDN call state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta isdnBearerOperStatus = this.trap.VarBinds.index(1).Value + + root.out.ietf.ifIndex = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.isdnBearerOperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.2") + root.out.ietf.isdnBearerPeerAddress = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.ietf.isdnBearerPeerSubAddress = this.trap.VarBinds.index(3).Value.snmp_octet_display_hint("255t") + root.out.ietf.isdnBearerCallSetupTime = this.trap.VarBinds.index(4).Value + root.out.ietf.isdnBearerInfoType = this.trap.VarBinds.index(5).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.7") + root.out.ietf.isdnBearerCallOrigin = this.trap.VarBinds.index(6).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.6") + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.20.1.2.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "interface: ifIndex " + root.out.ietf.ifIndex + ", peer address: " + root.out.ietf.isdnBearerPeerAddress + if root.out.ietf.isdnBearerPeerSubAddress.length() > 0 { + root.out.object.label = root.out.object.label + ", peer sub-address: " + root.out.ietf.isdnBearerPeerSubAddress + } + + - switch: + - check: metadata("isdnBearerOperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "ISDN call idle" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("isdnBearerOperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connecting" + root.out.event.message = "ISDN call connecting" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("isdnBearerOperStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connected" + root.out.event.message = "ISDN call connected" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("isdnBearerOperStatus") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "ISDN call active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "ISDN call state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = root.out.ietf.isdnBearerCallOrigin + " " + root.out.ietf.isdnBearerInfoType + " " + root.out.event.message + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + }}}}}}}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "ISDN call information - UNEXPECTED VARBINDS for isdnMibCallInformation trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-ISDN-MIB-isdnMibTrapPrefix-unknown" + root.out.event.id = "SNMPTRAP-ISDN-MIB-isdnMibTrapPrefix-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF ISDN-MIB-isdnMibTrapPrefix" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/ISDN-MIB-isdnMibTraps.yml b/traps/rules/ietf/ISDN-MIB-isdnMibTraps.yml deleted file mode 100644 index ee8018e6..00000000 --- a/traps/rules/ietf/ISDN-MIB-isdnMibTraps.yml +++ /dev/null @@ -1,121 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "ISDN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: isdn_mib_call_information_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.ifIndex = this.trap.VarBinds.index(0).Value - root.out.IETF.isdnBearerOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.2") - root.out.IETF.isdnBearerPeerAddress = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.IETF.isdnBearerPeerSubAddress = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.IETF.isdnBearerCallSetupTime = this.trap.VarBinds.index(4).Value - root.out.IETF.isdnBearerInfoType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.7") - root.out.IETF.isdnBearerCallOrigin = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.6") - - label: isdn_mib_call_information_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-ISDN-MIB-isdnMibCallInformation" - root.out.event.id = "SNMPTRAP-IETF-ISDN-MIB-isdnMibCallInformation" - root.out.event.category.name = "ISDN Call Status" - root.out.object.name = "isdnBearerEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.6").string() + " " - root.out.event.message = root.out.event.message + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.2.1.10.20.1.2.1.1.7").string() + " " - root.out.event.message = root.out.event.message + "ISDN Call" - - label: isdn_mib_call_information_rules_2 - switch: - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: isdn_mib_call_information_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " to " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.VarBinds.index(6).Value == 3 - processors: - - label: isdn_mib_call_information_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " from " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.VarBinds.index(6).Value == 4 - processors: - - label: isdn_mib_call_information_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " from " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - label: isdn_mib_call_information_rules_3 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: isdn_mib_call_information_rules_3_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Idle" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: isdn_mib_call_information_rules_3_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Connecting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(1).Value == 3 - processors: - - label: isdn_mib_call_information_rules_3_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: isdn_mib_call_information_rules_3_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: isdn_mib_call_information_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: isdn_mib_call_information_rules_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/L2TP-MIB-l2tp.yml b/traps/rules/ietf/L2TP-MIB-l2tp.yml new file mode 100644 index 00000000..5bcd526e --- /dev/null +++ b/traps/rules/ietf/L2TP-MIB-l2tp.yml @@ -0,0 +1,191 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF L2TP-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # l2tpTunnelAuthFailure + # + # A l2tpTunnelAuthFailure trap signifies that an attempt to establish a tunnel to a remote peer has failed + # authentication. + # + # l2tpTunnelStatsInitiated (INTEGER) - This object indicates whether the tunnel was initiated locally or by the + # remote tunnel peer. + # l2tpTunnelStatsRemoteHostName (SnmpAdminString) - This object contains the host name as discovered during the + # tunnel establishment phase (via the Host Name AVP) of the L2TP peer. If the tunnel is idle this object should + # maintain its value from the last time it was connected. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.95.1.5.1.4") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.95.1.5.1.5") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-L2TP-MIB-l2tp-l2tpTunnelAuthFailure" + root.out.event.id = "SNMPTRAP-L2TP-MIB-l2tp-l2tpTunnelAuthFailure" + root.out.event.category.name = "L2TP tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.l2tpTunnelStatsInitiated = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.95.1.5.1.4") + root.out.ietf.l2tpTunnelStatsRemoteHostName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "L2TP-MIB::l2tpTunnelConfigEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.95.1.5.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.ietf.l2tpTunnelConfigIfIndex = root.out.object.index + root.out.object.label = "interface: ifIndex " + root.out.ietf.l2tpTunnelConfigIfIndex + ", peer: " + root.out.ietf.l2tpTunnelStatsRemoteHostName + + root.out.event.message = "L2TP tunnel, initiated " + root.out.ietf.l2tpTunnelStatsInitiated + ", authentication failure" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "L2TP tunnel authentication failure - UNEXPECTED VARBINDS for l2tpTunnelAuthFailure trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-L2TP-MIB-l2tp-unknown" + root.out.event.id = "SNMPTRAP-L2TP-MIB-l2tp-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF L2TP-MIB-l2tp" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/MPLS-LSR-STD-MIB-mplsLsrNotifications.yml b/traps/rules/ietf/MPLS-LSR-STD-MIB-mplsLsrNotifications.yml deleted file mode 100644 index 7150d8c4..00000000 --- a/traps/rules/ietf/MPLS-LSR-STD-MIB-mplsLsrNotifications.yml +++ /dev/null @@ -1,60 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MPLS-LSR-STD-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mpls_xcup_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsXCOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10") - root.out.IETF.mplsXCOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10") - - label: mpls_xcup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-LSR-STD-MIB-mplsXCUp" - root.out.event.id = "SNMPTRAP-IETF-MPLS-LSR-STD-MIB-mplsXCUp" - root.out.event.category.name = "MPLS Cross-Connect Status" - root.out.object.name = "mplsXCEntry." - root.out.event.message = "MPLS Cross-Connect Up" - root.out.object.name = "mplsXCEntry. to mplsXCEntry." - root.out.event.message = "MPLS Cross-Connects Up" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mpls_xcdown_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsXCOperStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10") - root.out.IETF.mplsXCOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10") - - label: mpls_xcdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-LSR-STD-MIB-mplsXCDown" - root.out.event.id = "SNMPTRAP-IETF-MPLS-LSR-STD-MIB-mplsXCDown" - root.out.event.category.name = "MPLS Cross-Connect Status" - root.out.object.name = "mplsXCEntry." - root.out.event.message = "MPLS Cross-Connect " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10").string() - root.out.object.name = "mplsXCEntry. to mplsXCEntry." - root.out.event.message = "MPLS Cross-Connects " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.2.1.10.1.10").string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB.yml b/traps/rules/ietf/MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB.yml new file mode 100644 index 00000000..dc8f36c8 --- /dev/null +++ b/traps/rules/ietf/MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB.yml @@ -0,0 +1,300 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF MPLS-OAM-ID-STD-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # mplsOamIdDefectCondition + # + # This notification is sent whenever the operational status of the MEG is changed. + # + # mplsOamIdMegName (SnmpAdminString) - Each MEG has a unique name amongst all those used or available to a service provider or operator. + # mplsOamIdMeName (SnmpAdminString) - This object denotes the ME name. Each ME has a unique name within a MEG. + # mplsOamIdMegOperStatus (INTEGER) - This object specifies the operational status of the Maintenance Entity Group (MEG). + # mplsOamIdMegSubOperStatus (BITS) - This object specifies the reason why the MEG operational status, as indicated by the object mplsOamIdMegOperStatus, is down. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.166.21.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.166.21.1.5.1.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.10.166.21.1.2.1.10") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.10.166.21.1.2.1.11") { + meta varbinds_ok = true + }}}}} + + root.out.event.class.name = "SNMPTRAP-MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB-mplsOamIdDefectCondition" + root.out.event.id = "SNMPTRAP-MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB-mplsOamIdDefectCondition" + root.out.event.category.name = "MPLS OAM MEG state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta mplsOamIdMegOperStatus = this.trap.VarBinds.index(2).Value + + root.out.ietf.mplsOamIdMegName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.mplsOamIdMeName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + root.out.ietf.mplsOamIdMegOperStatus = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.10.166.21.1.2.1.10") + root.out.ietf.mplsOamIdMegSubOperStatus = this.trap.VarBinds.index(3).Value + + root.TEMP.MegSubOperStatus = "" + if root.out.ietf.mplsOamIdMegSubOperStatus.bitwise_and(1) == 1 || root.out.ietf.dsx1LineStatus == 0 { + if root.TEMP.MegSubOperStatus.length() > 0 { + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + ", " + } + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + "MEG down" + } + if root.out.ietf.mplsOamIdMegSubOperStatus.bitwise_and(2) == 2 { + if root.TEMP.MegSubOperStatus.length() > 0 { + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + ", " + } + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + "ME down" + } + if root.out.ietf.mplsOamIdMegSubOperStatus.bitwise_and(4) == 4 { + if root.TEMP.MegSubOperStatus.length() > 0 { + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + ", " + } + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + "OAM application down" + } + if root.out.ietf.mplsOamIdMegSubOperStatus.bitwise_and(8) == 8 { + if root.TEMP.MegSubOperStatus.length() > 0 { + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + ", " + } + root.TEMP.MegSubOperStatus = root.TEMP.MegSubOperStatus + "path down" + } + if root.TEMP.MegSubOperStatus.length() == 0 { + root.TEMP.MegSubOperStatus = "unknown error" + } + + root.out.object.name = "MPLS-OAM-ID-STD-MIB::mplsOamIdMegEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.10.166.21.1.2.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "MEG: " + root.out.ietf.mplsOamIdMegName + ", ME: " + root.out.ietf.mplsOamIdMeName + + - switch: + - check: metadata("mplsOamIdMegOperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-up" + root.out.event.message = "MPLS OAM MEG up, " + root.TEMP.MegSubOperStatus + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("mplsOamIdMegOperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "MPLS OAM MEG down, " + root.TEMP.MegSubOperStatus + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "MPLS OAM MEG state unknown, " + root.TEMP.MegSubOperStatus + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "MPLS OAM MEG state changed - UNEXPECTED VARBINDS for mplsOamIdDefectCondition trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB-unknown" + root.out.event.id = "SNMPTRAP-MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF MPLS-OAM-ID-STD-MIB-mplsOamIdStdMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/MPLS-TE-STD-MIB-mplsTeNotifications.yml b/traps/rules/ietf/MPLS-TE-STD-MIB-mplsTeNotifications.yml deleted file mode 100644 index 6c536338..00000000 --- a/traps/rules/ietf/MPLS-TE-STD-MIB-mplsTeNotifications.yml +++ /dev/null @@ -1,96 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MPLS-TE-STD-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mpls_tunnel_up_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsTunnelAdminStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.34") - root.out.IETF.mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.35") - - label: mpls_tunnel_up_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelUp" - root.out.event.id = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelUp" - root.out.event.category.name = "MPLS Tunnel Status" - root.out.object.name = "mplsTunnelEntry.$mplsTunnelIndex.$mplsTunnelInstance.$mplsTunnelIngressLSRId.$mplsTunnelEgressLSRId - root.out.event.message = "MPLS Tunnel Up ( Ingress LSR: $mplsTunnelIngressLSRId, Egress LSR: $mplsTunnelEgressLSRId, Tunnel Index: $mplsTunnelIndex, Tunnel Instance: $mplsTunnelInstance )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mpls_tunnel_down_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsTunnelAdminStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.34") - root.out.IETF.mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.35") - - label: mpls_tunnel_down_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelDown" - root.out.event.id = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelDown" - root.out.event.category.name = "MPLS Tunnel Status" - root.out.object.name = "mplsTunnelEntry.$mplsTunnelIndex.$mplsTunnelInstance.$mplsTunnelIngressLSRId.$mplsTunnelEgressLSRId - root.out.event.message = "MPLS Tunnel Down ( Ingress LSR: $mplsTunnelIngressLSRId, Egress LSR: $mplsTunnelEgressLSRId, Tunnel Index: $mplsTunnelIndex, Tunnel Instance: $mplsTunnelInstance )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 3 - processors: - - label: mpls_tunnel_rerouted_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsTunnelAdminStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.34") - root.out.IETF.mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.35") - - label: mpls_tunnel_rerouted_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelRerouted" - root.out.event.id = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelRerouted" - root.out.event.category.name = "MPLS Tunnel Status" - root.out.object.name = "mplsTunnelEntry.$mplsTunnelIndex.$mplsTunnelInstance.$mplsTunnelIngressLSRId.$mplsTunnelEgressLSRId - root.out.event.message = "MPLS Tunnel Re-Routed ( Ingress LSR: $mplsTunnelIngressLSRId, Egress LSR: $mplsTunnelEgressLSRId, Tunnel Index: $mplsTunnelIndex, Tunnel Instance: $mplsTunnelInstance )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mpls_tunnel_reoptimized_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsTunnelAdminStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.34") - root.out.IETF.mplsTunnelOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.2.1.10.166.3.2.2.1.35") - - label: mpls_tunnel_reoptimized_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelReoptimized" - root.out.event.id = "SNMPTRAP-IETF-MPLS-TE-STD-MIB-mplsTunnelReoptimized" - root.out.event.category.name = "MPLS Tunnel Status" - root.out.object.name = "mplsTunnelEntry.$mplsTunnelIndex.$mplsTunnelInstance.$mplsTunnelIngressLSRId.$mplsTunnelEgressLSRId - root.out.event.message = "MPLS Tunnel Re-Optimized ( Ingress LSR: $mplsTunnelIngressLSRId, Egress LSR: $mplsTunnelEgressLSRId, Tunnel Index: $mplsTunnelIndex, Tunnel Instance: $mplsTunnelInstance )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/MPLS-VPN-MIB-mplsVpnNotifications.yml b/traps/rules/ietf/MPLS-VPN-MIB-mplsVpnNotifications.yml deleted file mode 100644 index 60ff1800..00000000 --- a/traps/rules/ietf/MPLS-VPN-MIB-mplsVpnNotifications.yml +++ /dev/null @@ -1,116 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MPLS-VPN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mpls_vrf_if_up_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsVpnIfConfRowStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.118.1.2.1.1.6") - root.out.IETF.mplsVpnVrfOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.118.1.2.2.1.6") - - label: mpls_vrf_if_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsVrfIfUp" - root.out.event.id = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsVrfIfUp" - root.out.event.category.name = "VRF Interface Status" - root.out.object.name = "mplsVpnInterfaceConfEntry." - root.out.event.message = "VRF Interface Up ( VPN: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.118.1.2.2.1.6").string() + ", ifIndex: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.118.1.2.1.1.6").string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mpls_vrf_if_down_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsVpnIfConfRowStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.118.1.2.1.1.6") - root.out.IETF.mplsVpnVrfOperStatus = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.118.1.2.2.1.6") - - label: mpls_vrf_if_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsVrfIfDown" - root.out.event.id = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsVrfIfDown" - root.out.event.category.name = "VRF Interface Status" - root.out.object.name = "mplsVpnInterfaceConfEntry." - root.out.event.message = "VRF Interface Down ( VPN: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.3.118.1.2.2.1.6").string() + ", ifIndex: " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.118.1.2.1.1.6").string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: mpls_num_vrf_route_mid_thresh_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsVpnVrfPerfCurrNumRoutes = this.trap.VarBinds.index(0).Value - root.out.IETF.mplsVpnVrfConfMidRouteThreshold = this.trap.VarBinds.index(1).Value - - label: mpls_num_vrf_route_mid_thresh_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfRouteMidThreshExceeded" - root.out.event.id = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfRouteMidThreshExceeded" - root.out.event.category.name = "VRF Table Performance" - root.out.object.name = "mplsVpnVrfPerfEntry." - root.out.event.message = "VRF Table # of Routes Mid. Threshold ( VPN: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mpls_num_vrf_route_max_thresh_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsVpnVrfPerfCurrNumRoutes = this.trap.VarBinds.index(0).Value - root.out.IETF.mplsVpnVrfConfHighRouteThreshold = this.trap.VarBinds.index(1).Value - - label: mpls_num_vrf_route_max_thresh_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfRouteMaxThreshExceeded" - root.out.event.id = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfRouteMaxThreshExceeded" - root.out.event.category.name = "VRF Table Performance" - root.out.object.name = "mplsVpnVrfPerfEntry." - root.out.event.message = "VRF Table # of Routes Exceeds Max. Threshold ( VPN: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: mpls_num_vrf_sec_illgl_lbl_thrsh_excd_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.mplsVpnVrfSecIllegalLblVltns = this.trap.VarBinds.index(0).Value - - label: mpls_num_vrf_sec_illgl_lbl_thrsh_excd_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfSecIllegalLabelThreshExceeded" - root.out.event.id = "SNMPTRAP-IETF-MPLS-VPN-MIB-mplsNumVrfSecIllegalLabelThreshExceeded" - root.out.event.category.name = "VRF Table Security" - root.out.object.name = "mplsVpnVrfSecEntry." - root.out.event.message = "VRF Illegal Label Violations Exceeds Threshold ( VPN: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/MSDP-MIB-msdpTraps.yml b/traps/rules/ietf/MSDP-MIB-msdpTraps.yml deleted file mode 100644 index fbefbdfc..00000000 --- a/traps/rules/ietf/MSDP-MIB-msdpTraps.yml +++ /dev/null @@ -1,116 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MSDP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: msdp_established_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.msdpPeerFsmEstablishedTransitions = this.trap.VarBinds.index(0).Value - - label: msdp_established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DRAFT-MSDP-MIB-msdpEstablished" - root.out.event.id = "SNMPTRAP-IETF-DRAFT-MSDP-MIB-msdpEstablished" - root.out.event.category.name = "MSDP Peer Status" - root.out.object.name = "msdpPeerEntry.3.92.1.1" - root.out.event.message = "MSDP Peer Connection Established ( Peer: 3.92.1.1 )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: msdp_backward_transition_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.msdpPeerState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.3.92.1.1.5.1.3") - - label: msdp_backward_transition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-DRAFT-MSDP-MIB-msdpBackwardTransition" - root.out.event.id = "SNMPTRAP-IETF-DRAFT-MSDP-MIB-msdpBackwardTransition" - root.out.event.category.name = "MSDP Peer Status" - root.out.object.name = "msdpPeerEntry.3.92.1.1" - - label: msdp_backward_transition_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: msdp_backward_transition_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Inactive" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: msdp_backward_transition_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Listening" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: msdp_backward_transition_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Connecting" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: msdp_backward_transition_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: msdp_backward_transition_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Disabled " - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: msdp_backward_transition_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "MSDP Peer Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: msdp_backward_transition_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Peer: 3.92.1.1 )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/OSPF-TRAP-MIB-ospfTraps.yml b/traps/rules/ietf/OSPF-TRAP-MIB-ospfTraps.yml index 44759439..c4e31a74 100644 --- a/traps/rules/ietf/OSPF-TRAP-MIB-ospfTraps.yml +++ b/traps/rules/ietf/OSPF-TRAP-MIB-ospfTraps.yml @@ -165,84 +165,12 @@ } else { root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfStateChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfStateChange-unknown" root.out.event.category.name = "OSPF virtual interface state" - root.out.event.message = "OSPF virtual interface state unknown - UNEXPECTED VARBINDS for ospfVirtIfStateChange trap!" + root.out.event.message = "OSPF virtual interface state changed - UNEXPECTED VARBINDS for ospfVirtIfStateChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -321,103 +249,103 @@ root.out.event.category.name = "OSPF neighbor state" - switch: - - check: metadata("ospfNbrState") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-down" - root.out.event.message = "OSPF neighbor down" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - - check: metadata("ospfNbrState") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-attempt" - root.out.event.message = "OSPF neighbor attempt" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - check: metadata("ospfNbrState") == 3 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-init" - root.out.event.message = "OSPF neighbor initializing" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfNbrState") == 4 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-twoWay" - root.out.event.message = "OSPF neighbor two-way" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfNbrState") == 5 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-exchangeStart" - root.out.event.message = "OSPF neighbor exchange start" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfNbrState") == 6 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-exchange" - root.out.event.message = "OSPF neighbor exchange" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfNbrState") == 7 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-loading" - root.out.event.message = "OSPF neighbor loading" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfNbrState") == 8 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-full" - root.out.event.message = "OSPF neighbor full" - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF neighbor state unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfNbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfNbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfNbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfNbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfNbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfNbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfNbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfNbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" - mapping: |- #!blobl @@ -496,76 +424,12 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNbrStateChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNbrStateChange-unknown" root.out.event.category.name = "OSPF neighbor state" - root.out.event.message = "OSPF neighbor state unknown - UNEXPECTED VARBINDS for ospfNbrStateChange trap!" + root.out.event.message = "OSPF neighbor state changed - UNEXPECTED VARBINDS for ospfNbrStateChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -630,103 +494,103 @@ root.out.event.category.name = "OSPF virtual neighbor state" - switch: - - check: metadata("ospfVirtNbrState") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-down" - root.out.event.message = "OSPF virtual neighbor down" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - - check: metadata("ospfVirtNbrState") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-attempt" - root.out.event.message = "OSPF virtual neighbor attempt" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - check: metadata("ospfVirtNbrState") == 3 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-init" - root.out.event.message = "OSPF virtual neighbor initializing" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfVirtNbrState") == 4 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-twoWay" - root.out.event.message = "OSPF virtual neighbor two-way" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfVirtNbrState") == 5 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-exchangeStart" - root.out.event.message = "OSPF virtual neighbor exchange start" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfVirtNbrState") == 6 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-exchange" - root.out.event.message = "OSPF virtual neighbor exchange" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfVirtNbrState") == 7 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-loading" - root.out.event.message = "OSPF virtual neighbor loading" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfVirtNbrState") == 8 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-full" - root.out.event.message = "OSPF virtual neighbor full" - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF virtual neighbor state unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfVirtNbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF virtual neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfVirtNbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF virtual neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfVirtNbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF virtual neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfVirtNbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF virtual neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfVirtNbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF virtual neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfVirtNbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF virtual neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfVirtNbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF virtual neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfVirtNbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF virtual neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" - mapping: |- #!blobl @@ -797,84 +661,12 @@ } else { root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtNbrStateChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtNbrStateChange-unknown" root.out.event.category.name = "OSPF virtual neighbor state" - root.out.event.message = "OSPF virtual neighbor state unknown - UNEXPECTED VARBINDS for ospfVirtNbrStateChange trap!" + root.out.event.message = "OSPF virtual neighbor state changed - UNEXPECTED VARBINDS for ospfVirtNbrStateChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -954,7 +746,7 @@ root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfConfigError" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfConfigError-" + $ospfPacketTypeDef + "-" + $ospfConfigErrorTypeDef - root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.category.name = "OSPF interface configuration state" root.out.event.message = "OSPF interface ingress " + root.out.ietf.ospfPacketType + " packet configuration error: " + root.out.ietf.ospfConfigErrorType root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -1044,67 +836,11 @@ } else { root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfConfigError" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfConfigError-unknown" - root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.category.name = "OSPF interface configuration state" root.out.event.message = "OSPF interface ingress packet configuration error - UNEXPECTED VARBINDS for ospfIfConfigError trap!" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -1173,7 +909,7 @@ root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfConfigError" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfConfigError-" + $ospfPacketTypeDef + "-" + $ospfConfigErrorTypeDef - root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.category.name = "OSPF virtual interface configuration state" root.out.event.message = "OSPF virtual interface ingress " + root.out.ietf.ospfPacketType + " packet configuration error: " + root.out.ietf.ospfConfigErrorType root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -1255,75 +991,11 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfConfigError" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfConfigError-unknown" - root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.category.name = "OSPF virtual interface configuration state" root.out.event.message = "OSPF virtual interface ingress packet configuration error - UNEXPECTED VARBINDS for ospfVirtIfConfigError trap!" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" @@ -1494,63 +1166,7 @@ } else { root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfAuthFailure" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfAuthFailure-unknown" @@ -1705,71 +1321,7 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfAuthFailure" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfAuthFailure-unknown" @@ -1928,71 +1480,7 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfRxBadPacket" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfRxBadPacket-unknown" @@ -2131,79 +1619,7 @@ } else { root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfRxBadPacket" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfRxBadPacket-unknown" @@ -2399,53 +1815,13 @@ } if this.trap.VarBinds.length() > 10 { root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() } - }}}}}}}}}}}}}}}} + }}}}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfTxRetransmit" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfTxRetransmit-unknown" @@ -2628,55 +2004,7 @@ } else { root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfTxRetransmit" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtIfTxRetransmit-unknown" @@ -2833,71 +2161,7 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfOriginateLsa" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfOriginateLsa-unknown" @@ -3051,71 +2315,7 @@ } else { root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfMaxAgeLsa" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfMaxAgeLsa-unknown" @@ -3230,95 +2430,7 @@ } else { root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() } - if this.trap.VarBinds.length() > 5 { - root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID - root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { - root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() - } - if this.trap.VarBinds.length() > 6 { - root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID - root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() - } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfLsdbOverflow" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfLsdbOverflow-unknown" @@ -3433,95 +2545,7 @@ } else { root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() } - if this.trap.VarBinds.length() > 5 { - root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID - root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { - root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() - } - if this.trap.VarBinds.length() > 6 { - root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID - root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() - } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfLsdbApproachingOverflow" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfLsdbApproachingOverflow-unknown" @@ -3640,7 +2664,6 @@ root.out.event.severity.level = "Informational" - check: metadata("ospfIfState") == 5 - # processors: - mapping: |- #!blobl @@ -3652,7 +2675,6 @@ root.out.event.severity.level = "Informational" - check: metadata("ospfIfState") == 6 - # processors: - mapping: |- #!blobl @@ -3664,7 +2686,6 @@ root.out.event.severity.level = "Informational" - check: metadata("ospfIfState") == 7 - # processors: - mapping: |- #!blobl @@ -3681,7 +2702,7 @@ root = this root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF virtual interface state unknown" + root.out.event.message = "OSPF interface state unknown" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -3744,94 +2765,22 @@ if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() } else { - root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() - } - if this.trap.VarBinds.length() > 6 { - root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID - root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() - } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() } - }}}}}}}}}}}}}}}} + }}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfStateChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfIfStateChange-unknown" root.out.event.category.name = "OSPF interface state" - root.out.event.message = "OSPF interface state unknown - UNEXPECTED VARBINDS for ospfIfStateChange trap!" + root.out.event.message = "OSPF interface state changed - UNEXPECTED VARBINDS for ospfIfStateChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -3894,48 +2843,48 @@ root.out.event.category.name = "OSPF NSSA translator state" - switch: - - check: metadata("ospfAreaNssaTranslatorState") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-enabled" - root.out.event.message = "OSPF NSSA translator enabled" - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - check: metadata("ospfAreaNssaTranslatorState") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-elected" - root.out.event.message = "OSPF NSSA translator elected" - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - check: metadata("ospfAreaNssaTranslatorState") == 3 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-disabled" - root.out.event.message = "OSPF NSSA translator disabled" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF NSSA translator unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfAreaNssaTranslatorState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-enabled" + root.out.event.message = "OSPF NSSA translator enabled" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfAreaNssaTranslatorState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-elected" + root.out.event.message = "OSPF NSSA translator elected" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfAreaNssaTranslatorState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-disabled" + root.out.event.message = "OSPF NSSA translator disabled" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF NSSA translator unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" - mapping: |- #!blobl @@ -3998,92 +2947,12 @@ } else { root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() } - if this.trap.VarBinds.length() > 6 { - root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID - root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() - } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNssaTranslatorStatusChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNssaTranslatorStatusChange-unknown" root.out.event.category.name = "OSPF NSSA translator state" - root.out.event.message = "OSPF OSPF NSSA translator state unknown - UNEXPECTED VARBINDS for ospfNssaTranslatorStatusChange trap!" + root.out.event.message = "OSPF OSPF NSSA translator state changed - UNEXPECTED VARBINDS for ospfNssaTranslatorStatusChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -4143,48 +3012,48 @@ root.out.event.category.name = "OSPF restart state" - switch: - - check: metadata("ospfRestartStatus") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-notRestarting" - root.out.event.message = "OSPF running: " + root.out.ietf.ospfRestartExitReason - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - check: metadata("ospfRestartStatus") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-plannedRestart" - root.out.event.message = "OSPF planned restart: " + root.out.ietf.ospfRestartExitReason - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - - check: metadata("ospfRestartStatus") == 3 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unplannedRestart" - root.out.event.message = "OSPF unplanned restart: " + root.out.ietf.ospfRestartExitReason - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF restart state unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfRestartStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notRestarting" + root.out.event.message = "OSPF running: " + root.out.ietf.ospfRestartExitReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfRestartStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-plannedRestart" + root.out.event.message = "OSPF planned restart: " + root.out.ietf.ospfRestartExitReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfRestartStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unplannedRestart" + root.out.event.message = "OSPF unplanned restart: " + root.out.ietf.ospfRestartExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF restart state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" - mapping: |- #!blobl @@ -4255,84 +3124,12 @@ } else { root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() } - if this.trap.VarBinds.length() > 7 { - root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID - root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() - } - if this.trap.VarBinds.length() > 8 { - root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID - root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() - } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfRestartStatusChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfRestartStatusChange-unknown" root.out.event.category.name = "OSPF restart state" - root.out.event.message = "OSPF restart state unknown - UNEXPECTED VARBINDS for ospfRestartStatusChange trap!" + root.out.event.message = "OSPF restart state changed - UNEXPECTED VARBINDS for ospfRestartStatusChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -4418,37 +3215,38 @@ root.out.event.category.name = "OSPF neighbor graceful restart helper state" - switch: - - check: metadata("ospfNbrRestartHelperStatus") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-notHelping" - root.out.event.message = "OSPF neighbor graceful restart helper not helping: " + root.out.ietf.ospfNbrRestartHelperExitReason - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - check: metadata("ospfNbrRestartHelperStatus") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-helping" - root.out.event.message = "OSPF neighbor graceful restart helper helping: " + root.out.ietf.ospfNbrRestartHelperExitReason - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF neighbor graceful restart helper unknown: " + root.out.ietf.ospfNbrRestartHelperExitReason - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfNbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF neighbor graceful restart helper not helping: " + root.out.ietf.ospfNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfNbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF neighbor graceful restart helper helping: " + root.out.ietf.ospfNbrRestartHelperExitReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor graceful restart helper unknown: " + root.out.ietf.ospfNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + - mapping: |- #!blobl root = this @@ -4542,60 +3340,12 @@ } else { root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNbrRestartHelperStatusChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfNbrRestartHelperStatusChange-unknown" root.out.event.category.name = "OSPF neighbor graceful restart helper state" - root.out.event.message = "OSPF neighbor graceful restart helper state unknown - UNEXPECTED VARBINDS for ospfNbrRestartHelperStatusChange trap!" + root.out.event.message = "OSPF neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for ospfNbrRestartHelperStatusChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -4669,37 +3419,37 @@ root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" - switch: - - check: metadata("ospfVirtNbrRestartHelperStatus") == 1 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-notHelping" - root.out.event.message = "OSPF virtual neighbor graceful restart helper not helping: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - - check: metadata("ospfVirtNbrRestartHelperStatus") == 2 - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-helping" - root.out.event.message = "OSPF virtual neighbor graceful restart helper helping: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason - root.out.event.severity.code = 6 - root.out.event.severity.level = "Informational" - - - processors: - - mapping: |- - #!blobl - root = this - - root.out.event.id = root.out.event.id + "-unknown" - root.out.event.message = "OSPF virtual neighbor graceful restart helper unknown: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" + - check: metadata("ospfVirtNbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper not helping: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfVirtNbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper helping: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor graceful restart helper unknown: " + root.out.ietf.ospfVirtNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" - mapping: |- #!blobl @@ -4786,68 +3536,12 @@ } else { root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() } - if this.trap.VarBinds.length() > 9 { - root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID - root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() - } - if this.trap.VarBinds.length() > 10 { - root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID - root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() - } - if this.trap.VarBinds.length() > 11 { - root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID - root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() - } - if this.trap.VarBinds.length() > 12 { - root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID - root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() - } - if this.trap.VarBinds.length() > 13 { - root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID - root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() - } - if this.trap.VarBinds.length() > 14 { - root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID - root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() - } - if this.trap.VarBinds.length() > 15 { - root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID - root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") - if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() - } else { - root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value - } - }}}}}}}}}}}}}}}} + }}}}}}}}} root.out.event.class.name = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtNbrRestartHelperStatusChange" root.out.event.id = "SNMPTRAP-OSPF-TRAP-MIB-ospfTraps-ospfVirtNbrRestartHelperStatusChange-unknown" root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" - root.out.event.message = "OSPF virtual neighbor graceful restart helper state unknown - UNEXPECTED VARBINDS for ospfVirtNbrRestartHelperStatusChange trap!" + root.out.event.message = "OSPF virtual neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for ospfVirtNbrRestartHelperStatusChange trap!" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/OSPFV3-MIB-ospfv3MIB.yml b/traps/rules/ietf/OSPFV3-MIB-ospfv3MIB.yml new file mode 100644 index 00000000..b50f4afb --- /dev/null +++ b/traps/rules/ietf/OSPFV3-MIB-ospfv3MIB.yml @@ -0,0 +1,2275 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF OSPFV3-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # ospfv3VirtIfStateChange + # + # An ospfv3VirtIfStateChange notification signifies that there has been a change in the state of an OSPFv3 virtual + # interface. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3VirtIfState (INTEGER) - OSPF virtual interface states. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.8.1.9") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3VirtIfStateChange = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.8.1.9") + + root.out.object.name = "OSPFV3-MIB::ospfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3VirtIfAreaId = root.TEMP.ospfv3VirtIfEntry.index(0).string() + root.out.ietf.ospfv3VirtIfNeighbor = root.TEMP.ospfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3VirtIfAreaId + ", neighbor: " + root.out.ietf.ospfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfStateChange" + root.out.event.category.name = "OSPF virtual interface state" + + - switch: + - check: metadata("ospfv3VirtIfStateChange") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF virtual interface down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfv3VirtIfStateChange") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-pointToPoint" + root.out.event.message = "OSPF virtual interface point-to-point" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual interface state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfStateChange-unknown" + root.out.event.category.name = "OSPF virtual interface state" + root.out.event.message = "OSPF virtual interface state changed - UNEXPECTED VARBINDS for ospfv3VirtIfStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # ospfv3NbrStateChange + # + # An ospfv3NbrStateChange notification signifies that there has been a change in the state of a non-virtual OSPFv3 + # neighbor. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3NbrState (INTEGER) - The state of the relationship with this neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.9.1.8") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3NbrState = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3NbrState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.9.1.8") + + root.out.object.name = "OSPFV3-MIB::ospfv3NbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.9.1.8") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3NbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,Integer") + root.out.ietf.ospfv3NbrIfIndex = root.TEMP.ospfv3NbrEntry.index(0).string() + root.out.ietf.ospfv3NbrIfInstId = root.TEMP.ospfv3NbrEntry.index(1).string() + root.out.ietf.ospfv3NbrRtrId = root.TEMP.ospfv3NbrEntry.index(2).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", interface: ifIndex " + root.out.ietf.ospfv3NbrIfIndex + ", instance: " + root.out.ietf.ospfv3NbrIfInstId + ", neighbor: " + root.out.ietf.ospfv3NbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrStateChange" + root.out.event.category.name = "OSPF neighbor state" + + - switch: + - check: metadata("ospfv3NbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfv3NbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfv3NbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3NbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3NbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3NbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3NbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3NbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrStateChange-unknown" + root.out.event.category.name = "OSPF neighbor state" + root.out.event.message = "OSPF neighbor state changed - UNEXPECTED VARBINDS for ospfv3NbrStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 3 + # ospfv3VirtNbrStateChange + # + # An ospfv3VirtNbrStateChange notification signifies that there has been a change in the state of an OSPFv3 virtual + # neighbor. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3VirtNbrState (INTEGER) - The state of the virtual neighbor relationship. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.11.1.8") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3VirtNbrState = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3VirtNbrState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.11.1.8") + + root.out.object.name = "OSPFV3-MIB::ospfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.11.1.8") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3VirtIfAreaId = root.TEMP.ospfv3VirtIfEntry.index(0).string() + root.out.ietf.ospfv3VirtIfNeighbor = root.TEMP.ospfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3VirtIfAreaId + ", neighbor: " + root.out.ietf.ospfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrStateChange" + root.out.event.category.name = "OSPF virtual neighbor state" + + - switch: + - check: metadata("ospfv3VirtNbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF virtual neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfv3VirtNbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF virtual neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfv3VirtNbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF virtual neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3VirtNbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF virtual neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3VirtNbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF virtual neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3VirtNbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF virtual neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3VirtNbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF virtual neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3VirtNbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF virtual neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrStateChange-unknown" + root.out.event.category.name = "OSPF virtual neighbor state" + root.out.event.message = "OSPF virtual neighbor state changed - UNEXPECTED VARBINDS for ospfv3VirtNbrStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 4 + # ospfv3IfConfigError + # + # An ospfv3IfConfigError notification signifies that a packet has been received on a non-virtual interface from a + # router whose configuration parameters conflict with this router's configuration parameters. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3IfState (INTEGER) - The OSPFv3 interface state. + # ospfv3PacketSrc (OCTET STRING) - The IPv6 address of an inbound packet that cannot be identified by a neighbor instance. + # ospfv3ConfigErrorType (INTEGER) - Potential types of configuration conflicts. + # ospfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 4 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.7.1.12") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.14.3") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.14.1") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.2.1.191.1.14.2") { + meta varbinds_ok = true + }}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.7.1.12") + root.out.ietf.ospfv3PacketSrc = this.trap.VarBinds.index(2).Value.snmp_inet_address(2) + root.out.ietf.ospfv3ConfigErrorType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.1") + root.out.ietf.ospfv3PacketType = this.trap.VarBinds.index(4).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.2") + + root.out.object.name = "OSPFV3-MIB::ospfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3IfIndex = root.TEMP.ospfv3IfEntry.index(0).string() + root.out.ietf.ospfv3IfInstId = root.TEMP.ospfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", interface: ifIndex " + root.out.ietf.ospfv3IfIndex + ", instance: " + root.out.ietf.ospfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfConfigError" + root.out.event.category.name = "OSPF interface configuration state" + root.out.event.message = "OSPF interface ingress " + root.out.ietf.ospfv3PacketType + " packet configuration error: " + root.out.ietf.ospfv3ConfigErrorType + " from " + root.out.ietf.ospfv3PacketSrc + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfConfigError-unknown" + root.out.event.category.name = "OSPF interface configuration state" + root.out.event.message = "OSPF interface ingress packet configuration error - UNEXPECTED VARBINDS for ospfv3IfConfigError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 5 + # ospfv3VirtIfConfigError + # + # An ospfv3VirtIfConfigError notification signifies that a packet has been received on a virtual interface from a + # router whose configuration parameters conflict with this router's configuration parameters. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3VirtIfState (INTEGER) - OSPF virtual interface states. + # ospfv3ConfigErrorType (INTEGER) - Potential types of configuration conflicts. + # ospfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.8.1.9") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.14.1") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.14.2") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.8.1.9") + root.out.ietf.ospfv3ConfigErrorType = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.1") + root.out.ietf.ospfv3PacketType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.2") + + root.out.object.name = "OSPFV3-MIB::ospfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3VirtIfAreaId = root.TEMP.ospfv3VirtIfEntry.index(0).string() + root.out.ietf.ospfv3VirtIfNeighbor = root.TEMP.ospfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3VirtIfAreaId + ", neighbor: " + root.out.ietf.ospfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfConfigError" + root.out.event.category.name = "OSPF virtual interface configuration state" + root.out.event.message = "OSPF virtual interface ingress " + root.out.ietf.ospfv3PacketType + " packet configuration error: " + root.out.ietf.ospfv3ConfigErrorType + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfConfigError-unknown" + root.out.event.category.name = "OSPF virtual interface configuration state" + root.out.event.message = "OSPF virtual interface configuration error - UNEXPECTED VARBINDS for ospfv3VirtIfConfigError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 6 + # ospfv3IfRxBadPacket + # + # An ospfv3IfRxBadPacket notification signifies that an OSPFv3 packet that cannot be parsed has been received on a + # non-virtual interface. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3IfState (INTEGER) - The OSPFv3 interface state. + # ospfv3PacketSrc (OCTET STRING) - The IPv6 address of an inbound packet that cannot be identified by a neighbor instance. + # ospfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.7.1.12") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.14.3") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.14.2") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.7.1.12") + root.out.ietf.ospfv3PacketSrc = this.trap.VarBinds.index(2).Value.snmp_inet_address(2) + root.out.ietf.ospfv3PacketType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.2") + + root.out.object.name = "OSPFV3-MIB::ospfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3IfIndex = root.TEMP.ospfv3IfEntry.index(0).string() + root.out.ietf.ospfv3IfInstId = root.TEMP.ospfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", interface: ifIndex " + root.out.ietf.ospfv3IfIndex + ", instance: " + root.out.ietf.ospfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfRxBadPacket" + root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.message = "OSPF interface bad ingress " + root.out.ietf.ospfv3PacketType + " packet from " + root.out.ietf.ospfv3PacketSrc + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfRxBadPacket-unknown" + root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.message = "OSPF interface bad ingress packet - UNEXPECTED VARBINDS for ospfv3IfRxBadPacket trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 7 + # ospfv3VirtIfRxBadPacket + # + # An ospfv3VirtIfRxBadPacket notification signifies that an OSPFv3 packet that cannot be parsed has been received on + # a virtual interface. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3VirtIfState (INTEGER) - OSPF virtual interface states. + # ospfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.8.1.9") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.14.2") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.8.1.9") + root.out.ietf.ospfv3PacketType = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.14.2") + + root.out.object.name = "OSPFV3-MIB::ospfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3VirtIfAreaId = root.TEMP.ospfv3VirtIfEntry.index(0).string() + root.out.ietf.ospfv3VirtIfNeighbor = root.TEMP.ospfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3VirtIfAreaId + ", neighbor: " + root.out.ietf.ospfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfRxBadPacket" + root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.message = "OSPF virtual interface bad ingress " + root.out.ietf.ospfv3PacketType + " packet" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtIfRxBadPacket-unknown" + root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.message = "OSPF virtual interface bad ingress packet - UNEXPECTED VARBINDS for ospfv3VirtIfRxBadPacket trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 8 + # ospfv3LsdbOverflow + # + # An ospfv3LsdbOverflow notification signifies that the number of LSAs in the router's link state database has + # exceeded ospfv3ExtAreaLsdbLimit. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3ExtAreaLsdbLimit (Integer32) - The maximum number of non-default AS-external-LSA entries that can be stored + # in the link state database. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.1.11") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3ExtAreaLsdbLimit = this.trap.VarBinds.index(1).Value + + root.out.object.name = "OSPFV3-MIB::ospfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbOverflow" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB overflow, limit: " + root.out.ietf.ospfv3ExtAreaLsdbLimit.string() + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbOverflow-unknown" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB overflow - UNEXPECTED VARBINDS for ospfv3LsdbOverflow trap!" + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - check: this.trap.SpecificTrap == 9 + # ospfv3LsdbApproachingOverflow + # + # An ospfv3LsdbApproachingOverflow notification signifies that the number of LSAs in the router's link state + # database has exceeded ninety percent of ospfv3ExtAreaLsdbLimit. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3ExtAreaLsdbLimit (Integer32) - The maximum number of non-default AS-external-LSA entries that can be stored + # in the link state database. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.1.11") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3ExtAreaLsdbLimit = this.trap.VarBinds.index(1).Value + + root.out.object.name = "OSPFV3-MIB::ospfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbApproachingOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbApproachingOverflow" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB approaching overflow, exceeds 90% of limit: " + root.out.ietf.ospfv3ExtAreaLsdbLimit.string() + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbApproachingOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3LsdbApproachingOverflow-unknown" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB approaching overflow - UNEXPECTED VARBINDS for ospfv3LsdbApproachingOverflow trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 10 + # ospfv3IfStateChange + # + # An ospfv3IfStateChange notification signifies that there has been a change in the state of a non-virtual OSPFv3 + # interface. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3IfState (INTEGER) - The OSPFv3 interface state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.7.1.12") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3IfState = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.7.1.12") + + root.out.object.name = "OSPFV3-MIB::ospfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3IfIndex = root.TEMP.ospfv3IfEntry.index(0).string() + root.out.ietf.ospfv3IfInstId = root.TEMP.ospfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", interface: ifIndex " + root.out.ietf.ospfv3IfIndex + ", instance: " + root.out.ietf.ospfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfStateChange" + root.out.event.category.name = "OSPF interface state" + + - switch: + - check: metadata("ospfv3IfState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF interface down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("ospfv3IfState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loopback" + root.out.event.message = "OSPF interface loopback" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfv3IfState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-waiting" + root.out.event.message = "OSPF interface waiting" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3IfState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-pointToPoint" + root.out.event.message = "OSPF interface point-to-point" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3IfState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-designatedRouter" + root.out.event.message = "OSPF interface designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3IfState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-backupDesignatedRouter" + root.out.event.message = "OSPF interface backup designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3IfState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-otherDesignatedRouter" + root.out.event.message = "OSPF interface other designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3IfState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-standby" + root.out.event.message = "OSPF interface standby" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF interface unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3IfStateChange-unknown" + root.out.event.category.name = "OSPF interface state" + root.out.event.message = "OSPF interface state changed - UNEXPECTED VARBINDS for ospfv3IfStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 11 + # ospfv3NssaTranslatorStatusChange + # + # An ospfv3NssaTranslatorStatusChange notification indicates that there has been a change in the router's ability to + # translate OSPFv3 NSSA LSAs into OSPFv3 External LSAs. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3AreaNssaTranslatorState (INTEGER) - Indicates if and how an NSSA border router is performing NSSA + # translation of NSSA-LSAs into AS-External-LSAs. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.2.1.12") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3AreaNssaTranslatorState = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3AreaNssaTranslatorState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.2.1.12") + + root.out.object.name = "OSPFV3-MIB::ospfv3AreaEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.2.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.ietf.ospfv3AreaId = root.out.object.index + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3AreaId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NssaTranslatorStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NssaTranslatorStatusChange" + root.out.event.category.name = "OSPF NSSA translator state" + + - switch: + - check: metadata("ospfv3AreaNssaTranslatorState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-enabled" + root.out.event.message = "OSPF NSSA translator enabled" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3AreaNssaTranslatorState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-elected" + root.out.event.message = "OSPF NSSA translator elected" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3AreaNssaTranslatorState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-disabled" + root.out.event.message = "OSPF NSSA translator disabled" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF NSSA translator unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NssaTranslatorStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NssaTranslatorStatusChange-unknown" + root.out.event.category.name = "OSPF NSSA translator state" + root.out.event.message = "OSPF NSSA translator state changed - UNEXPECTED VARBINDS for ospfv3NssaTranslatorStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 12 + # ospfv3RestartStatusChange + # + # An ospfv3RestartStatusChange notification signifies that there has been a change in the graceful restart state for + # the router. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3RestartStatus (INTEGER) - The current status of OSPF graceful restart capability. + # ospfv3RestartInterval (Unsigned32) - Configured OSPF graceful restart timeout interval. + # ospfv3RestartExitReason (INTEGER) - Describes the outcome of the last attempt at a graceful restart. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.1.18") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.1.16") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.1.20") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3RestartStatus = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3RestartStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.1.18") + root.out.ietf.ospfv3RestartInterval = this.trap.VarBinds.index(2).Value + root.out.ietf.ospfv3RestartExitReason = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.1.20") + + root.out.object.name = "OSPFV3-MIB::ospfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3RestartStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3RestartStatusChange" + root.out.event.category.name = "OSPF restart state" + + - switch: + - check: metadata("ospfv3RestartStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notRestarting" + root.out.event.message = "OSPF running: " + root.out.ietf.ospfv3RestartExitReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("ospfv3RestartStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-plannedRestart" + root.out.event.message = "OSPF planned restart: " + root.out.ietf.ospfv3RestartExitReason + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("ospfv3RestartStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unplannedRestart" + root.out.event.message = "OSPF unplanned restart: " + root.out.ietf.ospfv3RestartExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF restart state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3RestartStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3RestartStatusChange-unknown" + root.out.event.category.name = "OSPF restart state" + root.out.event.message = "OSPF restart state changed - UNEXPECTED VARBINDS for ospfv3RestartStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 13 + # ospfv3NbrRestartHelperStatusChange + # + # An ospfv3NbrRestartHelperStatusChange notification signifies that there has been a change in the graceful restart + # helper state for the neighbor. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3NbrRestartHelperStatus (INTEGER) - Indicates whether the router is acting as a graceful restart helper for + # the neighbor. + # ospfv3NbrRestartHelperAge (Unsigned32) - Remaining time in current OSPF graceful restart interval, if the router + # is acting as a restart helper for the neighbor. + # ospfv3NbrRestartHelperExitReason (INTEGER) - Describes the outcome of the last attempt at acting as a graceful + # restart helper for the neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.9.1.13") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.9.1.14") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.9.1.15") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3NbrRestartHelperStatus = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3NbrRestartHelperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.9.1.13") + root.out.ietf.ospfv3NbrRestartHelperAge = this.trap.VarBinds.index(2).Value + root.out.ietf.ospfv3NbrRestartHelperExitReason = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.9.1.15") + + root.out.object.name = "OSPFV3-MIB::ospfv3NbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.9.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3NbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,Integer") + root.out.ietf.ospfv3NbrIfIndex = root.TEMP.ospfv3NbrEntry.index(0).string() + root.out.ietf.ospfv3NbrIfInstId = root.TEMP.ospfv3NbrEntry.index(1).string() + root.out.ietf.ospfv3NbrRtrId = root.TEMP.ospfv3NbrEntry.index(2).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", interface: ifIndex " + root.out.ietf.ospfv3NbrIfIndex + ", instance: " + root.out.ietf.ospfv3NbrIfInstId + ", neighbor: " + root.out.ietf.ospfv3NbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrRestartHelperStatusChange" + root.out.event.category.name = "OSPF neighbor graceful restart helper state" + + - switch: + - check: metadata("ospfv3NbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF neighbor graceful restart helper not helping: " + root.out.ietf.ospfv3NbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfv3NbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF neighbor graceful restart helper helping: " + root.out.ietf.ospfv3NbrRestartHelperExitReason + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor graceful restart helper unknown: " + root.out.ietf.ospfv3NbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3NbrRestartHelperStatusChange-unknown" + root.out.event.category.name = "OSPF neighbor graceful restart helper state" + root.out.event.message = "OSPF neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for ospfv3NbrRestartHelperStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 14 + # ospfv3VirtNbrRestartHelperStatusChange + # + # An ospfv3VirtNbrRestartHelperStatusChange notification signifies that there has been a change in the graceful + # restart helper state for the virtual neighbor. + # + # ospfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # ospfv3VirtNbrRestartHelperStatus (INTEGER) - Indicates whether the router is acting as a graceful restart helper + # for the neighbor. + # ospfv3VirtNbrRestartHelperAge (Unsigned32) - Remaining time in the current OSPF graceful restart interval, if the + # router is acting as a restart helper for the neighbor. + # ospfv3VirtNbrRestartHelperExitReason (INTEGER) - Describes the outcome of the last attempt at acting as a graceful + # restart helper for the neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.191.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.191.1.11.1.13") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.191.1.11.1.14") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.191.1.11.1.15") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta ospfv3VirtNbrRestartHelperStatus = this.trap.VarBinds.index(1).Value + + root.out.ietf.ospfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.ietf.ospfv3VirtNbrRestartHelperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.11.1.13") + root.out.ietf.ospfv3VirtNbrRestartHelperAge = this.trap.VarBinds.index(2).Value + root.out.ietf.ospfv3VirtNbrRestartHelperExitReason = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.191.1.11.1.15") + + root.out.object.name = "OSPFV3-MIB::ospfv3VirtNbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.2.1.191.1.11.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.ospfv3VirtNbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.ietf.ospfv3VirtNbrArea = root.TEMP.ospfv3VirtNbrEntry.index(0).string() + root.out.ietf.ospfv3VirtNbrRtrId = root.TEMP.ospfv3VirtNbrEntry.index(1).string() + root.out.object.label = "router: " + root.out.ietf.ospfv3RouterId + ", area: " + root.out.ietf.ospfv3VirtNbrArea + ", neighbor: " + root.out.ietf.ospfv3VirtNbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrRestartHelperStatusChange" + root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" + + - switch: + - check: metadata("ospfv3VirtNbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper not helping: " + root.out.ietf.ospfv3VirtNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("ospfv3VirtNbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper helping: " + root.out.ietf.ospfv3VirtNbrRestartHelperExitReason + root.out.event.severity.code = 1 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor graceful restart helper state unknown: " + root.out.ietf.ospfv3VirtNbrRestartHelperExitReason + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-ospfv3VirtNbrRestartHelperStatusChange-unknown" + root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" + root.out.event.message = "OSPF virtual neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for ospfv3VirtNbrRestartHelperStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + if this.trap.VarBinds.length() > 12 { + root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID + root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() + } + if this.trap.VarBinds.length() > 13 { + root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID + root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() + } + if this.trap.VarBinds.length() > 14 { + root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID + root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + } + if this.trap.VarBinds.length() > 15 { + root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID + root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + } + }}}}}}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-unknown" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-ospfv3MIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF OSPFV3-MIB-ospfv3MIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/PIM-MIB-pimMIBObjects.yml b/traps/rules/ietf/PIM-MIB-pimMIBObjects.yml new file mode 100644 index 00000000..18341d1a --- /dev/null +++ b/traps/rules/ietf/PIM-MIB-pimMIBObjects.yml @@ -0,0 +1,177 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF PIM-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # pimNeighborLoss + # + # A pimNeighborLoss trap signifies the loss of an adjacency with a neighbor. This trap should be generated when the + # neighbor timer expires, and the router has no other neighbors on the same interface with a lower IP address than + # itself. + # + # pimNeighborIfIndex (Integer32) - The value of ifIndex for the interface used to reach this PIM neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.3.61.1.1.3.1.2") { + meta varbinds_ok = true + }} + + root.out.event.class.name = "SNMPTRAP-PIM-MIB-pimMIBObjects-pimNeighborLoss" + root.out.event.id = "SNMPTRAP-PIM-MIB-pimMIBObjects-pimNeighborLoss" + root.out.event.category.name = "PIM neighbor state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.pimNeighborIfIndex = this.trap.VarBinds.index(0).Value.string() + + root.out.object.name = "PIM-MIB::pimNeighborEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.3.61.1.1.3.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "interface: ifIndex " + root.out.ietf.pimNeighborIfIndex + ", neighbor: " + root.out.object.index + + root.out.event.message = "PIM neighbor adjacency lost" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + }}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "PIM neighbor adjacency lost - UNEXPECTED VARBINDS for pimNeighborLoss trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-PIM-MIB-pimMIBObjects-unknown" + root.out.event.id = "SNMPTRAP-PIM-MIB-pimMIBObjects-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF PIM-MIB-pimMIBObjects" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/PTOPO-MIB-ptopoMIBNotifications.yml b/traps/rules/ietf/PTOPO-MIB-ptopoMIBNotifications.yml new file mode 100644 index 00000000..f0da1f31 --- /dev/null +++ b/traps/rules/ietf/PTOPO-MIB-ptopoMIBNotifications.yml @@ -0,0 +1,232 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF PTOPO-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # ptopoConfigChange + # + # A ptopoConfigChange notification is sent when the value of ptopoLastChangeTime changes. + # + # ptopoConnTabInserts (Counter32) - The number of times an entry has been inserted into the ptopoConnTable. + # ptopoConnTabDeletes (Counter32) - The number of times an entry has been deleted from the ptopoConnTable. + # ptopoConnTabDrops (Counter32) - The number of times an entry would have been added to the ptopoConnTable, (e.g., + # via information learned from a topology protocol), but was not because of insufficient resources. + # ptopoConnTabAgeouts (Counter32) - The number of times an entry has been deleted from the ptopoConnTable because + # the information timeliness interval for that entry has expired. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.79.1.2.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.79.1.2.3") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.2.1.79.1.2.4") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.2.1.79.1.2.5") { + meta varbinds_ok = true + }}}}} + + root.out.event.class.name = "SNMPTRAP-PTOPO-MIB-ptopoMIBNotifications-ptopoConfigChange" + root.out.event.id = "SNMPTRAP-PTOPO-MIB-ptopoMIBNotifications-ptopoConfigChange" + root.out.event.category.name = "physical topology change" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.ptopoConnTabInserts = this.trap.VarBinds.index(0).Value + root.out.ietf.ptopoConnTabDeletes = this.trap.VarBinds.index(1).Value + root.out.ietf.ptopoConnTabDrops = this.trap.VarBinds.index(2).Value + root.out.ietf.ptopoConnTabAgeouts = this.trap.VarBinds.index(3).Value + + root.out.object.name = "PTOPO-MIB::ptopoGeneral" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.message = "physical topology changed" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "physical topology changed - UNEXPECTED VARBINDS for ptopoConfigChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-PTOPO-MIB-ptopoMIBNotifications-unknown" + root.out.event.id = "SNMPTRAP-PTOPO-MIB-ptopoMIBNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF PTOPO-MIB-ptopoMIBNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/Printer-MIB-printerV1Alert.yml b/traps/rules/ietf/Printer-MIB-printerV1Alert.yml index b380082e..d215a348 100644 --- a/traps/rules/ietf/Printer-MIB-printerV1Alert.yml +++ b/traps/rules/ietf/Printer-MIB-printerV1Alert.yml @@ -60,7 +60,7 @@ root.out.event.message = root.out.ietf.prtAlertGroup + ": " + root.out.ietf.prtAlertCode - switch: - - check: metadata("") == 1 + - check: metadata("prtAlertSeverityLevel") == 1 processors: - mapping: |- #!blobl @@ -69,7 +69,7 @@ root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - - check: metadata("") == 3 + - check: metadata("prtAlertSeverityLevel") == 3 processors: - mapping: |- #!blobl @@ -78,7 +78,7 @@ root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - - check: metadata("") == 4 + - check: metadata("prtAlertSeverityLevel") == 4 processors: - mapping: |- #!blobl @@ -87,7 +87,7 @@ root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - - check: metadata("") == 5 + - check: metadata("prtAlertSeverityLevel") == 5 processors: - mapping: |- #!blobl diff --git a/traps/rules/ietf/RDBMS-MIB-rdbmsTraps.yml b/traps/rules/ietf/RDBMS-MIB-rdbmsTraps.yml deleted file mode 100644 index 1fcdbb53..00000000 --- a/traps/rules/ietf/RDBMS-MIB-rdbmsTraps.yml +++ /dev/null @@ -1,116 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "RDBMS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: rdbms_state_change_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.rdbmsRelState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.39.1.9.1.1") - - label: rdbms_state_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-RDBMS-MIB-rdbmsStateChange" - root.out.event.id = "SNMPTRAP-IETF-RDBMS-MIB-rdbmsStateChange" - root.out.event.category.name = "Database Status" - root.out.object.name = "rdbmsRelEntry.39.2" - - label: rdbms_state_change_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: rdbms_state_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Status: Other" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: rdbms_state_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Active" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: rdbms_state_change_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Available" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: rdbms_state_change_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Restricted, Administratively Unavailable" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 5 - processors: - - label: rdbms_state_change_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Unavailable" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - processors: - - label: rdbms_state_change_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Database Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: rdbms_state_change_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: rdbms_out_of_space_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.rdbmsSrvInfoDiskOutOfSpaces = this.trap.VarBinds.index(0).Value - - label: rdbms_out_of_space_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-IETF-RDBMS-MIB-rdbmsOutOfSpace" - root.out.event.id = "SNMPTRAP-IETF-RDBMS-MIB-rdbmsOutOfSpace" - root.out.event.category.name = "Disk Space Availability" - root.out.object.name = "rdbmsSrvInfoEntry.2" - root.out.event.message = "Database Server Unable to Allocate Disk Space" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/RSVP-MIB-rsvpNotifications.yml b/traps/rules/ietf/RSVP-MIB-rsvpNotifications.yml deleted file mode 100644 index a253776a..00000000 --- a/traps/rules/ietf/RSVP-MIB-rsvpNotifications.yml +++ /dev/null @@ -1,52 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "RSVP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: new_flow_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.intSrvFlowStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.52.1.2.1.25") - root.out.IETF.rsvpSessionDestAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.rsvpResvFwdStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.51.1.5.1.28") - root.out.IETF.rsvpResvStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.51.1.4.1.28") - root.out.IETF.rsvpSenderStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.2.1.51.1.2.1.44") - - label: new_flow_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RSVP Flow Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.52.1.2.1.25").string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "New Flow Installed in Classifier" - - check: this.trap.SpecificTrap == 2 - processors: - - label: lost_flow_variables - mapping: |- - #!blobl - root = this - - root.out.IETF.intSrvFlowStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.52.1.2.1.25") - root.out.IETF.rsvpSessionDestAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.IETF.rsvpResvFwdStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.51.1.5.1.28") - root.out.IETF.rsvpResvStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.51.1.4.1.28") - root.out.IETF.rsvpSenderStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.2.1.51.1.2.1.44") - - label: lost_flow_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RSVP Flow Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.52.1.2.1.25").string() + "." + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = "Flow Removed from Classifier" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/ietf/TE-MIB-teMIB.yml b/traps/rules/ietf/TE-MIB-teMIB.yml new file mode 100644 index 00000000..c5fcf103 --- /dev/null +++ b/traps/rules/ietf/TE-MIB-teMIB.yml @@ -0,0 +1,497 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF TE-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # teTunnelUp + # + # A teTunnelUp notification is generated when the Tunnel indexed by teTunnelName transitions to the 'up' state. + # + # teTunnelName (SnmpAdminString) - Name of the Traffic Tunnel. + # tePathName (SnmpAdminString) - The name of this path. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.122.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.122.1.3.1.2") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-TE-MIB-teMIB-teTunnelUp" + root.out.event.id = "SNMPTRAP-TE-MIB-teMIB-teTunnelUp" + root.out.event.category.name = "TE tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.teTunnelName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.tePathName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "TE-MIB::teTunnelEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.122.1.2.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "tunnel: " + root.out.ietf.teTunnelName + ", path: " + root.out.ietf.tePathName + + root.out.event.message = "TE tunnel up" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TE tunnel up - UNEXPECTED VARBINDS for teTunnelUp trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 2 + # teTunnelDown + # + # A teTunnelDown notification is generated when the Tunnel indexed by teTunnelName transitions to the 'down' state. + # + # teTunnelName (SnmpAdminString) - Name of the Traffic Tunnel. + # tePathName (SnmpAdminString) - The name of this path. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.122.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.122.1.3.1.2") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-TE-MIB-teMIB-teTunnelDown" + root.out.event.id = "SNMPTRAP-TE-MIB-teMIB-teTunnelDown" + root.out.event.category.name = "TE tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.teTunnelName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.tePathName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "TE-MIB::teTunnelEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.122.1.2.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "tunnel: " + root.out.ietf.teTunnelName + ", path: " + root.out.ietf.tePathName + + root.out.event.message = "TE tunnel down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TE tunnel down - UNEXPECTED VARBINDS for teTunnelDown trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 3 + # teTunnelChanged + # + # A teTunnelChanged notification is generated when an active path on the Tunnel indexed by teTunnelName changes or a + # new path becomes active. The value of tePathName is the new active path. + # + # teTunnelName (SnmpAdminString) - Name of the Traffic Tunnel. + # tePathName (SnmpAdminString) - The name of this path. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.122.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.122.1.3.1.2") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-TE-MIB-teMIB-teTunnelChanged" + root.out.event.id = "SNMPTRAP-TE-MIB-teMIB-teTunnelChanged" + root.out.event.category.name = "TE tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.teTunnelName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.tePathName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "TE-MIB::teTunnelEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.122.1.2.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "tunnel: " + root.out.ietf.teTunnelName + ", path: " + root.out.ietf.tePathName + + root.out.event.message = "TE tunnel changed" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TE tunnel changed - UNEXPECTED VARBINDS for teTunnelChanged trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 4 + # teTunnelRerouted + # + # A teTunnelRerouted notification is generated when an active path for the Tunnel indexed by teTunnelName stays the + # same, but its route changes. + # + # teTunnelName (SnmpAdminString) - Name of the Traffic Tunnel. + # tePathName (SnmpAdminString) - The name of this path. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.122.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.122.1.3.1.2") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-TE-MIB-teMIB-teTunnelRerouted" + root.out.event.id = "SNMPTRAP-TE-MIB-teMIB-teTunnelRerouted" + root.out.event.category.name = "TE tunnel state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.teTunnelName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.tePathName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "TE-MIB::teTunnelEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.122.1.2.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "tunnel: " + root.out.ietf.teTunnelName + ", path: " + root.out.ietf.tePathName + + root.out.event.message = "TE tunnel re-routed" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TE tunnel re-routed - UNEXPECTED VARBINDS for teTunnelRerouted trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-TE-MIB-teMIB-unknown" + root.out.event.id = "SNMPTRAP-TE-MIB-teMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF TE-MIB-teMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/TRILL-OAM-MIB-trillOamMib.yml b/traps/rules/ietf/TRILL-OAM-MIB-trillOamMib.yml new file mode 100644 index 00000000..7cac85ea --- /dev/null +++ b/traps/rules/ietf/TRILL-OAM-MIB-trillOamMib.yml @@ -0,0 +1,241 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF TRILL-OAM-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # trillOamFaultAlarm + # + # A MEP flow has a persistent defect condition. + # + # trillOamMepDbFlowState (INTEGER) - The operational state of the remote MEP (flow-based) IFF State machines. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.238.1.1.5.1.3") { + meta varbinds_ok = true + }} + + root.out.event.class.name = "SNMPTRAP-TRILL-OAM-MIB-trillOamMib-trillOamFaultAlarm" + root.out.event.id = "SNMPTRAP-TRILL-OAM-MIB-trillOamMib-trillOamFaultAlarm" + root.out.event.category.name = "TRILL remote MEP state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta trillOamMepDbFlowState = this.trap.VarBinds.index(0).Value + + root.out.ietf.trillOamMepDbFlowState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.2.1.238.1.1.5.1.3") + + root.out.object.name = "IEEE8021-CFM-MIB::dot1agCfmMepDbEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.2.1.238.1.1.5.1.3") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.TEMP.dot1agCfmMepDbEntry = root.out.object.index.snmp_oid_extract_index("Unsigned32,Unsigned32,Unsigned32,Unsigned32") + root.out.ieee.dot1agCfmMdIndex = root.TEMP.dot1agCfmMepDbEntry.index(0).string() + root.out.ieee.dot1agCfmMaIndex = root.TEMP.dot1agCfmMepDbEntry.index(1).string() + root.out.ieee.dot1agCfmMepIdentifier = root.TEMP.dot1agCfmMepDbEntry.index(2).string() + root.out.ieee.dot1agCfmMepDbRMepIdentifier = root.TEMP.dot1agCfmMepDbEntry.index(3).string() + root.out.object.label = "MD: " + root.out.ieee.dot1agCfmMdIndex + ", MA: " + root.out.ieee.dot1agCfmMaIndex + ", MEP: " + root.out.ieee.dot1agCfmMepIdentifier + ", remote MEP: " + root.out.ieee.dot1agCfmMepDbRMepIdentifier + + - switch: + - check: metadata("trillOamMepDbFlowState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "TRILL remote MEP idle" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("trillOamMepDbFlowState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-start" + root.out.event.message = "TRILL remote MEP start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("trillOamMepDbFlowState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-failed" + root.out.event.message = "TRILL remote MEP failed" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("trillOamMepDbFlowState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-ok" + root.out.event.message = "TRILL remote MEP OK" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TRILL remote MEP fault" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "TRILL remote MEP fault - UNEXPECTED VARBINDS for trillOamFaultAlarm trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-TRILL-OAM-MIB-trillOamMib-unknown" + root.out.event.id = "SNMPTRAP-TRILL-OAM-MIB-trillOamMib-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF TRILL-OAM-MIB-trillOamMib" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/ietf/UPS-MIB-upsTraps.yml b/traps/rules/ietf/UPS-MIB-upsTraps.yml index a73f579d..8cb39936 100644 --- a/traps/rules/ietf/UPS-MIB-upsTraps.yml +++ b/traps/rules/ietf/UPS-MIB-upsTraps.yml @@ -56,7 +56,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" - check: this.trap.VarBinds.index(2).Value == 2 @@ -66,7 +66,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - check: this.trap.VarBinds.index(2).Value == 3 @@ -76,7 +76,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.VarBinds.index(2).Value == 4 @@ -86,7 +86,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - check: this.trap.VarBinds.index(2).Value == 5 @@ -96,7 +96,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - check: this.trap.VarBinds.index(2).Value == 6 @@ -106,7 +106,7 @@ #!blobl root = this - root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + root.out.event.message = "UPS Test " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.33.1.7.3").string() + ", " + this.trap.VarBinds.index(3).Value.snmp_display_string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - label: ups_trap_test_completed_rules_3 diff --git a/traps/rules/ietf/VPLS-LDP-MIB-vplsLdpMIB.yml b/traps/rules/ietf/VPLS-LDP-MIB-vplsLdpMIB.yml new file mode 100644 index 00000000..eec3e9b8 --- /dev/null +++ b/traps/rules/ietf/VPLS-LDP-MIB-vplsLdpMIB.yml @@ -0,0 +1,187 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "IETF VPLS-LDP-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # vplsLdpPwBindMacTableFull + # + # The vplsLdpPwBindMacTableFull notification is generated when the number of learned MAC addresses increases to the + # value specified in vplsLdpPwBindMacAddressLimit. + # + # vplsConfigName (SnmpAdminString) - A textual name of the VPLS. + # pwID (Unsigned32) - Pseudowire identifier. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.2.1.10.274.1.2.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.2.1.10.246.1.2.1.12") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-VPLS-LDP-MIB-vplsLdpMIB-vplsLdpPwBindMacTableFull" + root.out.event.id = "SNMPTRAP-VPLS-LDP-MIB-vplsLdpMIB-vplsLdpPwBindMacTableFull" + root.out.event.category.name = "VPLS pseudowire state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.ietf.vplsConfigName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.ietf.pwID = this.trap.VarBinds.index(1).Value.string() + + root.out.object.name = "PW-STD-MIB::pwEntry" + root.out.object.index = root.out.ietf.pwID + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "VPLS: " + root.out.ietf.vplsConfigName + ", pseudowire: " + root.out.ietf.pwID + + root.out.event.message = "VPLS pseudowire learned MAC address table full" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "VPLS pseudowire learned MAC address table full - UNEXPECTED VARBINDS for vplsLdpPwBindMacTableFull trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-VPLS-LDP-MIB-vplsLdpMIB-unknown" + root.out.event.id = "SNMPTRAP-VPLS-LDP-MIB-vplsLdpMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from IETF VPLS-LDP-MIB-vplsLdpMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/infovista/INFOVISTA-TRAP-MIB-InfoVista.yml b/traps/rules/infovista/INFOVISTA-TRAP-MIB-InfoVista.yml deleted file mode 100644 index 1d5e2e44..00000000 --- a/traps/rules/infovista/INFOVISTA-TRAP-MIB-InfoVista.yml +++ /dev/null @@ -1,107 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "INFOVISTA-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: ivtrap_warning_variables - mapping: |- - #!blobl - root = this - - root.out.infovista.instance = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.infovista.indicator = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.infovista.description = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.infovista.disprate = this.trap.VarBinds.index(3).Value - - label: ivtrap_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Instance: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ivtrap_minor_variables - mapping: |- - #!blobl - root = this - - root.out.infovista.instance = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.infovista.indicator = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.infovista.description = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.infovista.disprate = this.trap.VarBinds.index(3).Value - - label: ivtrap_minor_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Instance: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ivtrap_major_variables - mapping: |- - #!blobl - root = this - - root.out.infovista.instance = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.infovista.indicator = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.infovista.description = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.infovista.disprate = this.trap.VarBinds.index(3).Value - - label: ivtrap_major_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Instance: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ivtrap_normal_variables - mapping: |- - #!blobl - root = this - - root.out.infovista.instance = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.infovista.indicator = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.infovista.description = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.infovista.disprate = this.trap.VarBinds.index(3).Value - - label: ivtrap_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Instance: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ivtrap_critical_variables - mapping: |- - #!blobl - root = this - - root.out.infovista.instance = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.infovista.indicator = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.infovista.description = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.infovista.disprate = this.trap.VarBinds.index(3).Value - - label: ivtrap_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = "Instance: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/innomedia/INFOGATE-MIB-trapdescr.yml b/traps/rules/innomedia/INFOGATE-MIB-trapdescr.yml deleted file mode 100644 index 48d54aca..00000000 --- a/traps/rules/innomedia/INFOGATE-MIB-trapdescr.yml +++ /dev/null @@ -1,168 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "INFOGATE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: info_gate_trap_variables - mapping: |- - #!blobl - root = this - - root.out.innomedia.trapGateVal = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3354.1.1.1.2.3.1") - - label: info_gate_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "InfoGate Status" - root.out.object.name = "" - - label: info_gate_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: info_gate_trap_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Reset" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: info_gate_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Up" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: info_gate_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Down" - - processors: - - label: info_gate_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Status Unknown" - - label: info_gate_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: info_gate_gktrap_variables - mapping: |- - #!blobl - root = this - - root.out.innomedia.trapGateVal = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3354.1.1.1.2.3.1") - - label: info_gate_gktrap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "GateKeeper Status" - root.out.object.name = "" - - label: info_gate_gktrap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: info_gate_gktrap_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "GateKeeper Reset" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: info_gate_gktrap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "GateKeeper Up" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: info_gate_gktrap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "GateKeeper Down" - - processors: - - label: info_gate_gktrap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "GateKeeper Status Unknown" - - label: info_gate_gktrap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: info_gate_explicit_trap_variables - mapping: |- - #!blobl - root = this - - root.out.innomedia.trapExplicitGateVal = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3354.1.1.1.2.3.2") - - label: info_gate_explicit_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "InfoGate Explicit Status" - root.out.object.name = "" - - label: info_gate_explicit_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: info_gate_explicit_trap_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Explicitly Reset" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: info_gate_explicit_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Explicitly Up" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: info_gate_explicit_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Explicitly Down" - - processors: - - label: info_gate_explicit_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "InfoGate Explicit Status Unknown" - - label: info_gate_explicit_trap_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200DBChangeNotifications.yml b/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200DBChangeNotifications.yml deleted file mode 100644 index 53ceecea..00000000 --- a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200DBChangeNotifications.yml +++ /dev/null @@ -1,529 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "IPI-GSLAMAG-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cn4200dbchange_notifications_plugin_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_plugin_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cn4200dbchange_notifications_unplug_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_unplug_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cn4200dbchange_notifications_pe_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationPEPrimaryState = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.10") - root.out.internetphotonics.cn4200NotificationPESecondaryState = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.11") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_pe_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cn4200dbchange_notifications_rem_pe_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_rem_pe_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cn4200dbchange_notifications_switch_pe_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSwitchOverMode = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.12") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_switch_pe_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cn4200dbchange_notifications_prot_pesetting_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_prot_pesetting_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cn4200dbchange_notifications_prot_peconfig_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_prot_peconfig_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cn4200dbchange_notifications_crs_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_crs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cn4200dbchange_notifications_upd_snmptrap_svr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.snmpTrapServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.snmpTrapServerVersion = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.snmpTrapServerCommunity = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.snmpTrapServerPort = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_snmptrap_svr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cn4200dbchange_notifications_upd_snmpcommunity_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.snmpServerCommunityHost = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.snmpServerCommunityValue = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.snmpServerCommunityAccessType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.6.2.2.2.12.2.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_snmpcommunity_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cn4200dbchange_notifications_upd_name_svr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.nameServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_name_svr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cn4200dbchange_notifications_upd_dns_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.domainServerName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_dns_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cn4200dbchange_notifications_upd_radius_svr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.radiusServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.radiusServerSecret = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.radiusServerTimeout = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_radius_svr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cn4200dbchange_notifications_del_radius_svr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.radiusServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_del_radius_svr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: cn4200dbchange_notifications_upd_ntpsvr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.ntpServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.ntpServerKey = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.ntpServerVersion = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_ntpsvr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: cn4200dbchange_notifications_del_ntpsvr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.ntpServerIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_del_ntpsvr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: cn4200dbchange_notifications_upd_ntpauth_key_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.ntpAuthKeyId = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.ntpAuthKeyValue = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_ntpauth_key_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: cn4200dbchange_notifications_del_ntpauth_key_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.ntpAuthKeyId = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_del_ntpauth_key_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: cn4200dbchange_notifications_upd_ntptrust_key_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.ntpTrustedKeyId = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_ntptrust_key_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: cn4200dbchange_notifications_upd_tadrmap_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.gslamAGTAdrMapName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.gslamAGTAdrMapIP = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.gslamAGTAdrMapPortNumber = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_tadrmap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: cn4200dbchange_notifications_del_tadrmap_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.gslamAGTAdrMapName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_del_tadrmap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: cn4200dbchange_notifications_upd_eccroute_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperDestNetwork = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperGateway = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationHelperNetmask = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationHelperMetric = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_eccroute_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: cn4200dbchange_notifications_upd_sid_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperSID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: cn4200dbchange_notifications_upd_sid_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200Notifications.yml b/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200Notifications.yml deleted file mode 100644 index eccfedd1..00000000 --- a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200Notifications.yml +++ /dev/null @@ -1,4189 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "IPI-GSLAMAG-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cn4200notification_ais_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_ais_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationAIS" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationAIS" - root.out.event.category.name = "AIS Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Alarm Iindication Signal" - - label: cn4200notification_ais_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_ais_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_ais_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_ais_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_ais_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cn4200notification_battery_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationBATTERY" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationBATTERY" - root.out.event.category.name = "Battery Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Battery Failure ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cn4200notification_cgm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_cgm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCGM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCGM" - root.out.event.category.name = "Concatenation Group Match Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Concatenation Group Mismatch" - - label: cn4200notification_cgm_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_cgm_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_cgm_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_cgm_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_cgm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cn4200notification_clfan_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_clfan_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCLFAN" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCLFAN" - root.out.event.category.name = "Cooling Fan Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Cooling Fan Failure" - - label: cn4200notification_clfan_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_clfan_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_clfan_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_clfan_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_clfan_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cn4200notification_eoc_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_eoc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEOC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEOC" - root.out.event.category.name = "Embedded Operations Channel Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Embedded Operations Channel Failure ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cn4200notification_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_eqpt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEQPT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEQPT" - root.out.event.category.name = "Equipment Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Equipment Failure" - - label: cn4200notification_eqpt_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_eqpt_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_eqpt_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_eqpt_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_eqpt_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cn4200notification_extcont_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_extcont_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEXTCONT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEXTCONT" - root.out.event.category.name = "External Condition Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "External Condition Activated ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cn4200notification_fa_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_fa_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFA" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFA" - root.out.event.category.name = "Fuse Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Fuse Alarm ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cn4200notification_facterm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_facterm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFACTERM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFACTERM" - root.out.event.category.name = "Facility/Circuit Termination Equipment Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Facility/Circuit Termination Equipment Failure" - - label: cn4200notification_facterm_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_facterm_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_facterm_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_facterm_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_facterm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cn4200notification_frcdwkswpr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_frcdwkswpr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDWKSWPR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDWKSWPR" - root.out.event.category.name = "Working Switch Protection Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Forced Working Switch to Protection ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cn4200notification_freememlow_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_freememlow_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFREEMEMLOW" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFREEMEMLOW" - root.out.event.category.name = "Free Memory Status" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Free Memory Low ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cn4200notification_frngsync_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_frngsync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRNGSYNC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRNGSYNC" - root.out.event.category.name = "Synchronization Mode Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Free Running Synchronization Mode ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cn4200notification_hitemp_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_hitemp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationHITEMP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationHITEMP" - root.out.event.category.name = "High Temperature Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "High Temperature" - - label: cn4200notification_hitemp_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_hitemp_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_hitemp_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_hitemp_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_hitemp_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cn4200notification_impropmvl_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_impropmvl_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationIMPROPMVL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationIMPROPMVL" - root.out.event.category.name = "Removal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Improper Removal" - - label: cn4200notification_impropmvl_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_impropmvl_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_impropmvl_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_impropmvl_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_impropmvl_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: cn4200notification_init_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationInitLevel = this.trap.VarBinds.index(5).Value - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(8).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(9).Value.snmp_octet_string() - - label: cn4200notification_init_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINIT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINIT" - root.out.event.category.name = "Initialization Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Initialization: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - - label: cn4200notification_init_rules_2 - switch: - - check: this.trap.VarBinds.index(6).Value == 1 - processors: - - label: cn4200notification_init_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: cn4200notification_init_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(6).Value == 3 - processors: - - label: cn4200notification_init_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_init_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: cn4200notification_lck_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lck_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLCK" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLCK" - root.out.event.category.name = "Channel Lock Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Channel Administratively Locked" - - label: cn4200notification_lck_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lck_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lck_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lck_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lck_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: cn4200notification_lockoutofpr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lockoutofpr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOCKOUTOFPR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOCKOUTOFPR" - root.out.event.category.name = "Protection Lock Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Lockout of Protection" - - label: cn4200notification_lockoutofpr_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lockoutofpr_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lockoutofpr_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lockoutofpr_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lockoutofpr_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: cn4200notification_lof_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lof_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOF" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOF" - root.out.event.category.name = "Frame Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Frame" - - label: cn4200notification_lof_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lof_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lof_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lof_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lof_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: cn4200notification_logbufrovfl_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationLogName = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.30") - - label: cn4200notification_logbufrovfl_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOGBUFROVFL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOGBUFROVFL" - root.out.event.category.name = "Log Buffer Status" - root.out.object.name = "Log: " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.30").string() - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Log Buffer Overflow ( " + root.out.object.name + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: cn4200notification_logbufrth_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationLogName = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.30") - - label: cn4200notification_logbufrth_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOGBUFRTH" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOGBUFRTH" - root.out.event.category.name = "Log Buffer Usage Threshold" - root.out.object.name = "Log: " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.30").string() - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Log Buffer Usage Exceeds Threshold ( " + root.out.object.name + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: cn4200notification_lom_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lom_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOM" - root.out.event.category.name = "Multiframe Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Multiframe" - - label: cn4200notification_lom_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lom_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lom_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lom_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lom_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: cn4200notification_lop_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lop_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOP" - root.out.event.category.name = "Pointer Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Pointer" - - label: cn4200notification_lop_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lop_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lop_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lop_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lop_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: cn4200notification_los_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_los_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOS" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOS" - root.out.event.category.name = "Signal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Signal" - - label: cn4200notification_los_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_los_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_los_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_los_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_los_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: cn4200notification_lpbkfacility_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_lpbkfacility_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLPBKFACILITY" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLPBKFACILITY" - root.out.event.category.name = "Facility Loopback Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Facility Looped Back ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: cn4200notification_lpbkterm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_lpbkterm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLPBKTERM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLPBKTERM" - root.out.event.category.name = "Terminal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Terminal Looped Back ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: cn4200notification_manwkswpr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_manwkswpr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationMANWKSWPR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationMANWKSWPR" - root.out.event.category.name = "Manual Protection Switch Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Manual Switch to Protection ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: cn4200notification_misc_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_misc_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationMISC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationMISC" - root.out.event.category.name = "Miscellaneous Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Miscellaneous Condition" - - label: cn4200notification_misc_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_misc_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_misc_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_misc_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_misc_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: cn4200notification_ndplnk_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_ndplnk_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNK" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNK" - root.out.event.category.name = "NDP Neighbor Link Cabling Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "NDP Neighbor Link Cabling Error" - - label: cn4200notification_ndplnk_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_ndplnk_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_ndplnk_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_ndplnk_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_ndplnk_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: cn4200notification_ndplnkup_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.gslamAGExternalConnectionLocalIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.gslamAGExternalConnectionLocalUMIC = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationHelperLocalPEType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.26") - root.out.internetphotonics.cn4200NotificationHelperLocalPEOID = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeIP = this.trap.VarBinds.index(4).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteIP = this.trap.VarBinds.index(5).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteUMIC = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.2.2.2.1.1.6") - root.out.internetphotonics.gslamAGExternalConnectionLocalNodeTID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeTID = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperLocalPEAID = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperRemotePEAID = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: cn4200notification_ndplnkup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNKUP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNKUP" - root.out.event.category.name = "NDP Neighbor Link Status" - root.out.object.name = "gslamAGExternalConnectionEntry.9.3.2" - root.out.event.message = $cn4200NotificationHelperPEType " - root.out.event.message = root.out.event.message + "NDP Neighbor Link Up ( Neighbor: " + this.trap.VarBinds.index(4).Value.string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 30 - processors: - - label: cn4200notification_ndplnkdn_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.gslamAGExternalConnectionLocalIP = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.gslamAGExternalConnectionLocalUMIC = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationHelperLocalPEType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.26") - root.out.internetphotonics.cn4200NotificationHelperLocalPEOID = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeIP = this.trap.VarBinds.index(4).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteIP = this.trap.VarBinds.index(5).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteUMIC = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.2.2.2.1.1.6") - root.out.internetphotonics.gslamAGExternalConnectionLocalNodeTID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.internetphotonics.gslamAGExternalConnectionRemoteNodeTID = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperLocalPEAID = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperRemotePEAID = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: cn4200notification_ndplnkdn_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNKDN" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDPLNKDN" - root.out.event.category.name = "NDP Neighbor Link Status" - root.out.object.name = "gslamAGExternalConnectionEntry.9.3.2" - root.out.event.message = $cn4200NotificationHelperPEType " - root.out.event.message = root.out.event.message + "NDP Neighbor Link Down ( Neighbor: " + this.trap.VarBinds.index(4).Value.string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 31 - processors: - - label: cn4200notification_ndp_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_ndp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNDP" - root.out.event.category.name = "NDP Neighbor Discovery Config. Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "NDP Neighbor Discovery Misconfiguration ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: cn4200notification_ntpsync_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200notification_ntpsync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNTPSYNC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationNTPSYNC" - root.out.event.category.name = "NTP Syncronization Status" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "NTP Syncronization Failure" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: cn4200notification_oci_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_oci_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOCI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOCI" - root.out.event.category.name = "Open Matrix Connection Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Open Matrix Connection Defect" - - label: cn4200notification_oci_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_oci_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_oci_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_oci_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_oci_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: cn4200notification_oslink_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_oslink_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOSLINK" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOSLINK" - root.out.event.category.name = "Management Link Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Management Link Failed ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: cn4200notification_pdi_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_pdi_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPDI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPDI" - root.out.event.category.name = "Payload Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Payload Defect Indication" - - label: cn4200notification_pdi_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_pdi_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_pdi_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_pdi_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_pdi_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: cn4200notification_plm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_plm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPLM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPLM" - root.out.event.category.name = "Payload Label Match Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Payload Label Mismatch for Path" - - label: cn4200notification_plm_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_plm_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_plm_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_plm_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_plm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: cn4200notification_prcdrerr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_prcdrerr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPRCDRERR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPRCDRERR" - root.out.event.category.name = "Procedure Attribute Match Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Procedure Error, Attribute Mismatch" - - label: cn4200notification_prcdrerr_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_prcdrerr_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_prcdrerr_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_prcdrerr_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_prcdrerr_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: cn4200notification_pwrrestart_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_pwrrestart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWRRESTART" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWRRESTART" - root.out.event.category.name = "Power Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Power Fail Restart ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: cn4200notification_rfi_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_rfi_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationRFI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationRFI" - root.out.event.category.name = "Remote Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Remote Failure Indication" - - label: cn4200notification_rfi_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_rfi_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_rfi_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_rfi_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_rfi_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: cn4200notification_roll_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_roll_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationROLL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationROLL" - root.out.event.category.name = "Roll Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Roll in Progress ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: cn4200notification_sdber_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_sdber_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSDBER" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSDBER" - root.out.event.category.name = "Signal BER Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Signal Degrade Due to BER" - - label: cn4200notification_sdber_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_sdber_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_sdber_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_sdber_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_sdber_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: cn4200notification_sfber_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_sfber_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFBER" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFBER" - root.out.event.category.name = "Signal BER Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Signal Failure Due to BER" - - label: cn4200notification_sfber_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_sfber_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_sfber_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_sfber_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_sfber_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: cn4200notification_sft_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_sft_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFT" - root.out.event.category.name = "Software Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Software or Operating System Alarm ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: cn4200notification_sftwdn_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200notification_sftwdn_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFTWDN" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSFTWDN" - root.out.event.category.name = "Software Download Status" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Software Download In Progress" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: cn4200notification_sync_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_sync_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNC" - root.out.event.category.name = "Synchronization Link Timing Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Timing on Synchronization Link ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: cn4200notification_thshvlt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationMonTypeAndDir = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.5") - root.out.internetphotonics.cn4200NotificationHelperMonValue = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperMonThreshold = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_thshvlt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTHSHVLT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTHSHVLT" - root.out.event.category.name = "Threshold Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Threshold Violation ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: cn4200notification_tim_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_tim_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTIM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTIM" - root.out.event.category.name = "Trace Identifier Message Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Trace Identifier Message Defect" - - label: cn4200notification_tim_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_tim_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_tim_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_tim_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_tim_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: cn4200notification_rebooted_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_rebooted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationREBOOTED" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationREBOOTED" - root.out.event.category.name = "Reboot Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Reboot Completed" - - label: cn4200notification_rebooted_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_rebooted_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_rebooted_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_rebooted_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_rebooted_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: cn4200notification_wkswpr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_wkswpr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationWKSWPR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationWKSWPR" - root.out.event.category.name = "Protection Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Protection Switch ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: cn4200notification_wtr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_wtr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationWTR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationWTR" - root.out.event.category.name = "Wait-to-Restore Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Wait-to-Restore Interval ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: cn4200notification_aco_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - - label: cn4200notification_aco_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationACO" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationACO" - root.out.event.category.name = "Alarm Cutoff Status" - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Alarm Cutoff Active" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 52 - processors: - - label: cn4200notification_upm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_upm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationUPM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationUPM" - root.out.event.category.name = "User Payload Match Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "User Payload Mismatch" - - label: cn4200notification_upm_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_upm_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_upm_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_upm_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_upm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 53 - processors: - - label: cn4200notification_autorestart_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_autorestart_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationAUTORESTART" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationAUTORESTART" - root.out.event.category.name = "Reset Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Automatic Reset ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 54 - processors: - - label: cn4200notification_deg_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_deg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDEG" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDEG" - root.out.event.category.name = "Signal BER Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Signal Degrade, Excessive Bit Error Rate" - - label: cn4200notification_deg_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: cn4200notification_deg_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: cn4200notification_deg_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: cn4200notification_deg_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_deg_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 55 - processors: - - label: cn4200notification_inhmsg_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_inhmsg_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINHMSG" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINHMSG" - root.out.event.category.name = "Autonomous Message Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Autonomous Messages Inhibited ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 56 - processors: - - label: cn4200notification_intrusion_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_intrusion_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINTRUSION" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINTRUSION" - root.out.event.category.name = "Intrusion Attempt Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Intrusion Attempt Suspected ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 57 - processors: - - label: cn4200notification_relmig_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_relmig_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationRELMIG" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationRELMIG" - root.out.event.category.name = "Release Migration Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Release Migration ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 58 - processors: - - label: cn4200notification_tuidage_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_tuidage_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTUIDAGE" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTUIDAGE" - root.out.event.category.name = "User Account Activity Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "User Account Inactivity Timeout ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 59 - processors: - - label: cn4200notification_cfgerr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_cfgerr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCFGERR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationCFGERR" - root.out.event.category.name = "Configuration Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Configuration Error ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 60 - processors: - - label: cn4200notification_pwrloadbal_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_pwrloadbal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWRLOADBAL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWRLOADBAL" - root.out.event.category.name = "Power Module Load Balance Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Power Module Load Balance Error ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 61 - processors: - - label: cn4200notification_pwr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_pwr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPWR" - root.out.event.category.name = "Power Module Voltage Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Voltage Threshold on Power Module ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 62 - processors: - - label: cn4200notification_lowtemp_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_lowtemp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOWTEMP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOWTEMP" - root.out.event.category.name = "Low Temperature Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Low Temperature" - - label: cn4200notification_lowtemp_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lowtemp_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lowtemp_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lowtemp_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lowtemp_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 63 - processors: - - label: cn4200notification_exm_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_exm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEXM" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationEXM" - root.out.event.category.name = "Extension Header Match Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Extension Header Mismatch" - - label: cn4200notification_exm_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_exm_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_exm_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_exm_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_exm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 64 - processors: - - label: cn4200notification_dataflt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_dataflt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDATAFLT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDATAFLT" - root.out.event.category.name = "Firmware Program Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Unable to Program Firmware" - - label: cn4200notification_dataflt_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_dataflt_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_dataflt_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_dataflt_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_dataflt_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 65 - processors: - - label: cn4200notification_intmsgerr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_intmsgerr_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINTMSGERR" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationINTMSGERR" - root.out.event.category.name = "Internal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Internal Message Error" - - label: cn4200notification_intmsgerr_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_intmsgerr_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_intmsgerr_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_intmsgerr_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_intmsgerr_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 66 - processors: - - label: cn4200notification_lfd_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_lfd_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLFD" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLFD" - root.out.event.category.name = "Frame Delineation Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Frame Delineation" - - label: cn4200notification_lfd_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lfd_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lfd_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lfd_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lfd_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 67 - processors: - - label: cn4200notification_almckt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_almckt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationALMCKT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationALMCKT" - root.out.event.category.name = "Alarm Circuit Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Alarm Circuit Failure ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 68 - processors: - - label: cn4200notification_feed_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_feed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFEED" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFEED" - root.out.event.category.name = "Dual Power Feed Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Dual Power Feed Detected ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 69 - processors: - - label: cn4200notification_timps_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_timps_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTIMPS" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTIMPS" - root.out.event.category.name = "Timing Source Protection Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Timing Source Protection Switch ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 70 - processors: - - label: cn4200notification_syncpri_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_syncpri_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCPRI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCPRI" - root.out.event.category.name = "Primary Synchronization Link Timing Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Timing on Primary Synchronization Link ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 71 - processors: - - label: cn4200notification_syncsec_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_syncsec_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCSEC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCSEC" - root.out.event.category.name = "Secondary Synchronization Link Timing Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Timing on Secondary Synchronization Link ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 72 - processors: - - label: cn4200notification_dcmfail_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_dcmfail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDCMFAIL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationDCMFAIL" - root.out.event.category.name = "DCM Connection Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "DCM Connection Failure" - - label: cn4200notification_dcmfail_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_dcmfail_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_dcmfail_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_dcmfail_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_dcmfail_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 73 - processors: - - label: cn4200notification_optpwrcntrl_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_optpwrcntrl_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOPTPWRCNTRL" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationOPTPWRCNTRL" - root.out.event.category.name = "Optical Power Level Control Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Optical Power Level Control Failure" - - label: cn4200notification_optpwrcntrl_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_optpwrcntrl_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_optpwrcntrl_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_optpwrcntrl_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_optpwrcntrl_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 74 - processors: - - label: cn4200notification_teccurrent_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_teccurrent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTECCURRENT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationTECCURRENT" - root.out.event.category.name = "Laser TEC Current Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Laser TEC Current High" - - label: cn4200notification_teccurrent_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_teccurrent_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_teccurrent_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_teccurrent_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_teccurrent_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 75 - processors: - - label: cn4200notification_pumpcurrent_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_pumpcurrent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPUMPCURRENT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationPUMPCURRENT" - root.out.event.category.name = "Laser Pump Current Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Laser Pump Current High" - - label: cn4200notification_pumpcurrent_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_pumpcurrent_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_pumpcurrent_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_pumpcurrent_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_pumpcurrent_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Affected LP: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 76 - processors: - - label: cn4200notification_lofo_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_lofo_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOFO" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOFO" - root.out.event.category.name = "OSC Frame Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "OSC Loss of Frame" - - label: cn4200notification_lofo_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_lofo_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_lofo_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_lofo_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_lofo_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 77 - processors: - - label: cn4200notification_loso_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_loso_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOSO" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOSO" - root.out.event.category.name = "OSC Signal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "OSC Loss of Signal" - - label: cn4200notification_loso_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_loso_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_loso_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_loso_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_loso_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 78 - processors: - - label: cn4200notification_losp_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(7).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(8).Value.snmp_octet_string() - - label: cn4200notification_losp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOSP" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationLOSP" - root.out.event.category.name = "Payload Signal Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Payload Loss of Signal" - - label: cn4200notification_losp_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_losp_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_losp_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_losp_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_losp_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 79 - processors: - - label: cn4200notification_remoteflt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_remoteflt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationREMOTEFLT" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationREMOTEFLT" - root.out.event.category.name = "Remote Fault Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Remote Fault Ordered Set" - - label: cn4200notification_remoteflt_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: cn4200notification_remoteflt_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: cn4200notification_remoteflt_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: cn4200notification_remoteflt_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31").string() - - label: cn4200notification_remoteflt_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 80 - processors: - - label: cn4200notification_syncoos_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedLP = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationAffectedSourceIP = this.trap.VarBinds.index(6).Value - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(7).Value.snmp_octet_string() - - label: cn4200notification_syncoos_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCOOS" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSYNCOOS" - root.out.event.category.name = "Pri. & Sec. Sync. Links Timing Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Loss of Timing on Primary & Secondary Synchronization Links ( Affected LP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + ", " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(7).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 81 - processors: - - label: cn4200notification_asddisabled_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_asddisabled_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationASDDISABLED" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationASDDISABLED" - root.out.event.category.name = "Auto-Laser Shutdown Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Auto-Laser Shutdown Disabled ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 82 - processors: - - label: cn4200notification_swtopri_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_swtopri_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSWTOPRI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSWTOPRI" - root.out.event.category.name = "Primary Clock Synchronization Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Synchronization Switch to Primary Clock ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 83 - processors: - - label: cn4200notification_swtosec_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_swtosec_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSWTOSEC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationSWTOSEC" - root.out.event.category.name = "Secondary Clock Synchronization Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Synchronization Switch to Secondary Clock ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 84 - processors: - - label: cn4200notification_frcdswtopri_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_frcdswtopri_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDSWTOPRI" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDSWTOPRI" - root.out.event.category.name = "Primary Clock Synchronization Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Forced Synchronization Switch to Primary Clock ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 85 - processors: - - label: cn4200notification_frcdswtosec_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_frcdswtosec_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDSWTOSEC" - root.out.event.id = "SNMPTRAP-internetphotonics-IPI-GSLAMAG-MIB-cn4200NotificationFRCDSWTOSEC" - root.out.event.category.name = "Secondary Clock Synchronization Status" - root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2").string() + " " - root.out.event.message = root.out.event.message + "Forced Synchronization Switch to Secondary Clock ( " - root.out.event.message = root.out.event.message + root.out.object.name + " )" - root.out.event.message = root.out.event.message + "PE AID: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() + " )" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 86 - processors: - - label: cn4200notification_swtoint_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_swtoint_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 87 - processors: - - label: cn4200notification_glocs_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_glocs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 88 - processors: - - label: cn4200notification_grdi_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200notification_grdi_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 89 - processors: - - label: cn4200notification_localflt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_localflt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 90 - processors: - - label: cn4200notification_svcerr_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_svcerr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 91 - processors: - - label: cn4200notification_aisl_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(0).Value - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperAction = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.3") - root.out.internetphotonics.cn4200NotificationHelperSev = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.4") - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperServiceIndicator = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.31") - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200notification_aisl_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200SetFailNotifications.yml b/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200SetFailNotifications.yml deleted file mode 100644 index 935cf35e..00000000 --- a/traps/rules/internetphotonics/IPI-GSLAMAG-MIB-cn4200SetFailNotifications.yml +++ /dev/null @@ -1,432 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "IPI-GSLAMAG-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: gslam_agset_fail_notification_ent_crs_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationCktID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(4).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: gslam_agset_fail_notification_ent_crs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: cn4200set_fail_notification_del_crs_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationCktID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(4).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200set_fail_notification_del_crs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: cn4200set_fail_notification_ed_crs_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationCktID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(4).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(6).Value.snmp_octet_string() - - label: cn4200set_fail_notification_ed_crs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: cn4200set_fail_notification_ent_prot_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_ent_prot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: cn4200set_fail_notification_del_prot_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_del_prot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: cn4200set_fail_notification_ed_prot_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_ed_prot_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: cn4200set_fail_notification_prot_switch_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_prot_switch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: cn4200set_fail_notification_alw_sw_dx_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_alw_sw_dx_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: cn4200set_fail_notification_inh_sw_dx_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationLPID = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationSourceEqptAddr = this.trap.VarBinds.index(2).Value - root.out.internetphotonics.cn4200NotificationDestEqptAddr = this.trap.VarBinds.index(3).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(5).Value.snmp_octet_string() - - label: cn4200set_fail_notification_inh_sw_dx_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: cn4200set_fail_notification_init_sys_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_init_sys_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: cn4200set_fail_notification_ent_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_ent_eqpt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: cn4200set_fail_notification_del_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_del_eqpt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: cn4200set_fail_notification_ed_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_ed_eqpt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: cn4200set_fail_notification_rmv_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_rmv_eqpt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: cn4200set_fail_notification_rst_eqpt_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_rst_eqpt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: cn4200set_fail_notification_opr_lpbk_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_opr_lpbk_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: cn4200set_fail_notification_rls_lpbk_variables - mapping: |- - #!blobl - root = this - - root.out.internetphotonics.cn4200NotificationHelperPEType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.7737.7.2.9.3.1.2") - root.out.internetphotonics.cn4200NotificationHelperPEOID = this.trap.VarBinds.index(1).Value - root.out.internetphotonics.cn4200NotificationDesc = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationFailureReason = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.internetphotonics.cn4200NotificationHelperPEAID = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: cn4200set_fail_notification_rls_lpbk_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/internetphotonics/IPI-MEMMGMT-MIB-ipiMemMgmtNotifications.yml b/traps/rules/internetphotonics/IPI-MEMMGMT-MIB-ipiMemMgmtNotifications.yml index 29d4eb0c..d5a091d8 100644 --- a/traps/rules/internetphotonics/IPI-MEMMGMT-MIB-ipiMemMgmtNotifications.yml +++ b/traps/rules/internetphotonics/IPI-MEMMGMT-MIB-ipiMemMgmtNotifications.yml @@ -108,7 +108,7 @@ #!blobl root = this - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - check: this.trap.SpecificTrap == 2 processors: @@ -215,7 +215,7 @@ #!blobl root = this - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - check: this.trap.SpecificTrap == 3 processors: @@ -235,9 +235,9 @@ root.out.event.class.name = "SNMPTRAP-internetphotonics-IPI-MEMMGMT-MIB-rfileXferStatusReport" root.out.event.id = "SNMPTRAP-internetphotonics-IPI-MEMMGMT-MIB-rfileXferStatusReport" root.out.event.category.name = "Remote File Transfer Status" - root.out.object.name = "File: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + root.out.object.name = "File: " + this.trap.VarBinds.index(1).Value.snmp_octet_string() root.out.event.message = "Remote File Transfer" - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" @@ -261,7 +261,7 @@ root.out.event.category.name = "Software Download Status" root.out.object.name = "PE OID: " + this.trap.VarBinds.index(0).Value.string() root.out.event.message = "Software Download " - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_octet_string() root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" diff --git a/traps/rules/internetphotonics/IPI-OAMP-MIB-ipiOampEvents.yml b/traps/rules/internetphotonics/IPI-OAMP-MIB-ipiOampEvents.yml index f6ee0236..a89eebb1 100644 --- a/traps/rules/internetphotonics/IPI-OAMP-MIB-ipiOampEvents.yml +++ b/traps/rules/internetphotonics/IPI-OAMP-MIB-ipiOampEvents.yml @@ -20,7 +20,7 @@ root.out.event.id = "SNMPTRAP-internetphotonics-IPI-OAMP-MIB-nodeDown" root.out.event.category.name = "SNMP Agent Status" root.out.object.name = "" - root.out.event.message = "SNMP Agent Shutting Down, " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + root.out.event.message = "SNMP Agent Shutting Down, " + this.trap.VarBinds.index(0).Value.snmp_octet_string() root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - check: this.trap.SpecificTrap == 2 diff --git a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcBacnetTraps.yml b/traps/rules/johnsoncontrols/JCImSeries-MIB-opcBacnetTraps.yml deleted file mode 100644 index 16c65515..00000000 --- a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcBacnetTraps.yml +++ /dev/null @@ -1,2330 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JCImSeries-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: bacnet_device_failure_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: bacnet_device_failure_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: bacnet_device_failure_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: bacnet_device_failure_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: bacnet_device_failure_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: bacnet_device_failure_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: bacnet_hvac_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_hvac_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: bacnet_hvac_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_hvac_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: bacnet_hvac_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_hvac_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: bacnet_fire_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_fire_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: bacnet_fire_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_fire_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: bacnet_fire_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_fire_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: bacnet_security_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_security_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: bacnet_security_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_security_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: bacnet_security_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_security_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: bacnet_services_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_services_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: bacnet_services_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_services_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: bacnet_services_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_services_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: bacnet_admin_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_admin_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: bacnet_admin_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_admin_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: bacnet_admin_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(23).Value - - label: bacnet_admin_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: bacnet_general_alarm_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_alarm_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: bacnet_general_alarm_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_alarm_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: bacnet_general_alarm_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_alarm_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: bacnet_general_event_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_event_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: bacnet_general_event_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_event_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: bacnet_general_event_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_general_event_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: bacnet_panel_event_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_event_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: bacnet_panel_event_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_event_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: bacnet_panel_event_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_event_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: bacnet_panel_hwstatus_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_hwstatus_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: bacnet_panel_hwstatus_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_hwstatus_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: bacnet_panel_hwstatus_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_panel_hwstatus_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: bacnet_host_log_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: bacnet_host_log_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: bacnet_host_log_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: bacnet_host_log_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: bacnet_host_log_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: bacnet_host_log_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: bacnet_output_point_status_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_output_point_status_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: bacnet_output_point_status_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_output_point_status_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: bacnet_output_point_status_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_output_point_status_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: bacnet_input_point_status_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_input_point_status_active_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: bacnet_input_point_status_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_input_point_status_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: bacnet_input_point_status_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ackComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.completeAcknowledge = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.reliability = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(21).Value - - label: bacnet_input_point_status_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: bacnet_hvac_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_hvac_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 41 - processors: - - label: bacnet_fire_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_fire_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: bacnet_security_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_security_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: bacnet_services_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_services_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: bacnet_admin_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.propertyName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.unit = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_admin_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: bacnet_access_grant_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.badgeTrace = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.badgeNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.issueLevel = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.timedOverride = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.facilityCode = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.direction = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(22).Value - - label: bacnet_access_grant_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: bacnet_access_deny_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.badgeTrace = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.badgeNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.issueLevel = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.timedOverride = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.facilityCode = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.direction = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(22).Value - - label: bacnet_access_deny_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: bacnet_card_trace_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.badgeTrace = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.badgeNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.issueLevel = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.timedOverride = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.facilityCode = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.direction = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(22).Value - - label: bacnet_card_trace_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: bacnet_taaccess_grant_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.badgeTrace = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.badgeNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.timedOverride = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.direction = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.functionKey = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.barcodeAttach = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(22).Value - - label: bacnet_taaccess_grant_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: bacnet_output_point_status_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(15).Value - - label: bacnet_output_point_status_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 50 - processors: - - label: bacnet_input_point_status_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.propertyValue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(15).Value - - label: bacnet_input_point_status_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 51 - processors: - - label: bacnet_audit_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: bacnet_audit_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 52 - processors: - - label: bacnet_host_event_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: bacnet_host_event_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 53 - processors: - - label: bacnet_host_log_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.userName = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.auditItemName = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.pegasysEventName = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.errorLogType = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: bacnet_host_log_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 54 - processors: - - label: bacnet_host_logic_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.triggerCode = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.triggerText = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.triggerValue = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: bacnet_host_logic_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 55 - processors: - - label: bacnet_panel_event_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(15).Value - - label: bacnet_panel_event_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 56 - processors: - - label: bacnet_panel_hwstatus_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.bacnetEventType = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.vendorIdentifier = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.areas = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.fromState = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.terminalName = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(15).Value - - label: bacnet_panel_hwstatus_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 57 - processors: - - label: bacnet_comm_error_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(10).Value - - label: bacnet_comm_error_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 58 - processors: - - label: bacnet_general_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(10).Value - - label: bacnet_general_simple_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcN1Traps.yml b/traps/rules/johnsoncontrols/JCImSeries-MIB-opcN1Traps.yml deleted file mode 100644 index 43f5af16..00000000 --- a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcN1Traps.yml +++ /dev/null @@ -1,1125 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JCImSeries-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: n1hvac_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1hvac_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 2 - processors: - - label: n1hvac_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1hvac_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " ) Normal" - root.out.event.message = root.out.event.message + " Normal" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 3 - processors: - - label: n1hvac_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1hvac_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 4 - processors: - - label: n1fire_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(13).Value - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1fire_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(8).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(7).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(8).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 5 - processors: - - label: n1fire_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1fire_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " ) Normal" - root.out.event.message = root.out.event.message + " Normal" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 6 - processors: - - label: n1fire_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1fire_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 7 - processors: - - label: n1services_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1services_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 8 - processors: - - label: n1services_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1services_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " ) Normal" - root.out.event.message = root.out.event.message + " Normal" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 9 - processors: - - label: n1services_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1services_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 10 - processors: - - label: n1security_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1security_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 11 - processors: - - label: n1security_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.cardNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1security_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Normal" - root.out.event.message = root.out.event.message + ": Operator - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 12 - processors: - - label: n1security_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.cardNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(19).Value - - label: n1security_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ": Operator - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 13 - processors: - - label: n1admin_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1admin_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 14 - processors: - - label: n1admin_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1admin_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " ) Normal" - root.out.event.message = root.out.event.message + " Normal" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 15 - processors: - - label: n1admin_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1admin_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 16 - processors: - - label: n1general_active_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1general_active_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 17 - processors: - - label: n1general_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1general_inactive_conditional_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " ) Normal" - root.out.event.message = root.out.event.message + " Normal" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18 - processors: - - label: n1general_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.esjAckComment = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(18).Value - - label: n1general_conditional_event_acknowledged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(16).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(14).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 19 - processors: - - label: n1hvac_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1hvac_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 20 - processors: - - label: n1fire_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1fire_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21 - processors: - - label: n1services_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1services_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 22 - processors: - - label: n1security_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1security_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 23 - processors: - - label: n1admin_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1admin_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 24 - processors: - - label: n1general_simple_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(14).Value - - label: n1general_simple_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(13).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(9).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 25 - processors: - - label: n1hvac_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.originalDate = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.originalTime = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.reportDate = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.reportTime = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.location = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.deviceName = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.userID = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.accssLevel = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: n1hvac_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(21).Value.snmp_display_string().string() + ", User: " + this.trap.VarBinds.index(22).Value.snmp_display_string().string() + ", Access Level: " + this.trap.VarBinds.index(23).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 26 - processors: - - label: n1fire_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.reportDate = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.reportTime = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.location = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.deviceName = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.userID = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.accssLevel = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: n1fire_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(21).Value.snmp_display_string().string() + ", User: " + this.trap.VarBinds.index(22).Value.snmp_display_string().string() + ", Access Level: " + this.trap.VarBinds.index(23).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 27 - processors: - - label: n1services_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.originalDate = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.originalTime = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.reportDate = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.reportTime = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.location = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.deviceName = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.userID = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.accssLevel = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: n1services_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(13).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(21).Value.snmp_display_string().string() + ", User: " + this.trap.VarBinds.index(22).Value.snmp_display_string().string() + ", Access Level: " + this.trap.VarBinds.index(23).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 28 - processors: - - label: n1security_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.lastName = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.firstName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.cardNumber = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(17).Value - - label: n1security_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": Operator - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 29 - processors: - - label: n1admin_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.originalDate = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.originalTime = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.reportDate = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.reportTime = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.location = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.deviceName = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.userID = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.accssLevel = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: n1admin_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(21).Value.snmp_display_string().string() + ", User: " + this.trap.VarBinds.index(22).Value.snmp_display_string().string() + ", Access Level: " + this.trap.VarBinds.index(23).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 30 - processors: - - label: n1general_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.presentvalue = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.units = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.spclText = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.deviceTimePresent = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.johnsoncontrols.expandedID = this.trap.VarBinds.index(14).Value.snmp_display_string() - root.out.johnsoncontrols.originalDate = this.trap.VarBinds.index(15).Value.snmp_display_string() - root.out.johnsoncontrols.originalTime = this.trap.VarBinds.index(16).Value.snmp_display_string() - root.out.johnsoncontrols.featureStatus = this.trap.VarBinds.index(17).Value.snmp_display_string() - root.out.johnsoncontrols.reportDate = this.trap.VarBinds.index(18).Value.snmp_display_string() - root.out.johnsoncontrols.reportTime = this.trap.VarBinds.index(19).Value.snmp_display_string() - root.out.johnsoncontrols.location = this.trap.VarBinds.index(20).Value.snmp_display_string() - root.out.johnsoncontrols.deviceName = this.trap.VarBinds.index(21).Value.snmp_display_string() - root.out.johnsoncontrols.userID = this.trap.VarBinds.index(22).Value.snmp_display_string() - root.out.johnsoncontrols.accssLevel = this.trap.VarBinds.index(23).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(24).Value - - label: n1general_tracking_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(5).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ": " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(14).Value.snmp_display_string().string().replace_all("\\s+$", "") + " )" - root.out.event.message = root.out.event.message + ": " + this.trap.VarBinds.index(10).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " " + this.trap.VarBinds.index(11).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(12).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( Device: " + this.trap.VarBinds.index(21).Value.snmp_display_string().string() + ", User: " + this.trap.VarBinds.index(22).Value.snmp_display_string().string() + ", Access Level: " + this.trap.VarBinds.index(23).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcStandardTraps.yml b/traps/rules/johnsoncontrols/JCImSeries-MIB-opcStandardTraps.yml deleted file mode 100644 index e88e73e5..00000000 --- a/traps/rules/johnsoncontrols/JCImSeries-MIB-opcStandardTraps.yml +++ /dev/null @@ -1,174 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JCImSeries-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: opc_standard_active_general_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: opc_standard_active_general_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: opc_standard_inactive_conditional_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(12).Value - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: opc_standard_inactive_conditional_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: opc_standard_general_conditional_event_acknowledged_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcSubCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.johnsoncontrols.opcActorID = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(13).Value - - label: opc_standard_general_conditional_event_acknowledged_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: opc_standard_simple_notification_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(11).Value - - label: opc_standard_simple_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: opc_standard_tracking_event_variables - mapping: |- - #!blobl - root = this - - root.out.johnsoncontrols.opcSeverity = this.trap.VarBinds.index(0).Value - root.out.johnsoncontrols.opcCondition = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.johnsoncontrols.opcSource = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.johnsoncontrols.opcMessage = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.johnsoncontrols.opcTimeStamp = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventTypeText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.johnsoncontrols.opcEventCategoryText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.johnsoncontrols.opcActiveTime = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.johnsoncontrols.opcQualityText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.johnsoncontrols.opcNewStateText = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.johnsoncontrols.opcChangeMaskText = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.johnsoncontrols.opcAckRequired = this.trap.VarBinds.index(11).Value - root.out.johnsoncontrols.ifIndex = this.trap.VarBinds.index(12).Value - - label: opc_standard_tracking_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/APS-MIB-apsNotificationsPrefix.yml b/traps/rules/juniper/APS-MIB-apsNotificationsPrefix.yml deleted file mode 100644 index 3a73406d..00000000 --- a/traps/rules/juniper/APS-MIB-apsNotificationsPrefix.yml +++ /dev/null @@ -1,117 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "APS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: aps_event_switchover_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.apsChanStatusSwitchovers = this.trap.VarBinds.index(0).Value - root.out.juniper.apsChanStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.24.1.6.1.1") - - label: aps_event_switchover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-APS-MIB-apsEventSwitchover" - root.out.event.id = "SNMPTRAP-juniper-APS-MIB-apsEventSwitchover" - root.out.event.category.name = "APS Channel Status" - root.out.object.name = "apsChanStatusEntry..2" - root.out.event.message = "APS Channel Switchover ( Group: $String, Channel: 2 )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: aps_event_mode_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.apsStatusModeMismatches = this.trap.VarBinds.index(0).Value - root.out.juniper.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.24.1.2.1.3") - - label: aps_event_mode_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-APS-MIB-apsEventModeMismatch" - root.out.event.id = "SNMPTRAP-juniper-APS-MIB-apsEventModeMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Mode Mismatch ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: aps_event_channel_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.apsStatusChannelMismatches = this.trap.VarBinds.index(0).Value - root.out.juniper.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.24.1.2.1.3") - - label: aps_event_channel_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-APS-MIB-apsEventChannelMismatch" - root.out.event.id = "SNMPTRAP-juniper-APS-MIB-apsEventChannelMismatch" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Channel Mismatch ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: aps_event_psbf_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.apsStatusPSBFs = this.trap.VarBinds.index(0).Value - root.out.juniper.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.24.1.2.1.3") - - label: aps_event_psbf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-APS-MIB-apsEventPSBF" - root.out.event.id = "SNMPTRAP-juniper-APS-MIB-apsEventPSBF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Protection Switch Byte Failure ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 5 - processors: - - label: aps_event_feplf_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.apsStatusFEPLFs = this.trap.VarBinds.index(0).Value - root.out.juniper.apsStatusCurrent = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.24.1.2.1.3") - - label: aps_event_feplf_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-APS-MIB-apsEventFEPLF" - root.out.event.id = "SNMPTRAP-juniper-APS-MIB-apsEventFEPLF" - root.out.event.category.name = "APS Group Status" - root.out.object.name = "apsStatusEntry." - root.out.event.message = "APS Group Far-End Protection-Line Failure ( Group: $String )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseNotifications.yml b/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseNotifications.yml deleted file mode 100644 index 364eb09e..00000000 --- a/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseNotifications.yml +++ /dev/null @@ -1,211 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BGP4-V2-MIB-JUNIPER" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_bgp_m2established_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxBgpM2PeerLocalAddrType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.6") - root.out.juniper.jnxBgpM2PeerLocalAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerRemoteAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.10") - root.out.juniper.jnxBgpM2PeerRemoteAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerLastErrorReceived = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerState = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") - - label: jnx_bgp_m2established_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-BGP4-V2-MIB-JUNIPER-jnxBgpM2Established" - root.out.event.id = "SNMPTRAP-juniper-BGP4-V2-MIB-JUNIPER-jnxBgpM2Established" - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "jnxBgpM2PeerEntry." - - label: jnx_bgp_m2established_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value == 1 - processors: - - label: jnx_bgp_m2established_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(5).Value == 2 - processors: - - label: jnx_bgp_m2established_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value == 3 - processors: - - label: jnx_bgp_m2established_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value == 4 - processors: - - label: jnx_bgp_m2established_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value == 5 - processors: - - label: jnx_bgp_m2established_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value == 6 - processors: - - label: jnx_bgp_m2established_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: jnx_bgp_m2established_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: jnx_bgp_m2established_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( BGP Peer: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_bgp_m2backward_transition_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxBgpM2PeerLocalAddrType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.6") - root.out.juniper.jnxBgpM2PeerLocalAddr = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerRemoteAddrType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.10") - root.out.juniper.jnxBgpM2PeerRemoteAddr = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerLastErrorReceived = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerLastErrorReceivedText = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.juniper.jnxBgpM2PeerState = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") - - label: jnx_bgp_m2backward_transition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-BGP4-V2-MIB-JUNIPER-jnxBgpM2BackwardTransition" - root.out.event.id = "SNMPTRAP-juniper-BGP4-V2-MIB-JUNIPER-jnxBgpM2BackwardTransition" - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "jnxBgpM2PeerEntry." - - label: jnx_bgp_m2backward_transition_rules_2 - switch: - - check: this.trap.VarBinds.index(6).Value == 1 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(6).Value == 2 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(6).Value == 3 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(6).Value == 4 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(6).Value == 5 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(6).Value == 6 - processors: - - label: jnx_bgp_m2backward_transition_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: jnx_bgp_m2backward_transition_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: jnx_bgp_m2backward_transition_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( BGP Peer: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars.yml b/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars.yml new file mode 100644 index 00000000..73006ad6 --- /dev/null +++ b/traps/rules/juniper/BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars.yml @@ -0,0 +1,611 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper BGP4-V2-MIB-JUNIPER" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxBgpM2Established + # + # The BGP Established event is generated when the BGP FSM enters the ESTABLISHED state. + # + # jnxBgpM2PeerLocalAddrType (INTEGER) - The address family of the local end of the peering session. + # jnxBgpM2PeerLocalAddr (InetAddress) - The address of the local end of the peering session. + # jnxBgpM2PeerRemoteAddrType (INTEGER) - The address family of the remote end of the peering session. + # jnxBgpM2PeerRemoteAddr (InetAddress) - The address of the remote end of the peering session. + # jnxBgpM2PeerLastErrorReceived (OCTET STRING) - The last error code and subcode received by this BGP Speaker via a + # NOTIFICATION message for this peer. + # jnxBgpM2PeerState (INTEGER) - The remote BGP peer's FSM state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 5 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.6") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.7") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.10") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.11") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.2.1.1.1") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") { + meta varbinds_ok = true + }}}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxBgpM2PeerState = this.trap.VarBinds.index(5).Value + + root.out.juniper.jnxBgpM2PeerLocalAddr = this.trap.VarBinds.index(1).Value.snmp_inet_address(this.trap.VarBinds.index(0).Value) + root.out.juniper.jnxBgpM2PeerRemoteAddr = this.trap.VarBinds.index(3).Value.snmp_inet_address(this.trap.VarBinds.index(2).Value) + root.out.juniper.jnxBgpM2PeerLastErrorReceived = this.trap.VarBinds.index(4).Value.snmp_octet_string() + root.out.juniper.jnxBgpM2PeerState = this.trap.VarBinds.index(5).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") + + root.out.object.name = "BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerEntry" + root.out.object.index = this.trap.VarBinds.index(5).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxBgpM2PeerEntry = root.out.object.index.snmp_oid_extract_index("Integer") + root.out.juniper.jnxBgpM2PeerRoutingInstance = root.TEMP.jnxBgpM2PeerEntry.index(0).string() + root.out.object.label = "VRF: " + root.out.juniper.jnxBgpM2PeerRoutingInstance + ", local: " + root.out.juniper.jnxBgpM2PeerLocalAddr + ", peer: " + root.out.juniper.jnxBgpM2PeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2Established" + root.out.event.id = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2Established" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("jnxBgpM2PeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxBgpM2PeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + }}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2Established" + root.out.event.id = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2Established-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer established - UNEXPECTED VARBINDS for jnxBgpM2Established trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 2 + # jnxBgpM2BackwardTransition + # + # The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower + # numbered state. + # + # jnxBgpM2PeerLocalAddrType (INTEGER) - The address family of the local end of the peering session. + # jnxBgpM2PeerLocalAddr (InetAddress) - The address of the local end of the peering session. + # jnxBgpM2PeerRemoteAddrType (INTEGER) - The address family of the remote end of the peering session. + # jnxBgpM2PeerRemoteAddr (InetAddress) - The address of the remote end of the peering session. + # jnxBgpM2PeerLastErrorReceived (OCTET STRING) - The last error code and subcode received by this BGP Speaker via a + # NOTIFICATION message for this peer. + # jnxBgpM2PeerLastErrorReceivedText (SnmpAdminString) - This object contains an implementation specific explanation + # of the error that was reported. + # jnxBgpM2PeerState (INTEGER) - The remote BGP peer's FSM state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 6 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.6") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.7") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.10") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.11") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.2.1.1.1") { + if this.trap.VarBinds.index(5).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.2.1.1.5") { + if this.trap.VarBinds.index(6).OID.has_prefix(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") { + meta varbinds_ok = true + }}}}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxBgpM2PeerState = this.trap.VarBinds.index(6).Value + + root.out.juniper.jnxBgpM2PeerLocalAddr = this.trap.VarBinds.index(1).Value.snmp_inet_address(this.trap.VarBinds.index(0).Value) + root.out.juniper.jnxBgpM2PeerRemoteAddr = this.trap.VarBinds.index(3).Value.snmp_inet_address(this.trap.VarBinds.index(2).Value) + root.out.juniper.jnxBgpM2PeerLastErrorReceived = this.trap.VarBinds.index(4).Value.snmp_octet_string() + root.out.juniper.jnxBgpM2PeerLastErrorReceivedText = this.trap.VarBinds.index(5).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxBgpM2PeerState = this.trap.VarBinds.index(6).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") + + root.out.object.name = "BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerEntry" + root.out.object.index = this.trap.VarBinds.index(6).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxBgpM2PeerEntry = root.out.object.index.snmp_oid_extract_index("Integer") + root.out.juniper.jnxBgpM2PeerRoutingInstance = root.TEMP.jnxBgpM2PeerEntry.index(0).string() + root.out.object.label = "VRF: " + root.out.juniper.jnxBgpM2PeerRoutingInstance + ", local: " + root.out.juniper.jnxBgpM2PeerLocalAddr + ", peer: " + root.out.juniper.jnxBgpM2PeerRemoteAddr + + root.out.event.class.name = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2BackwardTransition" + root.out.event.id = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2BackwardTransition" + root.out.event.category.name = "BGP peer state" + + - switch: + - check: metadata("jnxBgpM2PeerState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-idle" + root.out.event.message = "BGP peer idle" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxBgpM2PeerState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-connect" + root.out.event.message = "BGP peer connect" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-active" + root.out.event.message = "BGP peer active" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-opensent" + root.out.event.message = "BGP peer open sent" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-openconfirm" + root.out.event.message = "BGP peer open confirm" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxBgpM2PeerState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-established" + root.out.event.message = "BGP peer established" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BGP peer state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("juniper.jnxBgpM2PeerLastErrorReceivedText") { + root.out.event.message + ", " + root.out.juniper.jnxBgpM2PeerLastErrorReceivedText + } + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + }}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2BackwardTransition" + root.out.event.id = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-jnxBgpM2BackwardTransition-unknown" + root.out.event.category.name = "BGP peer state" + root.out.event.message = "BGP peer state backward transition - UNEXPECTED VARBINDS for jnxBgpM2BackwardTransition trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + if this.trap.VarBinds.length() > 12 { + root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID + root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() + } + if this.trap.VarBinds.length() > 13 { + root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID + root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() + } + if this.trap.VarBinds.length() > 14 { + root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID + root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + } + if this.trap.VarBinds.length() > 15 { + root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID + root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + } + }}}}}}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-unknown" + root.out.event.id = "SNMPTRAP-BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper BGP4-V2-MIB-JUNIPER-jnxBgpM2BaseScalars" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-COLLECTOR-MIB-jnxCollNotification.yml b/traps/rules/juniper/JUNIPER-COLLECTOR-MIB-jnxCollNotification.yml deleted file mode 100644 index 6aa1534b..00000000 --- a/traps/rules/juniper/JUNIPER-COLLECTOR-MIB-jnxCollNotification.yml +++ /dev/null @@ -1,244 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-COLLECTOR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_coll_unavailable_dest_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyUrl = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyInetType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.2") - root.out.juniper.jnxCollNotifyInetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: jnx_coll_unavailable_dest_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnavailableDest" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnavailableDest" - root.out.event.category.name = "Collector Destination Status" - root.out.object.name = "PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", URL: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", Dest IP: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - root.out.event.message = "Unavailable Destination Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_coll_unavailable_dest_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyUrl = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyInetType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.2") - root.out.juniper.jnxCollNotifyInetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - - label: jnx_coll_unavailable_dest_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnavailableDestCleared" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnavailableDestCleared" - root.out.event.category.name = "Collector Destination Status" - root.out.object.name = "PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", URL: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", Dest IP: " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() - root.out.event.message = "End of Unavailable Destination Failure ( " + root.out.object.name + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: jnx_coll_unsuccessful_transfer_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyFile = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyUrl = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyInetType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.2") - root.out.juniper.jnxCollNotifyInetAddress = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.juniper.jnxCollNotifyError = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyFtpResultCode = this.trap.VarBinds.index(7).Value - root.out.juniper.jnxCollNotifyFtpErrorText = this.trap.VarBinds.index(8).Value.snmp_display_string() - - label: jnx_coll_unsuccessful_transfer_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnsuccessfulTransfer" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollUnsuccessfulTransfer" - root.out.event.category.name = "Collector File Transfer Status" - root.out.object.name = "PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", File: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", URL: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + ", Dest IP: " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string() - root.out.event.message = "Collector File Transfer Error, " + this.trap.VarBinds.index(6).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 4 - processors: - - label: jnx_coll_flow_overload_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollPicIfStateChangeDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyOverloadType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.12") - root.out.juniper.jnxCollNotifyNewRecordRate = this.trap.VarBinds.index(3).Value - root.out.juniper.jnxCollPicIfCreatedFiles = this.trap.VarBinds.index(4).Value - root.out.juniper.jnxCollPicIfDestroyedFiles = this.trap.VarBinds.index(5).Value - - label: jnx_coll_flow_overload_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollFlowOverload" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollFlowOverload" - root.out.event.category.name = "Collector Flow Status" - root.out.object.name = "jnxCollPicIfEntry.8" - root.out.event.message = "Collector Flow " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.12").string() + " ( PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - label: jnx_coll_flow_overload_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: jnx_coll_flow_overload_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: jnx_coll_flow_overload_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: jnx_coll_flow_overload_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - label: jnx_coll_flow_overload_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: jnx_coll_flow_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollPicIfStateChangeDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyOverloadType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.12") - root.out.juniper.jnxCollNotifyNewRecordRate = this.trap.VarBinds.index(3).Value - root.out.juniper.jnxCollPicIfCreatedFiles = this.trap.VarBinds.index(4).Value - root.out.juniper.jnxCollPicIfDestroyedFiles = this.trap.VarBinds.index(5).Value - - label: jnx_coll_flow_overload_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollFlowOverloadCleared" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollFlowOverloadCleared" - root.out.event.category.name = "Collector Flow Status" - root.out.object.name = "jnxCollPicIfEntry.8" - root.out.event.message = "End of Collector Flow " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.12").string() + " ( PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 6 - processors: - - label: jnx_coll_memory_unavailable_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollPicIfStateChangeDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyMemThresh = this.trap.VarBinds.index(2).Value - root.out.juniper.jnxCollNotifyMemUtil = this.trap.VarBinds.index(3).Value - root.out.juniper.jnxCollNotifyMemFree = this.trap.VarBinds.index(4).Value - - label: jnx_coll_memory_unavailable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollMemoryUnavailable" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollMemoryUnavailable" - root.out.event.category.name = "Collector Memory Status" - root.out.object.name = "jnxCollPicIfEntry.8" - root.out.event.message = "Collector Memory Unavailable ( PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 7 - processors: - - label: jnx_coll_memory_available_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollPicIfStateChangeDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyMemThresh = this.trap.VarBinds.index(2).Value - root.out.juniper.jnxCollNotifyMemUtil = this.trap.VarBinds.index(3).Value - root.out.juniper.jnxCollNotifyMemFree = this.trap.VarBinds.index(4).Value - - label: jnx_coll_memory_available_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollMemoryAvailable" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-COLLECTOR-MIB-jnxCollMemoryAvailable" - root.out.event.category.name = "Collector Memory Status" - root.out.object.name = "jnxCollPicIfEntry.8" - root.out.event.message = "End of Collector Memory Unavailable ( PIC: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 8 - processors: - - label: jnx_coll_ftp_switchover_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxCollNotifyDate = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxCollNotifyFromFtpServerInetType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.14") - root.out.juniper.jnxCollNotifyFromFtpServerInetAddress = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.juniper.jnxCollNotifyFromFtpServerType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.16") - root.out.juniper.jnxCollNotifyToFtpServerInetType = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.17") - root.out.juniper.jnxCollNotifyToFtpServerInetAddress = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.juniper.jnxCollNotifyToFtpServerType = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.19") - root.out.juniper.jnxCollNotifyInitiatedBy = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.2636.3.28.4.20") - - label: jnx_coll_ftp_switchover_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications.yml b/traps/rules/juniper/JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications.yml new file mode 100644 index 00000000..0ddbbb89 --- /dev/null +++ b/traps/rules/juniper/JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications.yml @@ -0,0 +1,182 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper JUNIPER-EX-MAC-NOTIFICATION-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxMacChangedNotification + # + # This notification is generated when there is enough MAC address information to fully occupy a maximum size SNMP + # trap message. This notification is also generated when there is at least one MAC address changed or removed and + # the amount of time elapsed from the previous notification is greater than the maximum wait time denoted by + # jnxNotificationInterval object. If there are more MAC addresses information than can fit into one + # cmmHistTrapContent object, then multiple notifications will be generated. + # + # jnxHistMacChangedMsg (OCTET STRING) - This object contains the information of a MAC change notification event. It + # consists of several tuples packed together. + # jnxHistTimestamp (TimeTicks) - The value of sysUpTime when the jnxMacChangedNotification containing the + # information denoted by the jnxHistMacChangedMsg object in this entry was generated. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.40.1.7.1.1.1.8.1.2") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.40.1.7.1.1.1.8.1.3") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications-jnxMacChangedNotification" + root.out.event.id = "SNMPTRAP-JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications-jnxMacChangedNotification" + root.out.event.category.name = "MAC address information change" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxHistMacChangedMsg = this.trap.VarBinds.index(0).Value.snmp_octet_string() + root.out.juniper.jnxHistTimestamp = this.trap.VarBinds.index(1).Value + + root.out.object.name = "JUNIPER-EX-MAC-NOTIFICATION-MIB::jnxMacHistoryEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.40.1.7.1.1.1.8.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.message = "MAC address information changed" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "MAC address information changed - UNEXPECTED VARBINDS for jnxMacChangedNotification trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications-unknown" + root.out.event.id = "SNMPTRAP-JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper JUNIPER-EX-MAC-NOTIFICATION-MIB-jnxMacNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-IF-MIB-ifJnxNotification.yml b/traps/rules/juniper/JUNIPER-IF-MIB-ifJnxNotification.yml new file mode 100644 index 00000000..f8b91e8e --- /dev/null +++ b/traps/rules/juniper/JUNIPER-IF-MIB-ifJnxNotification.yml @@ -0,0 +1,319 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper JUNIPER-IF-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # ifJnxErrors + # + # A ifJnxErrors notification is sent when the value of ifJnxCrcErrors or ifJnxFcsErrors increases. + # + # ifJnxCrcErrors (Counter64) - CRC Errors: The number of CRC errors + # ifJnxFcsErrors (Counter64) - FCS Errors: The number of FCS errors + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.1.1.32") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.1.1.33") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.ifJnxCrcErrors = this.trap.VarBinds.index(0).Value + root.out.juniper.ifJnxFcsErrors = this.trap.VarBinds.index(1).Value + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.3.1.1.32") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "interface: ifIndex " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxErrors" + root.out.event.id = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxErrors" + root.out.event.category.name = "interface error state" + root.out.event.message = "interface errors occurred" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxErrors" + root.out.event.id = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxErrors-unknown" + root.out.event.category.name = "interface errors state" + root.out.event.message = "interface errors occurred - UNEXPECTED VARBINDS for ifJnxErrors trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 2 + # ifJnxL2Errors + # + # A ifJnxL2Errors notification is sent when the value of ifJnxInL2ChanErrors increases. + # + # ifJnxInL2ChanErrors (Counter64) - L2 channel errors: the number of incoming packets for which the sofware could + # not find a valid logical interface. + # ifChassisFpc (Integer32) - The number of the FPC card on which the interface is located in the chassis. It is the + # chassis slot in which the FPC card is installed for the specified interface. + # ifChassisPic (Integer32) - The number of the PIC card on which the interface is located in the chassis. It is the + # PIC location on the FPC card for the specified interface. + # ifChassisPort (Integer32) - The number of the port on the PIC card on which the interface is located in the + # chassis. It is the port number on the PIC card for the specified interface. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.1.1.18") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.2.1.1") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.2.1.2") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.3.3.2.1.3") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.ifJnxInL2ChanErrors = this.trap.VarBinds.index(0).Value + root.out.juniper.ifChassisFpc = this.trap.VarBinds.index(1).Value + root.out.juniper.ifChassisPic = this.trap.VarBinds.index(2).Value + root.out.juniper.ifChassisPort = this.trap.VarBinds.index(3).Value + + root.TEMP.fpc = root.out.juniper.ifChassisFpc - 1 + root.TEMP.pic = root.out.juniper.ifChassisPic - 1 + root.TEMP.port = root.out.juniper.ifChassisPort - 1 + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index("1.3.6.1.4.1.2636.3.3.1.1.18") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "interface: ifIndex " + root.out.object.index + ", FPC: " + root.TEMP.fpc.string() + ", PIC: " + root.TEMP.pic.string() + ", port: " + root.TEMP.port.string() + + root.out.event.class.name = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxL2Errors" + root.out.event.id = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxL2Errors" + root.out.event.category.name = "interface layer-2 channel state" + root.out.event.message = "interface layer-2 channel errors occurred" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxL2Errors" + root.out.event.id = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-ifJnxL2Errors-unknown" + root.out.event.category.name = "interface layer-2 channel state" + root.out.event.message = "interface layer-2 channel errors occurred - UNEXPECTED VARBINDS for ifJnxL2Errors trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-unknown" + root.out.event.id = "SNMPTRAP-JUNIPER-IF-MIB-ifJnxNotification-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper JUNIPER-IF-MIB-ifJnxNotification" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications.yml b/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications.yml new file mode 100644 index 00000000..93fca91c --- /dev/null +++ b/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications.yml @@ -0,0 +1,511 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper JUNIPER-L2CP-FEATURES-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxPortRootProtectStateChangeTrap + # + # Generated when the ports Root-protect state (no-error or root-prevented) changes. + # + # jnxDot1dStpPortRootProtectState (Integer) - Indicates whether the port was prevented from being a root port. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.2") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxDot1dStpPortRootProtectState = this.trap.VarBinds.index(0).Value + + root.out.juniper.jnxDot1dStpPortRootProtectState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.2") + + root.out.object.name = "BRIDGE-MIB::dot1dStpPortEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "port: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortRootProtectStateChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortRootProtectStateChangeTrap" + root.out.event.category.name = "STP root protect state" + + - switch: + - check: metadata("jnxDot1dStpPortRootProtectState") == 0 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-noError" + root.out.event.message = "STP root protect, no error" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxDot1dStpPortRootProtectState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-rootPrevented" + root.out.event.message = "STP root protect, root prevented" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "STP root protect state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortRootProtectStateChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortRootProtectStateChangeTrap-unknown" + root.out.event.category.name = "STP root protect state" + root.out.event.message = "STP root protect state change - UNEXPECTED VARBINDS for jnxPortRootProtectStateChangeTrap trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # jnxPortLoopProtectStateChangeTrap + # + # Generated when the ports Loop-protect state (no-error or loop-prevented) changes. + # + # jnxDot1dStpPortLoopProtectState (INTEGER) - Indicates whether a potential Loop was prevented on the port. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.4") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxDot1dStpPortLoopProtectState = this.trap.VarBinds.index(0).Value + + root.out.juniper.jnxDot1dStpPortLoopProtectState = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.4") + + root.out.object.name = "BRIDGE-MIB::dot1dStpPortEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.53.1.1.1.1.1.4") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "port: " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortLoopProtectStateChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortLoopProtectStateChangeTrap" + root.out.event.category.name = "STP loop protect state" + + - switch: + - check: metadata("jnxDot1dStpPortLoopProtectState") == 0 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-noError" + root.out.event.message = "STP loop protect, no error" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxDot1dStpPortLoopProtectState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loopPrevented" + root.out.event.message = "STP loop protect, loop prevented" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "STP loop protect state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortLoopProtectStateChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortLoopProtectStateChangeTrap-unknown" + root.out.event.category.name = "STP loop protect state" + root.out.event.message = "STP loop protect state changed - UNEXPECTED VARBINDS for jnxPortLoopProtectStateChangeTrap trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 3 + # jnxPortBpduErrorStatusChangeTrap + # + # Generated when the ports BPDU error state (no-error or detected) changes. + # + # jnxL2cpPortBpduError (INTEGER) - Indicates whether a BPDU was received on the port. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.2.1.1.2") { + meta varbinds_ok = true + }} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxL2cpPortBpduError = this.trap.VarBinds.index(0).Value + + root.out.juniper.jnxL2cpPortBpduError = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.53.1.1.2.1.1.2") + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.53.1.1.2.1.1.2") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "interface: ifIndex " + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortBpduErrorStatusChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortBpduErrorStatusChangeTrap" + root.out.event.category.name = "BPDU error state" + + - switch: + - check: metadata("jnxL2cpPortBpduError") == 0 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-noError" + root.out.event.message = "BPDU no error" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxL2cpPortBpduError") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-detected" + root.out.event.message = "BPDU error detected" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "BPDU error state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortBpduErrorStatusChangeTrap" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-jnxPortBpduErrorStatusChangeTrap-unknown" + root.out.event.category.name = "BPDU error state" + root.out.event.message = "BPDU error state changed - UNEXPECTED VARBINDS for jnxPortBpduErrorStatusChangeTrap trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-unknown" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper JUNIPER-L2CP-FEATURES-MIB-jnxL2cpNotifications" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix.yml b/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix.yml new file mode 100644 index 00000000..f7a0cc93 --- /dev/null +++ b/traps/rules/juniper/JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix.yml @@ -0,0 +1,243 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper JUNIPER-L2CP-FEATURES-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxLacpTimeOut + # + # Lacp times out. + # + # jnxLacpInterfaceName (DisplayString) - Lacp member interface. + # jnxLacpifIndex (Integer32) - Snmp ifIndex of member interface. + # jnxLacpAggregateInterfaceName (DisplayString) - Lacp Aggregate interface. + # jnxLacpAggregateifIndex (Integer32) - Snmp ifIndex of Aggregator. + # jnxLacpAggPortActorOperState (DisplayString) - Port actor operational state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 4 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.3.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.3.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.3.3") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.3.4") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.4.1.2636.3.53.1.1.3.5") { + meta varbinds_ok = true + }}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxLacpInterfaceName = this.trap.VarBinds.index(0).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxLacpifIndex = this.trap.VarBinds.index(1).Value.string() + root.out.juniper.jnxLacpAggregateInterfaceName = this.trap.VarBinds.index(2).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxLacpAggregateifIndex = this.trap.VarBinds.index(3).Value.string() + root.out.juniper.jnxLacpAggPortActorOperState = this.trap.VarBinds.index(4).Value.snmp_octet_display_hint("255t") + + root.out.object.name = "IF-MIB::ifEntry" + root.out.object.index = root.out.juniper.jnxLacpifIndex + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "aggregate interface: " + root.out.juniper.jnxLacpAggregateInterfaceName + ", member interface: " + root.out.juniper.jnxLacpInterfaceName + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-jnxLacpTimeOut" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-jnxLacpTimeOut" + root.out.event.category.name = "interface LACP state" + root.out.event.message = "LACP timeout, " + root.out.juniper.jnxLacpAggPortActorOperState + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-jnxLacpTimeOut" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-jnxLacpTimeOut-unknown" + root.out.event.category.name = "interface LACP state" + root.out.event.message = "interface LACP timeout - UNEXPECTED VARBINDS for jnxLacpTimeOut trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + }}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-unknown" + root.out.event.id = "SNMPTRAP-JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper JUNIPER-L2CP-FEATURES-MIB-jnxLacpNotificationsPrefix" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-PING-MIB-jnxPingNotificationPrefix.yml b/traps/rules/juniper/JUNIPER-PING-MIB-jnxPingNotificationPrefix.yml deleted file mode 100644 index bec761ec..00000000 --- a/traps/rules/juniper/JUNIPER-PING-MIB-jnxPingNotificationPrefix.yml +++ /dev/null @@ -1,337 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-PING-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_ping_rtt_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinRttUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxRttUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgRttUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlRttThreshold = this.trap.VarBinds.index(12).Value - root.out.juniper.jnxPingResultsRttUs = this.trap.VarBinds.index(13).Value - - label: jnx_ping_rtt_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttThresholdExceeded" - root.out.event.category.name = "Ping RTT Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Round Trip Time, " + this.trap.VarBinds.index(13).Value.string() + ", Exceeded " + this.trap.VarBinds.index(12).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_ping_rtt_std_dev_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinRttUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxRttUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgRttUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlRttStdDevThreshold = this.trap.VarBinds.index(12).Value - root.out.juniper.jnxPingResultsStdDevRttUs = this.trap.VarBinds.index(13).Value - - label: jnx_ping_rtt_std_dev_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttStdDevThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttStdDevThresholdExceeded" - root.out.event.category.name = "Ping RTT Std. Dev. Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Round Trip Time Standard Deviation, " + this.trap.VarBinds.index(13).Value.string() + ", Exceeded " + this.trap.VarBinds.index(12).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: jnx_ping_rtt_jitter_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinRttUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxRttUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgRttUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlRttJitterThreshold = this.trap.VarBinds.index(12).Value - root.out.juniper.jnxPingResultsJitterRttUs = this.trap.VarBinds.index(13).Value - - label: jnx_ping_rtt_jitter_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttJitterThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingRttJitterThresholdExceeded" - root.out.event.category.name = "Ping RTT Jitter Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Round Trip Time Jitter, int($7) - int($6)us, Exceeded $jnxPingCtlRttStdDevThreshold ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: jnx_ping_egress_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinEgressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxEgressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgEgressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlEgressTimeThreshold = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingResultsEgressUs = this.trap.VarBinds.index(12).Value - - label: jnx_ping_egress_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressThresholdExceeded" - root.out.event.category.name = "Ping Egress Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Egress Time, " + this.trap.VarBinds.index(12).Value.string() + ", Exceeded " + this.trap.VarBinds.index(11).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 5 - processors: - - label: jnx_ping_egress_std_dev_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinEgressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxEgressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgEgressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingResultsStddevEgressUs = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingCtlEgressStdDevThreshold = this.trap.VarBinds.index(12).Value - root.out.juniper.jnxPingResultsStddevEgressUs = this.trap.VarBinds.index(13).Value - - label: jnx_ping_egress_std_dev_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressStdDevThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressStdDevThresholdExceeded" - root.out.event.category.name = "Ping Egress Std. Dev. Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Egress Time Standard Deviation, " + this.trap.VarBinds.index(13).Value.string() + ", Exceeded " + this.trap.VarBinds.index(12).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 6 - processors: - - label: jnx_ping_egress_jitter_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinEgressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxEgressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgEgressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlEgressJitterThreshold = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingResultsJitterEgressUs = this.trap.VarBinds.index(12).Value - - label: jnx_ping_egress_jitter_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressJitterThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingEgressJitterThresholdExceeded" - root.out.event.category.name = "Ping Egress Jitter Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Egress Time Jitter, int($7) - int($6)us, Exceeded " + this.trap.VarBinds.index(11).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 7 - processors: - - label: jnx_ping_ingress_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinIngressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxIngressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgIngressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlIngressTimeThreshold = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingResultsIngressUs = this.trap.VarBinds.index(12).Value - - label: jnx_ping_ingress_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressThresholdExceeded" - root.out.event.category.name = "Ping Ingress Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Ingress Time, " + this.trap.VarBinds.index(12).Value.string() + ", Exceeded " + this.trap.VarBinds.index(11).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 8 - processors: - - label: jnx_ping_ingress_stddev_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinIngressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxIngressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgIngressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlIngressStddevThreshold = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingResultsStddevIngressUs = this.trap.VarBinds.index(12).Value - - label: jnx_ping_ingress_stddev_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressStddevThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressStddevThresholdExceeded" - root.out.event.category.name = "Ping Ingress Std. Dev. Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Ingress Time Standard Deviation, " + this.trap.VarBinds.index(12).Value.string() + ", Exceeded " + this.trap.VarBinds.index(11).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 9 - processors: - - label: jnx_ping_ingress_jitter_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinIngressUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxIngressUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgIngressUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(10).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlIngressJitterThreshold = this.trap.VarBinds.index(11).Value - root.out.juniper.jnxPingResultsJitterIngressUs = this.trap.VarBinds.index(12).Value - - label: jnx_ping_ingress_jitter_threshold_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressJitterThresholdExceeded" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PING-MIB-jnxPingIngressJitterThresholdExceeded" - root.out.event.category.name = "Ping Ingress Jitter Threshold" - root.out.object.name = "pingCtlEntry." - root.out.event.message = "Ping Ingress Time Jitter, int($7) - int($6)us, Exceeded " + this.trap.VarBinds.index(11).Value.string() + " ( Target: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 10 - processors: - - label: jnx_ping_max_rtt_threshold_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.pingCtlTargetAddressType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.2.1.80.1.2.1.3") - root.out.juniper.pingCtlTargetAddress = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.pingResultsOperStatus = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.1") - root.out.juniper.pingResultsIpTargetAddressType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.2.1.80.1.3.1.2") - root.out.juniper.pingResultsIpTargetAddress = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.juniper.jnxPingResultsMinRttUs = this.trap.VarBinds.index(5).Value - root.out.juniper.jnxPingResultsMaxRttUs = this.trap.VarBinds.index(6).Value - root.out.juniper.jnxPingResultsAvgRttUs = this.trap.VarBinds.index(7).Value - root.out.juniper.pingResultsProbeResponses = this.trap.VarBinds.index(8).Value - root.out.juniper.pingResultsSentProbes = this.trap.VarBinds.index(9).Value - root.out.juniper.pingResultsRttSumOfSquares = this.trap.VarBinds.index(10).Value - root.out.juniper.pingResultsLastGoodProbe = this.trap.VarBinds.index(11).Value.snmp_date_and_time().ts_unix_milli() - root.out.juniper.jnxPingCtlRttThreshold = this.trap.VarBinds.index(12).Value - root.out.juniper.jnxPingResultsRttUs = this.trap.VarBinds.index(13).Value - - label: jnx_ping_max_rtt_threshold_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-PMon-MIB-jnxPMonNotificationPrefix.yml b/traps/rules/juniper/JUNIPER-PMon-MIB-jnxPMonNotificationPrefix.yml deleted file mode 100644 index 896847ef..00000000 --- a/traps/rules/juniper/JUNIPER-PMon-MIB-jnxPMonNotificationPrefix.yml +++ /dev/null @@ -1,174 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-PMon-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_pmon_overload_set_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxPMonLastOverload = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.19.2.1.9") - root.out.juniper.jnxPMonCurrentOverload = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.19.2.1.8") - root.out.juniper.jnxPMonLastOverloadDate = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - - label: jnx_pmon_overload_set_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PMon-MIB-jnxPMonOverloadSet" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PMon-MIB-jnxPMonOverloadSet" - root.out.object.name = "ifEntry.7" - - label: jnx_pmon_overload_set_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: jnx_pmon_overload_set_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Memory Status" - root.out.event.message = "PMon Interface Memory Overload" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: jnx_pmon_overload_set_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Packets/Sec." - root.out.event.message = "PMon Interface Packets/Sec. Overload" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: jnx_pmon_overload_set_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Bits/Sec." - root.out.event.message = "PMon Interface Bits/Sec. Overload" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8 - processors: - - label: jnx_pmon_overload_set_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Memory Status" - root.out.event.message = "PMon Interface Memory Load Warning" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: jnx_pmon_overload_set_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Status" - root.out.event.message = "PMon Interface Overload" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - label: jnx_pmon_overload_set_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_pmon_overload_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxPMonLastOverload = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.19.2.1.9") - root.out.juniper.jnxPMonCurrentOverload = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.19.2.1.8") - root.out.juniper.jnxPMonLastOverloadDate = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - - label: jnx_pmon_overload_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-PMon-MIB-jnxPMonOverloadCleared" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-PMon-MIB-jnxPMonOverloadCleared" - root.out.object.name = "ifEntry.7" - - label: jnx_pmon_overload_cleared_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: jnx_pmon_overload_cleared_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Memory Status" - root.out.event.message = "End of PMon Interface Memory Overload" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: jnx_pmon_overload_cleared_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Packets/Sec." - root.out.event.message = "End of PMon Interface Packets/Sec. Overload" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: jnx_pmon_overload_cleared_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Bits/Sec." - root.out.event.message = "End of PMon Interface Bits/Sec. Overload" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(1).Value == 8 - processors: - - label: jnx_pmon_overload_cleared_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Memory Status" - root.out.event.message = "End of PMon Interface Memory Load Warning" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: jnx_pmon_overload_cleared_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PMon Interface Status" - root.out.event.message = "End of PMon Interface Overload" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: jnx_pmon_overload_cleared_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-RMON-MIB-jnxRmonTrapPrefix.yml b/traps/rules/juniper/JUNIPER-RMON-MIB-jnxRmonTrapPrefix.yml deleted file mode 100644 index 30b2f6f1..00000000 --- a/traps/rules/juniper/JUNIPER-RMON-MIB-jnxRmonTrapPrefix.yml +++ /dev/null @@ -1,47 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-RMON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_rmon_alarm_get_failure_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.alarmIndex = this.trap.VarBinds.index(0).Value - root.out.juniper.alarmVariable = this.trap.VarBinds.index(1).Value - root.out.juniper.jnxRmonAlarmGetFailReason = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.13.1.1.3") - - label: jnx_rmon_alarm_get_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RMON-Get Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "RMON Get Failed, " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.13.1.1.3").string() + " ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_rmon_get_ok_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.alarmIndex = this.trap.VarBinds.index(0).Value - root.out.juniper.alarmVariable = this.trap.VarBinds.index(1).Value - - label: jnx_rmon_get_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RMON-Get Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "RMON Get OK ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-SONET-MIB-jnxSonetNotificationPrefix.yml b/traps/rules/juniper/JUNIPER-SONET-MIB-jnxSonetNotificationPrefix.yml deleted file mode 100644 index 43744896..00000000 --- a/traps/rules/juniper/JUNIPER-SONET-MIB-jnxSonetNotificationPrefix.yml +++ /dev/null @@ -1,846 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-SONET-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_sonet_alarm_set_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxSonetLastAlarmId = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2") - root.out.juniper.jnxSonetCurrentAlarms = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.1") - root.out.juniper.jnxSonetLastAlarmDate = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - - label: jnx_sonet_alarm_set_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-SONET-MIB-jnxSonetAlarmSet" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-SONET-MIB-jnxSonetAlarmSet" - root.out.object.name = "ifEntry.6" - - label: jnx_sonet_alarm_set_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: jnx_sonet_alarm_set_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Light Status" - root.out.event.message = "SONET Loss of Light" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: jnx_sonet_alarm_set_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET PLL Lock Status" - root.out.event.message = "SONET PLL Lock Alarm" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: jnx_sonet_alarm_set_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Frame Status" - root.out.event.message = "SONET Loss of Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8 - processors: - - label: jnx_sonet_alarm_set_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Signal Status" - root.out.event.message = "SONET Loss of Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 16 - processors: - - label: jnx_sonet_alarm_set_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Frame Error Status" - root.out.event.message = "SONET Severely Errored Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 32 - processors: - - label: jnx_sonet_alarm_set_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Line AIS Status" - root.out.event.message = "SONET Line Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 64 - processors: - - label: jnx_sonet_alarm_set_rules_2_64 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path AIS Status" - root.out.event.message = "SONET Path Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 128 - processors: - - label: jnx_sonet_alarm_set_rules_2_128 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Pointer Status" - root.out.event.message = "SONET Loss of Pointer" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 256 - processors: - - label: jnx_sonet_alarm_set_rules_2_256 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET BER Defect Status" - root.out.event.message = "SONET Bit Error Rate Defect" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 512 - processors: - - label: jnx_sonet_alarm_set_rules_2_512 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET BER Fault Status" - root.out.event.message = "SONET Bit Error Rate Fault" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 1024 - processors: - - label: jnx_sonet_alarm_set_rules_2_1024 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Line RDI Status" - root.out.event.message = "SONET Line Remote Defect Indication" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2048 - processors: - - label: jnx_sonet_alarm_set_rules_2_2048 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path RDI Status" - root.out.event.message = "SONET Path Remote Defect Indication" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 4096 - processors: - - label: jnx_sonet_alarm_set_rules_2_4096 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET REI Status" - root.out.event.message = "SONET Remote Error Indication" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8192 - processors: - - label: jnx_sonet_alarm_set_rules_2_8192 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Equipment Status" - root.out.event.message = "SONET Unequipped" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 16384 - processors: - - label: jnx_sonet_alarm_set_rules_2_16384 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path Match Status" - root.out.event.message = "SONET Path Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 32768 - processors: - - label: jnx_sonet_alarm_set_rules_2_32768 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Cell Delineation Status" - root.out.event.message = "SONET Loss of Cell Delineation" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 65536 - processors: - - label: jnx_sonet_alarm_set_rules_2_65536 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT AIS Status" - root.out.event.message = "SONET VT Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 131072 - processors: - - label: jnx_sonet_alarm_set_rules_2_131072 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Pointer Status" - root.out.event.message = "SONET VT Loss Of Pointer" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 262144 - processors: - - label: jnx_sonet_alarm_set_rules_2_262144 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT RDI Status" - root.out.event.message = "SONET VT Remote Defect Indication" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 524288 - processors: - - label: jnx_sonet_alarm_set_rules_2_524288 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Equipment Status" - root.out.event.message = "SONET VT Unequipped" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 1048576 - processors: - - label: jnx_sonet_alarm_set_rules_2_1048576 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Label Match Status" - root.out.event.message = "SONET VT Label Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2097152 - processors: - - label: jnx_sonet_alarm_set_rules_2_2097152 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Cell Status" - root.out.event.message = "SONET VT Loss of Cell" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 4194304 - processors: - - label: jnx_sonet_alarm_set_rules_2_4194304 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Light Status" - root.out.event.message = "SDH Loss of Light" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8388608 - processors: - - label: jnx_sonet_alarm_set_rules_2_8388608 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH PLL Lock Status" - root.out.event.message = "SDH PLL Lock Alarm" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 16777216 - processors: - - label: jnx_sonet_alarm_set_rules_2_16777216 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Frame Status" - root.out.event.message = "SDH Loss of Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 33554432 - processors: - - label: jnx_sonet_alarm_set_rules_2_33554432 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Signal Status" - root.out.event.message = "SDH Loss of Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 67108864 - processors: - - label: jnx_sonet_alarm_set_rules_2_67108864 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Frame Status" - root.out.event.message = "SDH Out of Frame" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 134217728 - processors: - - label: jnx_sonet_alarm_set_rules_2_134217728 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section AIS Status" - root.out.event.message = "SDH Multiplex Section Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 268435456 - processors: - - label: jnx_sonet_alarm_set_rules_2_268435456 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP AIS Status" - root.out.event.message = "SDH HP Alarm Indication Signal" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 536870912 - processors: - - label: jnx_sonet_alarm_set_rules_2_536870912 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Pointer Status" - root.out.event.message = "SDH Loss of Pointer" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 1073741824 - processors: - - label: jnx_sonet_alarm_set_rules_2_1073741824 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH BER Defect Status" - root.out.event.message = "SDH Bit Error Rate Defect" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 2147483648 - processors: - - label: jnx_sonet_alarm_set_rules_2_2147483648 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH BER Fault Status" - root.out.event.message = "SDH Bit Error Rate Fault" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 4294967296 - processors: - - label: jnx_sonet_alarm_set_rules_2_4294967296 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section FERF Status" - root.out.event.message = "SDH Multiplex Section Far-End Receive Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 8589934592 - processors: - - label: jnx_sonet_alarm_set_rules_2_8589934592 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP FERF Status" - root.out.event.message = "SDH HP Far-End Receive Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 17179869184 - processors: - - label: jnx_sonet_alarm_set_rules_2_17179869184 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section FEBE Status" - root.out.event.message = "SDH Multiplex Section Far-End Block Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 34359738368 - processors: - - label: jnx_sonet_alarm_set_rules_2_34359738368 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP Equipment Status" - root.out.event.message = "SDH HP Unequipped" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 68719476736 - processors: - - label: jnx_sonet_alarm_set_rules_2_68719476736 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP Match Status" - root.out.event.message = "SDH HP Mismatch" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(1).Value == 137438953472 - processors: - - label: jnx_sonet_alarm_set_rules_2_137438953472 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Cell Delineation Status" - root.out.event.message = "SDH Loss of Cell Delineation" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: jnx_sonet_alarm_set_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Alarm ( " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2").string() + " )Status" - root.out.event.message = "Unknown SONET Alarm: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2").string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: jnx_sonet_alarm_set_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_sonet_alarm_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.ifDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.jnxSonetLastAlarmId = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2") - root.out.juniper.jnxSonetCurrentAlarms = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.1") - root.out.juniper.jnxSonetLastAlarmDate = this.trap.VarBinds.index(3).Value.snmp_date_and_time().ts_unix_milli() - - label: jnx_sonet_alarm_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-SONET-MIB-jnxSonetAlarmCleared" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-SONET-MIB-jnxSonetAlarmCleared" - root.out.object.name = "ifEntry.6" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - label: jnx_sonet_alarm_cleared_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value == 1 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Light Status" - root.out.event.message = "End of SONET Loss of Light" - - check: this.trap.VarBinds.index(1).Value == 2 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET PLL Lock Status" - root.out.event.message = "End of SONET PLL Lock Alarm" - - check: this.trap.VarBinds.index(1).Value == 4 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Frame Status" - root.out.event.message = "End of SONET Loss of Frame" - - check: this.trap.VarBinds.index(1).Value == 8 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Signal Status" - root.out.event.message = "End of SONET Loss of Signal" - - check: this.trap.VarBinds.index(1).Value == 16 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_16 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Frame Error Status" - root.out.event.message = "End of SONET Severely Errored Frame" - - check: this.trap.VarBinds.index(1).Value == 32 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_32 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Line AIS Status" - root.out.event.message = "End of SONET Line Alarm Indication Signal" - - check: this.trap.VarBinds.index(1).Value == 64 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_64 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path AIS Status" - root.out.event.message = "End of SONET Path Alarm Indication Signal" - - check: this.trap.VarBinds.index(1).Value == 128 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_128 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Pointer Status" - root.out.event.message = "End of SONET Loss of Pointer" - - check: this.trap.VarBinds.index(1).Value == 256 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_256 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET BER Defect Status" - root.out.event.message = "End of SONET Bit Error Rate Defect" - - check: this.trap.VarBinds.index(1).Value == 512 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_512 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET BER Fault Status" - root.out.event.message = "End of SONET Bit Error Rate Fault" - - check: this.trap.VarBinds.index(1).Value == 1024 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_1024 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Line RDI Status" - root.out.event.message = "End of SONET Line Remote Defect Indication" - - check: this.trap.VarBinds.index(1).Value == 2048 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_2048 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path RDI Status" - root.out.event.message = "End of SONET Path Remote Defect Indication" - - check: this.trap.VarBinds.index(1).Value == 4096 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_4096 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET REI Status" - root.out.event.message = "End of SONET Remote Error Indication" - - check: this.trap.VarBinds.index(1).Value == 8192 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_8192 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Equipment Status" - root.out.event.message = "End of SONET Unequipped" - - check: this.trap.VarBinds.index(1).Value == 16384 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_16384 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Path Match Status" - root.out.event.message = "End of SONET Path Mismatch" - - check: this.trap.VarBinds.index(1).Value == 32768 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_32768 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Cell Delineation Status" - root.out.event.message = "End of SONET Loss of Cell Delineation" - - check: this.trap.VarBinds.index(1).Value == 65536 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_65536 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT AIS Status" - root.out.event.message = "End of SONET VT Alarm Indication Signal" - - check: this.trap.VarBinds.index(1).Value == 131072 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_131072 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Pointer Status" - root.out.event.message = "End of SONET VT Loss Of Pointer" - - check: this.trap.VarBinds.index(1).Value == 262144 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_262144 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT RDI Status" - root.out.event.message = "End of SONET VT Remote Defect Indication" - - check: this.trap.VarBinds.index(1).Value == 524288 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_524288 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Equipment Status" - root.out.event.message = "End of SONET VT Unequipped" - - check: this.trap.VarBinds.index(1).Value == 1048576 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_1048576 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Label Match Status" - root.out.event.message = "End of SONET VT Label Mismatch" - - check: this.trap.VarBinds.index(1).Value == 2097152 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_2097152 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET VT Cell Status" - root.out.event.message = "End of SONET VT Loss of Cell" - - check: this.trap.VarBinds.index(1).Value == 4194304 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_4194304 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Light Status" - root.out.event.message = "End of SDH Loss of Light" - - check: this.trap.VarBinds.index(1).Value == 8388608 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_8388608 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH PLL Lock Status" - root.out.event.message = "End of SDH PLL Lock Alarm" - - check: this.trap.VarBinds.index(1).Value == 16777216 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_16777216 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Frame Status" - root.out.event.message = "End of SDH Loss of Frame" - - check: this.trap.VarBinds.index(1).Value == 33554432 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_33554432 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Signal Status" - root.out.event.message = "End of SDH Loss of Signal" - - check: this.trap.VarBinds.index(1).Value == 67108864 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_67108864 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Frame Status" - root.out.event.message = "End of SDH Out of Frame" - - check: this.trap.VarBinds.index(1).Value == 134217728 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_134217728 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section AIS Status" - root.out.event.message = "End of SDH Multiplex Section Alarm Indication Signal" - - check: this.trap.VarBinds.index(1).Value == 268435456 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_268435456 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP AIS Status" - root.out.event.message = "End of SDH HP Alarm Indication Signal" - - check: this.trap.VarBinds.index(1).Value == 536870912 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_536870912 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Pointer Status" - root.out.event.message = "End of SDH Loss of Pointer" - - check: this.trap.VarBinds.index(1).Value == 1073741824 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_1073741824 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH BER Defect Status" - root.out.event.message = "End of SDH Bit Error Rate Defect" - - check: this.trap.VarBinds.index(1).Value == 2147483648 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_2147483648 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH BER Fault Status" - root.out.event.message = "End of SDH Bit Error Rate Fault" - - check: this.trap.VarBinds.index(1).Value == 4294967296 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_4294967296 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section FERF Status" - root.out.event.message = "End of SDH Multiplex Section Far-End Receive Failure" - - check: this.trap.VarBinds.index(1).Value == 8589934592 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_8589934592 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP FERF Status" - root.out.event.message = "End of SDH HP Far-End Receive Failure" - - check: this.trap.VarBinds.index(1).Value == 17179869184 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_17179869184 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Multiplex Section FEBE Status" - root.out.event.message = "End of SDH Multiplex Section Far-End Block Error" - - check: this.trap.VarBinds.index(1).Value == 34359738368 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_34359738368 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP Equipment Status" - root.out.event.message = "End of SDH HP Unequipped" - - check: this.trap.VarBinds.index(1).Value == 68719476736 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_68719476736 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH HP Match Status" - root.out.event.message = "End of SDH HP Mismatch" - - check: this.trap.VarBinds.index(1).Value == 137438953472 - processors: - - label: jnx_sonet_alarm_cleared_rules_2_137438953472 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SDH Cell Delineation Status" - root.out.event.message = "End of SDH Loss of Cell Delineation" - - processors: - - label: jnx_sonet_alarm_cleared_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SONET Alarm ( " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2").string() + " )Status" - root.out.event.message = "End of Unknown SONET Alarm: " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2636.3.20.1.1.1.2").string() - - label: jnx_sonet_alarm_cleared_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-V1-TRAPS-juniperMIB.yml b/traps/rules/juniper/JUNIPER-V1-TRAPS-juniperMIB.yml deleted file mode 100644 index 1de00399..00000000 --- a/traps/rules/juniper/JUNIPER-V1-TRAPS-juniperMIB.yml +++ /dev/null @@ -1,709 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-V1-TRAPS" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: bgp_established_v1_variables - mapping: | - #!blobl - root = this - - label: bgp_established_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "bgpPeerEntry.4.1.2636.1" - - label: bgp_established_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value.string() == 1 - processors: - - label: bgp_established_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - check: this.trap.VarBinds.index(1).Value.string() == 2 - processors: - - label: bgp_established_v1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - check: this.trap.VarBinds.index(1).Value.string() == 3 - processors: - - label: bgp_established_v1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - check: this.trap.VarBinds.index(1).Value.string() == 4 - processors: - - label: bgp_established_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - check: this.trap.VarBinds.index(1).Value.string() == 5 - processors: - - label: bgp_established_v1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - check: this.trap.VarBinds.index(1).Value.string() == 6 - processors: - - label: bgp_established_v1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - processors: - - label: bgp_established_v1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unknown BGP Peer Connection Status (see Details) ( bgpPeerRemoteAddr: 4.1.2636.1 )" - - label: bgp_established_v1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: bgp_backward_transition_v1_variables - mapping: | - #!blobl - root = this - - label: bgp_backward_transition_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "BGP Peer Status" - root.out.object.name = "bgpPeerEntry.4.1.2636.2" - - label: bgp_backward_transition_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(1).Value.string() == 1 - processors: - - label: bgp_backward_transition_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Idle ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - check: this.trap.VarBinds.index(1).Value.string() == 2 - processors: - - label: bgp_backward_transition_v1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Connected ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - check: this.trap.VarBinds.index(1).Value.string() == 3 - processors: - - label: bgp_backward_transition_v1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Active ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - check: this.trap.VarBinds.index(1).Value.string() == 4 - processors: - - label: bgp_backward_transition_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Sent ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - check: this.trap.VarBinds.index(1).Value.string() == 5 - processors: - - label: bgp_backward_transition_v1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Open Confirmed ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - check: this.trap.VarBinds.index(1).Value.string() == 6 - processors: - - label: bgp_backward_transition_v1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "BGP Peer Connection Established ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - processors: - - label: bgp_backward_transition_v1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unknown BGP Peer Connection Status (see Details) ( bgpPeerRemoteAddr: 4.1.2636.2 )" - - label: bgp_backward_transition_v1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: jnx_power_supply_failure_v1_variables - mapping: | - #!blobl - root = this - - label: jnx_power_supply_failure_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "jnxContentsEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Power Supply Failure, Bad DC Output ( " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: jnx_fan_failure_v1_variables - mapping: | - #!blobl - root = this - - label: jnx_fan_failure_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "jnxContentsEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Fan Failure, Not Spinning ( " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: jnx_over_temperature_v1_variables - mapping: | - #!blobl - root = this - - label: jnx_over_temperature_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "jnxContentsEntry." + this.trap.VarBinds.index(0).Value.string() + "." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Temperature Too High ( " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: mpls_lsp_up_v1_variables - mapping: | - #!blobl - root = this - - label: mpls_lsp_up_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MPLS LSP Status" - root.out.object.name = "mplsLspEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MPLS LSP Up ( " + this.trap.VarBinds.index(0).Value.string() + " ( Active Path Name: " + this.trap.VarBinds.index(1).Value.string() + " ) )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: mpls_lsp_down_v1_variables - mapping: | - #!blobl - root = this - - label: mpls_lsp_down_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MPLS LSP Status" - root.out.object.name = "mplsLspEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MPLS LSP Down ( " + this.trap.VarBinds.index(0).Value.string() + " ( Active Path Name: " + this.trap.VarBinds.index(1).Value.string() + " ) )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: mpls_lsp_change_v1_variables - mapping: | - #!blobl - root = this - - label: mpls_lsp_change_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "MPLS LSP Path Change" - root.out.object.name = "mplsLspEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "MPLS LSP Switched to New Active Path ( " + this.trap.VarBinds.index(0).Value.string() + " ( Active Path Name: " + this.trap.VarBinds.index(1).Value.string() + " ) )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: ospf_virt_if_state_change_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_if_state_change_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt IF Status" - root.out.object.name = "ospfVirtIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - - label: ospf_virt_if_state_change_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value.string() == 1 - processors: - - label: ospf_virt_if_state_change_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Interface Down ( " + this.trap.VarBinds.index(1).Value.string() + " to " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 4 - processors: - - label: ospf_virt_if_state_change_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Interface Point-to-Point ( " + this.trap.VarBinds.index(1).Value.string() + " to " + this.trap.VarBinds.index(2).Value.string() + " )" - - label: ospf_virt_if_state_change_v1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 10 - processors: - - label: ospf_nbr_state_change_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_nbr_state_change_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Nbr Status" - root.out.object.name = "ospfNbrEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - - label: ospf_nbr_state_change_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value.string() == 1 - processors: - - label: ospf_nbr_state_change_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Down ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 2 - processors: - - label: ospf_nbr_state_change_v1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Attempt ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 3 - processors: - - label: ospf_nbr_state_change_v1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Init ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 4 - processors: - - label: ospf_nbr_state_change_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor 2-Way ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 5 - processors: - - label: ospf_nbr_state_change_v1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Exchange Start ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 6 - processors: - - label: ospf_nbr_state_change_v1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Exchange ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 7 - processors: - - label: ospf_nbr_state_change_v1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Loading ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(4).Value.string() == 8 - processors: - - label: ospf_nbr_state_change_v1_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor Fully Adjacent ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - processors: - - label: ospf_nbr_state_change_v1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Neighbor State Unknown ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - label: ospf_nbr_state_change_v1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 11 - processors: - - label: ospf_virt_nbr_state_change_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_nbr_state_change_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt Nbr Status" - root.out.object.name = "ospfVirtNbrEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - - label: ospf_virt_nbr_state_change_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value.string() == 1 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Down ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 2 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Attempt ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 3 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Init ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 4 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor 2-Way ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 5 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Exchange Start ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 6 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Exchange ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 7 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Loading ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 8 - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor Fully Adjacent ( " + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: ospf_virt_nbr_state_change_v1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Virtual Neighbor State Unknown ( $AmsPriObjText )" - - label: ospf_virt_nbr_state_change_v1_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 12 - processors: - - label: ospf_if_config_error_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_if_config_error_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF IF Config" - root.out.object.name = "ospfIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(5).Value.string() + " Packet, " + this.trap.VarBinds.index(4).Value.string() + " ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: ospf_virt_if_config_error_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_if_config_error_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt IF Config" - root.out.object.name = "ospfVirtIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(4).Value.string() + " Packet, " + this.trap.VarBinds.index(3).Value.string() + " ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Neighbor: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: ospf_if_auth_failure_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_if_auth_failure_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF IF Authorization" - root.out.object.name = "ospfIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(5).Value.string() + " Packet, " + this.trap.VarBinds.index(4).Value.string() + " ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 15 - processors: - - label: ospf_virt_if_auth_failure_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_if_auth_failure_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt IF Authorization" - root.out.object.name = "ospfVirtIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(4).Value.string() + " Packet, " + this.trap.VarBinds.index(3).Value.string() + " ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Neighbor: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 16 - processors: - - label: ospf_if_rx_bad_packet_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_if_rx_bad_packet_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF IF Rx Packet" - root.out.object.name = "ospfIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: Received " + this.trap.VarBinds.index(4).Value.string() + " Packet Cannot Be Parsed ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 17 - processors: - - label: ospf_virt_if_rx_bad_packet_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_if_rx_bad_packet_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt IF Rx Packet" - root.out.object.name = "ospfVirtIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: Received " + this.trap.VarBinds.index(3).Value.string() + " Packet Cannot Be Parsed ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Neighbor: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 18 - processors: - - label: ospf_tx_retransmit_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_tx_retransmit_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF IF Retransmit" - root.out.object.name = "ospfIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(4).Value.string() + " Packet Retransmitted To " + this.trap.VarBinds.index(3).Value.string() + " ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 19 - processors: - - label: ospf_virt_if_tx_retransmit_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_virt_if_tx_retransmit_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF Virt IF Retransmit" - root.out.object.name = "ospfVirtIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "OSPF: " + this.trap.VarBinds.index(3).Value.string() + " Packet Retransmitted ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Neighbor: " + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.SpecificTrap == 20 - processors: - - label: ospf_originate_lsa_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_originate_lsa_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF LSA Status" - root.out.object.name = "ospfLsdbEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.message = "New LSA Originated ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Type: " + this.trap.VarBinds.index(2).Value.string() + ", LSID: " + this.trap.VarBinds.index(3).Value.string() + ", Router: " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 21 - processors: - - label: ospf_max_age_lsa_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_max_age_lsa_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF LSA Age" - root.out.object.name = "ospfLsdbEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() + "." + this.trap.VarBinds.index(3).Value.string() + "." + this.trap.VarBinds.index(4).Value.string() - root.out.event.message = "LSA Aged to MaxAge ( Area: " + this.trap.VarBinds.index(1).Value.string() + ", Type: " + this.trap.VarBinds.index(2).Value.string() + ", LSID: " + this.trap.VarBinds.index(3).Value.string() + ", Router: " + this.trap.VarBinds.index(4).Value.string() + " )" - - check: this.trap.SpecificTrap == 22 - processors: - - label: ospf_lsdb_overflow_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_lsdb_overflow_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF LSDB Status" - root.out.object.name = "" - root.out.event.message = "Number of LSAs Exceeds ospfExtLsdbLimit ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.SpecificTrap == 23 - processors: - - label: ospf_lsdb_approaching_overflow_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_lsdb_approaching_overflow_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF LSDB Status" - root.out.object.name = "" - root.out.event.message = "Number of LSAs Exceeds 90% of ospfExtLsdbLimit ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.SpecificTrap == 24 - processors: - - label: ospf_if_state_change_v1_variables - mapping: | - #!blobl - root = this - - label: ospf_if_state_change_v1_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "OSPF IF Status" - root.out.object.name = "ospfIfEntry." + this.trap.VarBinds.index(1).Value.string() + "." + this.trap.VarBinds.index(2).Value.string() - - label: ospf_if_state_change_v1_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value.string() == 1 - processors: - - label: ospf_if_state_change_v1_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Down ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 2 - processors: - - label: ospf_if_state_change_v1_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Loopback ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 3 - processors: - - label: ospf_if_state_change_v1_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Waiting ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 4 - processors: - - label: ospf_if_state_change_v1_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Point-To-Point ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 5 - processors: - - label: ospf_if_state_change_v1_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Designated Router ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 6 - processors: - - label: ospf_if_state_change_v1_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Backup Designated Router ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - check: this.trap.VarBinds.index(3).Value.string() == 7 - processors: - - label: ospf_if_state_change_v1_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Other Designated Router ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - processors: - - label: ospf_if_state_change_v1_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "OSPF Interface Status Unknown ( " + "ifEntry." + this.trap.VarBinds.index(2).Value.string() + " )" - - label: ospf_if_state_change_v1_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIB.yml b/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIB.yml new file mode 100644 index 00000000..7ca9dfd4 --- /dev/null +++ b/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIB.yml @@ -0,0 +1,543 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper JUNIPER-VPN-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxVpnIfUp + # + # A jnxVpnIfUp notification is generated when the interface with index jnxVpnIfIndex belonging to the VPN named + # jnxVpnIfVpnName of type jnxVpnIfVpnType transitions out of the 'down' state. + # + # jnxVpnIfVpnType (INTEGER) - Type of the VPN to which this interface belongs. + # jnxVpnIfVpnName (OCTET STRING) - Name of the VPN to which this interface belongs. + # jnxVpnIfIndex (Unsigned32) - The index of this interface in the VPN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.3") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxVpnIfVpnType = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1") + root.out.juniper.jnxVpnIfVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxVpnIfIndex = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "JUNIPER-VPN-MIB::jnxVpnIfEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.26.1.3.1.1") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "VPN: " + root.out.juniper.jnxVpnIfVpnName + ", interface: " + root.out.juniper.jnxVpnIfIndex + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfUp" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfUp" + root.out.event.category.name = "VPN interface state" + root.out.event.message = root.out.juniper.jnxVpnIfVpnType + " VPN interface up" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfUp" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfUp-unknown" + root.out.event.category.name = "VPN interface state" + root.out.event.message = "VPN interface up - UNEXPECTED VARBINDS for jnxVpnIfUp trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 2 + # jnxVpnIfDown + # + # A jnxVpnIfDown notification is generated when the interface with index jnxVpnIfIndex belonging to the VPN named + # jnxVpnIfVpnName of type jnxVpnIfVpnType transitions to the 'down' state. + # + # jnxVpnIfVpnType (INTEGER) - Type of the VPN to which this interface belongs. + # jnxVpnIfVpnName (OCTET STRING) - Name of the VPN to which this interface belongs. + # jnxVpnIfIndex (Unsigned32) - The index of this interface in the VPN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.3.1.3") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxVpnIfVpnType = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1") + root.out.juniper.jnxVpnIfVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxVpnIfIndex = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "JUNIPER-VPN-MIB::jnxVpnIfEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.26.1.3.1.1") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "VPN: " + root.out.juniper.jnxVpnIfVpnName + ", interface: " + root.out.juniper.jnxVpnIfIndex + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfDown" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfDown" + root.out.event.category.name = "VPN interface state" + root.out.event.message = root.out.juniper.jnxVpnIfVpnType + " VPN interface down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfDown" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnIfDown-unknown" + root.out.event.category.name = "VPN interface state" + root.out.event.message = "VPN interface down - UNEXPECTED VARBINDS for jnxVpnIfDown trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 3 + # jnxVpnPwUp + # + # A jnxVpnPwUp notification is generated when the Pseudo-Wire with index jnxVpnPwIndex belonging to the VPN named + # jnxVpnPwVpnName of type jnxVpnPwVpnType transitions out of the 'down' state. + # + # jnxVpnPwVpnType (INTEGER) - The type of the VPN to which this Pseudo-Wire belongs. + # jnxVpnPwVpnName (OCTET STRING) - The name of the VPN to which this Pseudo-Wire belongs. + # jnxVpnPwIndex (Unsigned32) - The index of this Pseudo-Wire in the VPN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.3") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxVpnPwVpnType = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.26.1.4.1.1") + root.out.juniper.jnxVpnPwVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxVpnPwIndex = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "JUNIPER-VPN-MIB::jnxVpnPwEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.26.1.4.1.1") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "VPN: " + root.out.juniper.jnxVpnPwVpnName + ", pseudowire: " + root.out.juniper.jnxVpnPwIndex + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwUp" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwUp" + root.out.event.category.name = "VPN pseudowire state" + root.out.event.message = root.out.juniper.jnxVpnPwVpnType + " VPN pseudowire up" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Information" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwUp" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwUp-unknown" + root.out.event.category.name = "VPN pseudowire state" + root.out.event.message = "VPN pseudowire up - UNEXPECTED VARBINDS for jnxVpnPwUp trap!" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: this.trap.SpecificTrap == 4 + # jnxVpnPwDown + # + # A jnxVpnPwDown notification is generated when the Pseudo-Wire with index jnxVpnPwIndex belonging to the VPN named + # jnxVpnPwVpnName of type jnxVpnPwVpnType transitions to the 'down' state. + # + # jnxVpnPwVpnType (INTEGER) - The type of the VPN to which this Pseudo-Wire belongs. + # jnxVpnPwVpnName (OCTET STRING) - The name of the VPN to which this Pseudo-Wire belongs. + # jnxVpnPwIndex (Unsigned32) - The index of this Pseudo-Wire in the VPN. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.2") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.3.26.1.4.1.3") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxVpnPwVpnType = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.3.26.1.4.1.1") + root.out.juniper.jnxVpnPwVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_display_hint("255t") + root.out.juniper.jnxVpnPwIndex = this.trap.VarBinds.index(2).Value.string() + + root.out.object.name = "JUNIPER-VPN-MIB::jnxVpnPwEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.3.26.1.4.1.1") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "VPN: " + root.out.juniper.jnxVpnPwVpnName + ", pseudowire: " + root.out.juniper.jnxVpnPwIndex + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwDown" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwDown" + root.out.event.category.name = "VPN pseudowire state" + root.out.event.message = root.out.juniper.jnxVpnPwVpnType + " VPN pseudowire down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwDown" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-jnxVpnPwDown-unknown" + root.out.event.category.name = "VPN pseudowire state" + root.out.event.message = "VPN pseudowire down - UNEXPECTED VARBINDS for jnxVpnPwDown trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-unknown" + root.out.event.id = "SNMPTRAP-JUNIPER-VPN-MIB-jnxVpnMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper JUNIPER-VPN-MIB-jnxVpnMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIBNotifications.yml b/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIBNotifications.yml deleted file mode 100644 index 7e4a287c..00000000 --- a/traps/rules/juniper/JUNIPER-VPN-MIB-jnxVpnMIBNotifications.yml +++ /dev/null @@ -1,108 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "JUNIPER-VPN-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: jnx_vpn_if_up_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxVpnIfVpnType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1") - root.out.juniper.jnxVpnIfVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxVpnIfIndex = this.trap.VarBinds.index(2).Value - - label: jnx_vpn_if_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnIfUp" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnIfUp" - root.out.event.category.name = "VPN Interface Status" - root.out.object.name = "jnxVpnIfEntry." - root.out.event.message = "VPN Interface Up" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1").string() + " " + root.out.event.message - root.out.event.message = root.out.event.message + " ( VPN: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", jnxVpnIfIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 2 - processors: - - label: jnx_vpn_if_down_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxVpnIfVpnType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1") - root.out.juniper.jnxVpnIfVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxVpnIfIndex = this.trap.VarBinds.index(2).Value - - label: jnx_vpn_if_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnIfDown" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnIfDown" - root.out.event.category.name = "VPN Interface Status" - root.out.object.name = "jnxVpnIfEntry." - root.out.event.message = "VPN Interface Down" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.3.1.1").string() + " " + root.out.event.message - root.out.event.message = root.out.event.message + " ( VPN: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", jnxVpnIfIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: jnx_vpn_pw_up_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxVpnPwVpnType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.4.1.1") - root.out.juniper.jnxVpnPwVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxVpnPwIndex = this.trap.VarBinds.index(2).Value - - label: jnx_vpn_pw_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnPwUp" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnPwUp" - root.out.event.category.name = "VPN Pseudo-Wire Status" - root.out.object.name = "jnxVpnPwEntry." - root.out.event.message = "VPN Pseudo-Wire Up" - root.out.event.message = $jnxVpnIfVpnType " + root.out.event.message - root.out.event.message = root.out.event.message + " ( VPN: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", jnxVpnPwIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 4 - processors: - - label: jnx_vpn_pw_down_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.jnxVpnPwVpnType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2636.3.26.1.4.1.1") - root.out.juniper.jnxVpnPwVpnName = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.juniper.jnxVpnPwIndex = this.trap.VarBinds.index(2).Value - - label: jnx_vpn_pw_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnPwDown" - root.out.event.id = "SNMPTRAP-juniper-JUNIPER-VPN-MIB-jnxVpnPwDown" - root.out.event.category.name = "VPN Pseudo-Wire Status" - root.out.object.name = "jnxVpnPwEntry." - root.out.event.message = "VPN Pseudo-Wire Down" - root.out.event.message = $jnxVpnIfVpnType " + root.out.event.message - root.out.event.message = root.out.event.message + " ( VPN: " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() + ", jnxVpnPwIndex: " + this.trap.VarBinds.index(2).Value.string() + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/MCAST-VPN-MIB-jnxMvpnMIB.yml b/traps/rules/juniper/MCAST-VPN-MIB-jnxMvpnMIB.yml new file mode 100644 index 00000000..f0c9ce21 --- /dev/null +++ b/traps/rules/juniper/MCAST-VPN-MIB-jnxMvpnMIB.yml @@ -0,0 +1,240 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper MCAST-VPN-MIB" +- switch: + - check: this.trap.SpecificTrap == 2 + # jnxMvpnMvrfChange + # + # A mvpnMvrfChange notification signifies a change about a MVRF in the device. The change event can be creation of + # the MVRF, deletion of the MVRF or an update on the I-PMSI or S-PMSI configuration of the MVRF. + # + # jnxMvpnGenOperStatusChange (INTEGER) - This object describes the last operational change that happened for the given MVRF. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 0 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.12.1.1.2.1.1.1") { + meta varbinds_ok = true + }} + + root.out.event.class.name = "SNMPTRAP-MCAST-VPN-MIB-jnxMvpnMIB-jnxMvpnMvrfChange" + root.out.event.id = "SNMPTRAP-MCAST-VPN-MIB-jnxMvpnMIB-jnxMvpnMvrfChange" + root.out.event.category.name = "MVRF state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxMvpnGenOperStatusChange = this.trap.VarBinds.index(0).Value + + root.out.juniper.jnxMvpnGenOperStatusChange = this.trap.VarBinds.index(0).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.12.1.1.2.1.1.1") + + root.out.object.name = "MCAST-VPN-MIB::jnxMvpnGeneralEntry" + root.out.object.index = this.trap.VarBinds.index(0).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.12.1.1.2.1.1.1") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.TEMP.jnxMvpnGeneralEntry = root.out.object.index.snmp_oid_extract_index("OctetString") + root.out.ietf.mplsVpnVrfName = root.TEMP.jnxMvpnGeneralEntry.index(0).snmp_octet_display_hint("255t") + + root.out.object.label = "VPN: " + root.out.ietf.mplsVpnVrfName + + - switch: + - check: metadata("jnxMvpnGenOperStatusChange") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-createdMvrf" + root.out.event.message = "MVRF created" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxMvpnGenOperStatusChange") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-deletedMvrf" + root.out.event.message = "MVRF deleted" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxMvpnGenOperStatusChange") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-modifiedMvrfIpmsiConfig" + root.out.event.message = "MVRF I-PMSI configuration modified" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxMvpnGenOperStatusChange") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-modifiedMvrfSpmsiConfig" + root.out.event.message = "MVRF S-PMSI configuration modified" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "MVRF state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "MVRF state changed - UNEXPECTED VARBINDS for jnxMvpnMvrfChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-MCAST-VPN-MIB-jnxMvpnMIB-unknown" + root.out.event.id = "SNMPTRAP-MCAST-VPN-MIB-jnxMvpnMIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper MCAST-VPN-MIB-jnxMvpnMIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/MPLS-MIB-mplsLspTraps.yml b/traps/rules/juniper/MPLS-MIB-mplsLspTraps.yml deleted file mode 100644 index e8aa89db..00000000 --- a/traps/rules/juniper/MPLS-MIB-mplsLspTraps.yml +++ /dev/null @@ -1,117 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "MPLS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mpls_lsp_info_up_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.mplsLspInfoName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.mplsPathInfoName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: mpls_lsp_info_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mpls_lsp_info_down_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.mplsLspInfoName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.mplsPathInfoName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: mpls_lsp_info_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: mpls_lsp_info_change_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.mplsLspInfoName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.mplsPathInfoName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: mpls_lsp_info_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mpls_lsp_info_path_down_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.mplsLspInfoName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.mplsPathInfoName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: mpls_lsp_info_path_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: mpls_lsp_info_path_up_variables - mapping: |- - #!blobl - root = this - - root.out.juniper.mplsLspInfoName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.juniper.mplsPathInfoName = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: mpls_lsp_info_path_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/juniper/MPLS-MIB-mplsTraps.yml b/traps/rules/juniper/MPLS-MIB-mplsTraps.yml index 6ad0a990..e8ea379d 100644 --- a/traps/rules/juniper/MPLS-MIB-mplsTraps.yml +++ b/traps/rules/juniper/MPLS-MIB-mplsTraps.yml @@ -22,8 +22,7 @@ root.out.event.category.name = "MPLS LSP Status" root.out.object.name = "mplsLspEntry." root.out.event.message = "MPLS LSP Up" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" + root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" - check: this.trap.SpecificTrap == 2 @@ -45,8 +44,7 @@ root.out.event.category.name = "MPLS LSP Status" root.out.object.name = "mplsLspEntry." root.out.event.message = "MPLS LSP Down" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" + root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 3 @@ -68,8 +66,7 @@ root.out.event.category.name = "MPLS LSP Path Change" root.out.object.name = "mplsLspEntry." root.out.event.message = "MPLS LSP Switched to New Active Path" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" + root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + " )" root.out.event.severity.code = 4 root.out.event.severity.level = "Warning" - check: this.trap.SpecificTrap == 4 @@ -91,8 +88,7 @@ root.out.event.category.name = "MPLS LSP Path Status" root.out.object.name = "mplsLspEntry." root.out.event.message = "MPLS LSP Path Down" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" + root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + " )" root.out.event.severity.code = 3 root.out.event.severity.level = "Error" - check: this.trap.SpecificTrap == 5 @@ -114,8 +110,7 @@ root.out.event.category.name = "MPLS LSP Path Status" root.out.object.name = "mplsLspEntry." root.out.event.message = "MPLS LSP Path Up" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" + root.out.event.message = root.out.event.message + " ( LSP: " + this.trap.VarBinds.index(0).Value.snmp_display_string() + ", Active Path: " + this.trap.VarBinds.index(1).Value.snmp_display_string() + " )" root.out.event.severity.code = 5 root.out.event.severity.level = "Notice" - processors: diff --git a/traps/rules/juniper/OSPFV3-MIB-JUNIPER-jnxOspfv3MIB.yml b/traps/rules/juniper/OSPFV3-MIB-JUNIPER-jnxOspfv3MIB.yml new file mode 100644 index 00000000..40a04819 --- /dev/null +++ b/traps/rules/juniper/OSPFV3-MIB-JUNIPER-jnxOspfv3MIB.yml @@ -0,0 +1,2275 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper OSPFV3-MIB-JUNIPER" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxOspfv3VirtIfStateChange + # + # An jnxOspfv3VirtIfStateChange notification signifies that there has been a change in the state of an OSPFv3 virtual + # interface. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3VirtIfState (INTEGER) - OSPF virtual interface states. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3VirtIfStateChange = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3VirtIfAreaId = root.TEMP.jnxOspfv3VirtIfEntry.index(0).string() + root.out.juniper.jnxOspfv3VirtIfNeighbor = root.TEMP.jnxOspfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3VirtIfAreaId + ", neighbor: " + root.out.juniper.jnxOspfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfStateChange" + root.out.event.category.name = "OSPF virtual interface state" + + - switch: + - check: metadata("jnxOspfv3VirtIfStateChange") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF virtual interface down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxOspfv3VirtIfStateChange") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-pointToPoint" + root.out.event.message = "OSPF virtual interface point-to-point" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual interface state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfStateChange-unknown" + root.out.event.category.name = "OSPF virtual interface state" + root.out.event.message = "OSPF virtual interface state changed - UNEXPECTED VARBINDS for jnxOspfv3VirtIfStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 2 + # jnxOspfv3NbrStateChange + # + # An jnxOspfv3NbrStateChange notification signifies that there has been a change in the state of a non-virtual OSPFv3 + # neighbor. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3NbrState (INTEGER) - The state of the relationship with this neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.9.1.8") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3NbrState = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3NbrState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.9.1.8") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3NbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.9.1.8") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3NbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,Integer") + root.out.juniper.jnxOspfv3NbrIfIndex = root.TEMP.jnxOspfv3NbrEntry.index(0).string() + root.out.juniper.jnxOspfv3NbrIfInstId = root.TEMP.jnxOspfv3NbrEntry.index(1).string() + root.out.juniper.jnxOspfv3NbrRtrId = root.TEMP.jnxOspfv3NbrEntry.index(2).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", interface: ifIndex " + root.out.juniper.jnxOspfv3NbrIfIndex + ", instance: " + root.out.juniper.jnxOspfv3NbrIfInstId + ", neighbor: " + root.out.juniper.jnxOspfv3NbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrStateChange" + root.out.event.category.name = "OSPF neighbor state" + + - switch: + - check: metadata("jnxOspfv3NbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxOspfv3NbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("jnxOspfv3NbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3NbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3NbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3NbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3NbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3NbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrStateChange-unknown" + root.out.event.category.name = "OSPF neighbor state" + root.out.event.message = "OSPF neighbor state changed - UNEXPECTED VARBINDS for jnxOspfv3NbrStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 3 + # jnxOspfv3VirtNbrStateChange + # + # An jnxOspfv3VirtNbrStateChange notification signifies that there has been a change in the state of an OSPFv3 virtual + # neighbor. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3VirtNbrState (INTEGER) - The state of the virtual neighbor relationship. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.11.1.8") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3VirtNbrState = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3VirtNbrState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.11.1.8") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.11.1.8") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3VirtIfAreaId = root.TEMP.jnxOspfv3VirtIfEntry.index(0).string() + root.out.juniper.jnxOspfv3VirtIfNeighbor = root.TEMP.jnxOspfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3VirtIfAreaId + ", neighbor: " + root.out.juniper.jnxOspfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrStateChange" + root.out.event.category.name = "OSPF virtual neighbor state" + + - switch: + - check: metadata("jnxOspfv3VirtNbrState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF virtual neighbor down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxOspfv3VirtNbrState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-attempt" + root.out.event.message = "OSPF virtual neighbor attempt" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("jnxOspfv3VirtNbrState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-init" + root.out.event.message = "OSPF virtual neighbor initializing" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3VirtNbrState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-twoWay" + root.out.event.message = "OSPF virtual neighbor two-way" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3VirtNbrState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchangeStart" + root.out.event.message = "OSPF virtual neighbor exchange start" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3VirtNbrState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-exchange" + root.out.event.message = "OSPF virtual neighbor exchange" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3VirtNbrState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loading" + root.out.event.message = "OSPF virtual neighbor loading" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3VirtNbrState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-full" + root.out.event.message = "OSPF virtual neighbor full" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrStateChange-unknown" + root.out.event.category.name = "OSPF virtual neighbor state" + root.out.event.message = "OSPF virtual neighbor state changed - UNEXPECTED VARBINDS for jnxOspfv3VirtNbrStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 4 + # jnxOspfv3IfConfigError + # + # An jnxOspfv3IfConfigError notification signifies that a packet has been received on a non-virtual interface from a + # router whose configuration parameters conflict with this router's configuration parameters. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3IfState (INTEGER) - The OSPFv3 interface state. + # jnxOspfv3PacketSrc (OCTET STRING) - The IPv6 address of an inbound packet that cannot be identified by a neighbor instance. + # jnxOspfv3ConfigErrorType (INTEGER) - Potential types of configuration conflicts. + # jnxOspfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 4 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.3") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.1") { + if this.trap.VarBinds.index(4).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.2") { + meta varbinds_ok = true + }}}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + root.out.juniper.jnxOspfv3PacketSrc = this.trap.VarBinds.index(2).Value.snmp_inet_address(2) + root.out.juniper.jnxOspfv3ConfigErrorType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.1") + root.out.juniper.jnxOspfv3PacketType = this.trap.VarBinds.index(4).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.2") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3IfIndex = root.TEMP.jnxOspfv3IfEntry.index(0).string() + root.out.juniper.jnxOspfv3IfInstId = root.TEMP.jnxOspfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", interface: ifIndex " + root.out.juniper.jnxOspfv3IfIndex + ", instance: " + root.out.juniper.jnxOspfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfConfigError" + root.out.event.category.name = "OSPF interface configuration state" + root.out.event.message = "OSPF interface ingress " + root.out.juniper.jnxOspfv3PacketType + " packet configuration error: " + root.out.juniper.jnxOspfv3ConfigErrorType + " from " + root.out.juniper.jnxOspfv3PacketSrc + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfConfigError-unknown" + root.out.event.category.name = "OSPF interface configuration state" + root.out.event.message = "OSPF interface ingress packet configuration error - UNEXPECTED VARBINDS for jnxOspfv3IfConfigError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 5 + # jnxOspfv3VirtIfConfigError + # + # An jnxOspfv3VirtIfConfigError notification signifies that a packet has been received on a virtual interface from a + # router whose configuration parameters conflict with this router's configuration parameters. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3VirtIfState (INTEGER) - OSPF virtual interface states. + # jnxOspfv3ConfigErrorType (INTEGER) - Potential types of configuration conflicts. + # jnxOspfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.1") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.2") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + root.out.juniper.jnxOspfv3ConfigErrorType = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.1") + root.out.juniper.jnxOspfv3PacketType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.2") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3VirtIfAreaId = root.TEMP.jnxOspfv3VirtIfEntry.index(0).string() + root.out.juniper.jnxOspfv3VirtIfNeighbor = root.TEMP.jnxOspfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3VirtIfAreaId + ", neighbor: " + root.out.juniper.jnxOspfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfConfigError" + root.out.event.category.name = "OSPF virtual interface configuration state" + root.out.event.message = "OSPF virtual interface ingress " + root.out.juniper.jnxOspfv3PacketType + " packet configuration error: " + root.out.juniper.jnxOspfv3ConfigErrorType + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfConfigError" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfConfigError-unknown" + root.out.event.category.name = "OSPF virtual interface configuration state" + root.out.event.message = "OSPF virtual interface configuration error - UNEXPECTED VARBINDS for jnxOspfv3VirtIfConfigError trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 6 + # jnxOspfv3IfRxBadPacket + # + # An jnxOspfv3IfRxBadPacket notification signifies that an OSPFv3 packet that cannot be parsed has been received on a + # non-virtual interface. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3IfState (INTEGER) - The OSPFv3 interface state. + # jnxOspfv3PacketSrc (OCTET STRING) - The IPv6 address of an inbound packet that cannot be identified by a neighbor instance. + # jnxOspfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.3") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.2") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + root.out.juniper.jnxOspfv3PacketSrc = this.trap.VarBinds.index(2).Value.snmp_inet_address(2) + root.out.juniper.jnxOspfv3PacketType = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.2") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3IfIndex = root.TEMP.jnxOspfv3IfEntry.index(0).string() + root.out.juniper.jnxOspfv3IfInstId = root.TEMP.jnxOspfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", interface: ifIndex " + root.out.juniper.jnxOspfv3IfIndex + ", instance: " + root.out.juniper.jnxOspfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfRxBadPacket" + root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.message = "OSPF interface bad ingress " + root.out.juniper.jnxOspfv3PacketType + " packet from " + root.out.juniper.jnxOspfv3PacketSrc + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfRxBadPacket-unknown" + root.out.event.category.name = "OSPF interface ingress packet state" + root.out.event.message = "OSPF interface bad ingress packet - UNEXPECTED VARBINDS for jnxOspfv3IfRxBadPacket trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 7 + # jnxOspfv3VirtIfRxBadPacket + # + # An jnxOspfv3VirtIfRxBadPacket notification signifies that an OSPFv3 packet that cannot be parsed has been received on + # a virtual interface. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3VirtIfState (INTEGER) - OSPF virtual interface states. + # jnxOspfv3PacketType (INTEGER) - OSPFv3 packet types. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 2 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.13.2") { + meta varbinds_ok = true + }}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3VirtIfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + root.out.juniper.jnxOspfv3PacketType = this.trap.VarBinds.index(2).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.13.2") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3VirtIfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.8.1.9") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3VirtIfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3VirtIfAreaId = root.TEMP.jnxOspfv3VirtIfEntry.index(0).string() + root.out.juniper.jnxOspfv3VirtIfNeighbor = root.TEMP.jnxOspfv3VirtIfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3VirtIfAreaId + ", neighbor: " + root.out.juniper.jnxOspfv3VirtIfNeighbor + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfRxBadPacket" + root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.message = "OSPF virtual interface bad ingress " + root.out.juniper.jnxOspfv3PacketType + " packet" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + }}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfRxBadPacket" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtIfRxBadPacket-unknown" + root.out.event.category.name = "OSPF virtual interface ingress packet state" + root.out.event.message = "OSPF virtual interface bad ingress packet - UNEXPECTED VARBINDS for jnxOspfv3VirtIfRxBadPacket trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 8 + # jnxOspfv3LsdbOverflow + # + # An jnxOspfv3LsdbOverflow notification signifies that the number of LSAs in the router's link state database has + # exceeded jnxOspfv3ExtAreaLsdbLimit. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3ExtAreaLsdbLimit (Integer32) - The maximum number of non-default AS-external-LSA entries that can be stored + # in the link state database. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.11") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3ExtAreaLsdbLimit = this.trap.VarBinds.index(1).Value + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbOverflow" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB overflow, limit: " + root.out.juniper.jnxOspfv3ExtAreaLsdbLimit.string() + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbOverflow-unknown" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB overflow - UNEXPECTED VARBINDS for jnxOspfv3LsdbOverflow trap!" + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - check: this.trap.SpecificTrap == 9 + # jnxOspfv3LsdbApproachingOverflow + # + # An jnxOspfv3LsdbApproachingOverflow notification signifies that the number of LSAs in the router's link state + # database has exceeded ninety percent of jnxOspfv3ExtAreaLsdbLimit. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3ExtAreaLsdbLimit (Integer32) - The maximum number of non-default AS-external-LSA entries that can be stored + # in the link state database. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.11") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3ExtAreaLsdbLimit = this.trap.VarBinds.index(1).Value + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbApproachingOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbApproachingOverflow" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB approaching overflow, exceeds 90% of limit: " + root.out.juniper.jnxOspfv3ExtAreaLsdbLimit.string() + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbApproachingOverflow" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3LsdbApproachingOverflow-unknown" + root.out.event.category.name = "OSPF LSDB state" + root.out.event.message = "OSPF LSDB approaching overflow - UNEXPECTED VARBINDS for jnxOspfv3LsdbApproachingOverflow trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 10 + # jnxOspfv3IfStateChange + # + # An jnxOspfv3IfStateChange notification signifies that there has been a change in the state of a non-virtual OSPFv3 + # interface. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3IfState (INTEGER) - The OSPFv3 interface state. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3IfState = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3IfState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3IfEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.7.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3IfEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3IfIndex = root.TEMP.jnxOspfv3IfEntry.index(0).string() + root.out.juniper.jnxOspfv3IfInstId = root.TEMP.jnxOspfv3IfEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", interface: ifIndex " + root.out.juniper.jnxOspfv3IfIndex + ", instance: " + root.out.juniper.jnxOspfv3IfInstId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfStateChange" + root.out.event.category.name = "OSPF interface state" + + - switch: + - check: metadata("jnxOspfv3IfState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-down" + root.out.event.message = "OSPF interface down" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: metadata("jnxOspfv3IfState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-loopback" + root.out.event.message = "OSPF interface loopback" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("jnxOspfv3IfState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-waiting" + root.out.event.message = "OSPF interface waiting" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3IfState") == 4 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-pointToPoint" + root.out.event.message = "OSPF interface point-to-point" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3IfState") == 5 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-designatedRouter" + root.out.event.message = "OSPF interface designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3IfState") == 6 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-backupDesignatedRouter" + root.out.event.message = "OSPF interface backup designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3IfState") == 7 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-otherDesignatedRouter" + root.out.event.message = "OSPF interface other designated router" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3IfState") == 8 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-standby" + root.out.event.message = "OSPF interface standby" + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF interface unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfStateChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3IfStateChange-unknown" + root.out.event.category.name = "OSPF interface state" + root.out.event.message = "OSPF interface state changed - UNEXPECTED VARBINDS for jnxOspfv3IfStateChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 11 + # jnxOspfv3NssaTranslatorStatusChange + # + # An jnxOspfv3NssaTranslatorStatusChange notification indicates that there has been a change in the router's ability to + # translate OSPFv3 NSSA LSAs into OSPFv3 External LSAs. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3AreaNssaTranslatorState (INTEGER) - Indicates if and how an NSSA border router is performing NSSA + # translation of NSSA-LSAs into AS-External-LSAs. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.2.1.12") { + meta varbinds_ok = true + }}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3AreaNssaTranslatorState = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3AreaNssaTranslatorState = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.2.1.12") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3AreaEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.2.1.12") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.juniper.jnxOspfv3AreaId = root.out.object.index + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3AreaId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NssaTranslatorStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NssaTranslatorStatusChange" + root.out.event.category.name = "OSPF NSSA translator state" + + - switch: + - check: metadata("jnxOspfv3AreaNssaTranslatorState") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-enabled" + root.out.event.message = "OSPF NSSA translator enabled" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3AreaNssaTranslatorState") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-elected" + root.out.event.message = "OSPF NSSA translator elected" + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3AreaNssaTranslatorState") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-disabled" + root.out.event.message = "OSPF NSSA translator disabled" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF NSSA translator unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NssaTranslatorStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NssaTranslatorStatusChange-unknown" + root.out.event.category.name = "OSPF NSSA translator state" + root.out.event.message = "OSPF NSSA translator state changed - UNEXPECTED VARBINDS for jnxOspfv3NssaTranslatorStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 12 + # jnxOspfv3RestartStatusChange + # + # An jnxOspfv3RestartStatusChange notification signifies that there has been a change in the graceful restart state for + # the router. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3RestartStatus (INTEGER) - The current status of OSPF graceful restart capability. + # jnxOspfv3RestartInterval (Unsigned32) - Configured OSPF graceful restart timeout interval. + # jnxOspfv3RestartExitRc (INTEGER) - Describes the outcome of the last attempt at a graceful restart. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.18") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.17") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.20") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3RestartStatus = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3RestartStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.1.18") + root.out.juniper.jnxOspfv3RestartInterval = this.trap.VarBinds.index(2).Value + root.out.juniper.jnxOspfv3RestartExitRc = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.1.20") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3GeneralGroup" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3RestartStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3RestartStatusChange" + root.out.event.category.name = "OSPF restart state" + + - switch: + - check: metadata("jnxOspfv3RestartStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notRestarting" + root.out.event.message = "OSPF running: " + root.out.juniper.jnxOspfv3RestartExitRc + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - check: metadata("jnxOspfv3RestartStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-plannedRestart" + root.out.event.message = "OSPF planned restart: " + root.out.juniper.jnxOspfv3RestartExitRc + root.out.event.severity.code = 5 + root.out.event.severity.level = "Notice" + + - check: metadata("jnxOspfv3RestartStatus") == 3 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unplannedRestart" + root.out.event.message = "OSPF unplanned restart: " + root.out.juniper.jnxOspfv3RestartExitRc + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF restart state unknown" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3RestartStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3RestartStatusChange-unknown" + root.out.event.category.name = "OSPF restart state" + root.out.event.message = "OSPF restart state changed - UNEXPECTED VARBINDS for jnxOspfv3RestartStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 13 + # jnxOspfv3NbrRestartHelperStatusChange + # + # An jnxOspfv3NbrRestartHelperStatusChange notification signifies that there has been a change in the graceful restart + # helper state for the neighbor. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3NbrRestartHelperStatus (INTEGER) - Indicates whether the router is acting as a graceful restart helper for + # the neighbor. + # jnxOspfv3NbrRestartHelperAge (Unsigned32) - Remaining time in current OSPF graceful restart interval, if the router + # is acting as a restart helper for the neighbor. + # jnxOspfv3NbrRestartHelperExitRc (INTEGER) - Describes the outcome of the last attempt at acting as a graceful + # restart helper for the neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.9.1.13") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.9.1.14") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.9.1.15") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3NbrRestartHelperStatus = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3NbrRestartHelperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.9.1.13") + root.out.juniper.jnxOspfv3NbrRestartHelperAge = this.trap.VarBinds.index(2).Value + root.out.juniper.jnxOspfv3NbrRestartHelperExitRc = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.9.1.15") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3NbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.9.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3NbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer,Integer") + root.out.juniper.jnxOspfv3NbrIfIndex = root.TEMP.jnxOspfv3NbrEntry.index(0).string() + root.out.juniper.jnxOspfv3NbrIfInstId = root.TEMP.jnxOspfv3NbrEntry.index(1).string() + root.out.juniper.jnxOspfv3NbrRtrId = root.TEMP.jnxOspfv3NbrEntry.index(2).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", interface: ifIndex " + root.out.juniper.jnxOspfv3NbrIfIndex + ", instance: " + root.out.juniper.jnxOspfv3NbrIfInstId + ", neighbor: " + root.out.juniper.jnxOspfv3NbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrRestartHelperStatusChange" + root.out.event.category.name = "OSPF neighbor graceful restart helper state" + + - switch: + - check: metadata("jnxOspfv3NbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF neighbor graceful restart helper not helping: " + root.out.juniper.jnxOspfv3NbrRestartHelperExitRc + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("jnxOspfv3NbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF neighbor graceful restart helper helping: " + root.out.juniper.jnxOspfv3NbrRestartHelperExitRc + root.out.event.severity.code = 6 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF neighbor graceful restart helper unknown: " + root.out.juniper.jnxOspfv3NbrRestartHelperExitRc + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3NbrRestartHelperStatusChange-unknown" + root.out.event.category.name = "OSPF neighbor graceful restart helper state" + root.out.event.message = "OSPF neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for jnxOspfv3NbrRestartHelperStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: this.trap.SpecificTrap == 14 + # jnxOspfv3VirtNbrRestartHelperStatusChange + # + # An jnxOspfv3VirtNbrRestartHelperStatusChange notification signifies that there has been a change in the graceful + # restart helper state for the virtual neighbor. + # + # jnxOspfv3RouterId (Unsigned32) - A 32-bit unsigned integer uniquely identifying the router in the Autonomous System. + # jnxOspfv3VirtNbrRestartHelperStatus (INTEGER) - Indicates whether the router is acting as a graceful restart helper + # for the neighbor. + # jnxOspfv3VirtNbrRestartHelperAge (Unsigned32) - Remaining time in the current OSPF graceful restart interval, if the + # router is acting as a restart helper for the neighbor. + # jnxOspfv3VirtNbrRestartHelperExitRc (INTEGER) - Describes the outcome of the last attempt at acting as a graceful + # restart helper for the neighbor. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 3 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.11.1.13") { + if this.trap.VarBinds.index(2).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.11.1.14") { + if this.trap.VarBinds.index(3).OID.has_prefix(".1.3.6.1.4.1.2636.5.4.1.1.11.1.15") { + meta varbinds_ok = true + }}}}} + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + meta jnxOspfv3VirtNbrRestartHelperStatus = this.trap.VarBinds.index(1).Value + + root.out.juniper.jnxOspfv3RouterId = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxOspfv3VirtNbrRestartHelperStatus = this.trap.VarBinds.index(1).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.11.1.13") + root.out.juniper.jnxOspfv3VirtNbrRestartHelperAge = this.trap.VarBinds.index(2).Value + root.out.juniper.jnxOspfv3VirtNbrRestartHelperExitRc = this.trap.VarBinds.index(3).Value.snmp_int_enum_enrich(".1.3.6.1.4.1.2636.5.4.1.1.11.1.15") + + root.out.object.name = "OSPFV3-MIB-JUNIPER::jnxOspfv3VirtNbrEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.4.1.1.11.1.13") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + root.TEMP.jnxOspfv3VirtNbrEntry = root.out.object.index.snmp_oid_extract_index("Integer,Integer") + root.out.juniper.jnxOspfv3VirtNbrArea = root.TEMP.jnxOspfv3VirtNbrEntry.index(0).string() + root.out.juniper.jnxOspfv3VirtNbrRtrId = root.TEMP.jnxOspfv3VirtNbrEntry.index(1).string() + root.out.object.label = "router: " + root.out.juniper.jnxOspfv3RouterId + ", area: " + root.out.juniper.jnxOspfv3VirtNbrArea + ", neighbor: " + root.out.juniper.jnxOspfv3VirtNbrRtrId + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrRestartHelperStatusChange" + root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" + + - switch: + - check: metadata("jnxOspfv3VirtNbrRestartHelperStatus") == 1 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-notHelping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper not helping: " + root.out.juniper.jnxOspfv3VirtNbrRestartHelperExitRc + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - check: metadata("jnxOspfv3VirtNbrRestartHelperStatus") == 2 + processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-helping" + root.out.event.message = "OSPF virtual neighbor graceful restart helper helping: " + root.out.juniper.jnxOspfv3VirtNbrRestartHelperExitRc + root.out.event.severity.code = 1 + root.out.event.severity.level = "Informational" + + - processors: + - mapping: |- + #!blobl + root = this + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "OSPF virtual neighbor graceful restart helper state unknown: " + root.out.juniper.jnxOspfv3VirtNbrRestartHelperExitRc + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + }}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrRestartHelperStatusChange" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-jnxOspfv3VirtNbrRestartHelperStatusChange-unknown" + root.out.event.category.name = "OSPF virtual neighbor graceful restart helper state" + root.out.event.message = "OSPF virtual neighbor graceful restart helper state changed - UNEXPECTED VARBINDS for jnxOspfv3VirtNbrRestartHelperStatusChange trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + if this.trap.VarBinds.length() > 8 { + root.out.snmptrap.varbind.oid_8 = this.trap.VarBinds.index(8).OID + root.out.snmptrap.varbind.type_8 = this.trap.VarBinds.index(8).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(8).Type == 4 || this.trap.VarBinds.index(8).Type == 68 { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_8 = this.trap.VarBinds.index(8).Value.string() + } + if this.trap.VarBinds.length() > 9 { + root.out.snmptrap.varbind.oid_9 = this.trap.VarBinds.index(9).OID + root.out.snmptrap.varbind.type_9 = this.trap.VarBinds.index(9).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(9).Type == 4 || this.trap.VarBinds.index(9).Type == 68 { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_9 = this.trap.VarBinds.index(9).Value.string() + } + if this.trap.VarBinds.length() > 10 { + root.out.snmptrap.varbind.oid_10 = this.trap.VarBinds.index(10).OID + root.out.snmptrap.varbind.type_10 = this.trap.VarBinds.index(10).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(10).Type == 4 || this.trap.VarBinds.index(10).Type == 68 { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_10 = this.trap.VarBinds.index(10).Value.string() + } + if this.trap.VarBinds.length() > 11 { + root.out.snmptrap.varbind.oid_11 = this.trap.VarBinds.index(11).OID + root.out.snmptrap.varbind.type_11 = this.trap.VarBinds.index(11).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(11).Type == 4 || this.trap.VarBinds.index(11).Type == 68 { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_11 = this.trap.VarBinds.index(11).Value.string() + } + if this.trap.VarBinds.length() > 12 { + root.out.snmptrap.varbind.oid_12 = this.trap.VarBinds.index(12).OID + root.out.snmptrap.varbind.type_12 = this.trap.VarBinds.index(12).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(12).Type == 4 || this.trap.VarBinds.index(12).Type == 68 { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_12 = this.trap.VarBinds.index(12).Value.string() + } + if this.trap.VarBinds.length() > 13 { + root.out.snmptrap.varbind.oid_13 = this.trap.VarBinds.index(13).OID + root.out.snmptrap.varbind.type_13 = this.trap.VarBinds.index(13).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(13).Type == 4 || this.trap.VarBinds.index(13).Type == 68 { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_13 = this.trap.VarBinds.index(13).Value.string() + } + if this.trap.VarBinds.length() > 14 { + root.out.snmptrap.varbind.oid_14 = this.trap.VarBinds.index(14).OID + root.out.snmptrap.varbind.type_14 = this.trap.VarBinds.index(14).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(14).Type == 4 || this.trap.VarBinds.index(14).Type == 68 { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_14 = this.trap.VarBinds.index(14).Value.string() + } + if this.trap.VarBinds.length() > 15 { + root.out.snmptrap.varbind.oid_15 = this.trap.VarBinds.index(15).OID + root.out.snmptrap.varbind.type_15 = this.trap.VarBinds.index(15).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(15).Type == 4 || this.trap.VarBinds.index(15).Type == 68 { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_15 = this.trap.VarBinds.index(15).Value + } + }}}}}}}}}}}}}}}} + + root.out.event.class.name = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-unknown" + root.out.event.id = "SNMPTRAP-OSPFV3-MIB-JUNIPER-jnxOspfv3MIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper OSPFV3-MIB-JUNIPER-jnxOspfv3MIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/juniper/VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB.yml b/traps/rules/juniper/VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB.yml new file mode 100644 index 00000000..09a15557 --- /dev/null +++ b/traps/rules/juniper/VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB.yml @@ -0,0 +1,189 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Juniper VPLS-LDP-DRAFT-01-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # jnxVplsLdpPwBindMacTableFull + # + # The jnxVplsLdpPwBindMacTableFull notification is generated when the number of learned MAC-Addresses increases to + # the value specified in jnxVplsLdpPwBindMacAddressLimit. + # + # jnxVplsConfigIndex (Unsigned32) - Unique index for the conceptual row identifying a VPLS service. + # jnxVplsPwBindIndex (Unsigned32) - Secondary Index for the conceptual row identifying a pseudowire within the + # PwEntry which MUST match an entry from the PW-STD-MIB's PwTable which represents an already-provisioned + # pseudowire that is then associated with this VPLS instance. + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() > 1 { + if this.trap.VarBinds.index(0).OID.has_prefix(".1.3.6.1.4.1.2636.5.8.1.2.1.1") { + if this.trap.VarBinds.index(1).OID.has_prefix(".1.3.6.1.4.1.2636.5.8.1.4.1.5") { + meta varbinds_ok = true + }}} + + root.out.event.class.name = "SNMPTRAP-VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB-jnxVplsLdpPwBindMacTableFull" + root.out.event.id = "SNMPTRAP-VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB-jnxVplsLdpPwBindMacTableFull" + root.out.event.category.name = "VPLS pseudowire state" + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.juniper.jnxVplsConfigIndex = this.trap.VarBinds.index(0).Value.string() + root.out.juniper.jnxVplsPwBindIndex = this.trap.VarBinds.index(1).Value.string() + + root.out.object.name = "VPLS-GENERIC-DRAFT-01-MIB::jnxVplsPwBindEntry" + root.out.object.index = this.trap.VarBinds.index(1).OID.snmp_oid_get_index(".1.3.6.1.4.1.2636.5.8.1.4.1.5") + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.object.label = "VPLS: " + root.out.juniper.jnxVplsConfigIndex + ", pseudowire: " + root.out.juniper.jnxVplsPwBindIndex + + root.out.event.message = "VPLS pseudowire learned MAC address table full" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - mapping: |- + #!blobl + root = this + + root.out.event.message = if root.out.exists("object.label") { + root.out.event.message + " [ " + root.out.object.label + " ]" + } + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + }}}}} + + root.out.event.id = root.out.event.id + "-unknown" + root.out.event.message = "VPLS pseudowire learned MAC address table full - UNEXPECTED VARBINDS for jnxVplsLdpPwBindMacTableFull trap!" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB-unknown" + root.out.event.id = "SNMPTRAP-VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Juniper VPLS-LDP-DRAFT-01-MIB-jnxVplsLdpDraft01MIB" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/lannair/BREEZECOM-MIB-breezecomAP10.yml b/traps/rules/lannair/BREEZECOM-MIB-breezecomAP10.yml deleted file mode 100644 index 101423d0..00000000 --- a/traps/rules/lannair/BREEZECOM-MIB-breezecomAP10.yml +++ /dev/null @@ -1,168 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BREEZECOM-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: brz_aproaming_in_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapSTAMacAddr = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.lannair.brzTrapSTAType = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.9") - - label: brz_aproaming_in_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AP Roaming" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() - root.out.event.message = lookup($2, brzTrapSTAType)(" + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + ") has roamed into this Access Point" - - check: this.trap.SpecificTrap == 2 - processors: - - label: brz_apassociated_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapSTAMacAddr = this.trap.VarBinds.index(0).Value.snmp_mac_address() - - label: brz_apassociated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AP Associated" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() - root.out.event.message = "Station " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + " was associated with this Access Point" - - check: this.trap.SpecificTrap == 3 - processors: - - label: brz_apdisassociated_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapSTAMacAddr = this.trap.VarBinds.index(0).Value.snmp_mac_address() - - label: brz_apdisassociated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AP Disassociated" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() - root.out.event.message = "Station " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + " disassociated itself with the Access Point" - - check: this.trap.SpecificTrap == 4 - processors: - - label: brz_apaging_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapSTAMacAddr = this.trap.VarBinds.index(0).Value.snmp_mac_address() - - label: brz_apaging_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AP Aging" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() - root.out.event.message = "The Access Point's association with Station " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + " was aged out" - - check: this.trap.SpecificTrap == 5 - processors: - - label: brz_aproamed_out_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapSTAMacAddr = this.trap.VarBinds.index(0).Value.snmp_mac_address() - - label: brz_aproamed_out_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "AP Roamed Out" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_mac_address().string() - root.out.event.message = "Station " + this.trap.VarBinds.index(0).Value.snmp_mac_address().string() + " has roamed out from this Access Point" - - check: this.trap.SpecificTrap == 7 - processors: - - label: brz_apwlan_statusap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapToggle = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.8") - root.out.lannair.brzTrapMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: brz_apwlan_statusap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "W-LAN Status" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_mac_address().string() - root.out.event.message = "Wireless LAN quality has dropped below the brzWlanTrapThreshold value" - root.out.event.message = "Wireless LAN quality has improved above the brzWlanTrapThreshold value" - - check: this.trap.SpecificTrap == 8 - processors: - - label: brz_wlan_status_of_station_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapToggle = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.8") - root.out.lannair.brzTrapMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: brz_wlan_status_of_station_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "W-LAN Status Of Station" - root.out.object.name = this.trap.VarBinds.index(1).Value.snmp_mac_address().string() - root.out.event.message = "" - root.out.event.message = "Bad Wireless Connection quality" - root.out.event.message = "Good Wireless Connection quality" - - check: this.trap.SpecificTrap == 9 - processors: - - label: brz_general_ap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_general_ap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "General Trap" - root.out.object.name = "" - root.out.event.message = "General Trap: brzTrapIndex - " + this.trap.VarBinds.index(0).Value.string() + ", brzTrapText - " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 10 - processors: - - label: brz_event_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_event_log_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/lannair/BREEZECOM-MIB-breezecomSA10.yml b/traps/rules/lannair/BREEZECOM-MIB-breezecomSA10.yml deleted file mode 100644 index 6fc94a7f..00000000 --- a/traps/rules/lannair/BREEZECOM-MIB-breezecomSA10.yml +++ /dev/null @@ -1,98 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BREEZECOM-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: brz_staassociated_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzLastAPMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.lannair.brzTrapAPMacAddr = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.lannair.brzTrapLastRssiQuality = this.trap.VarBinds.index(2).Value - root.out.lannair.brzTrapRssiQuality = this.trap.VarBinds.index(3).Value - - label: brz_staassociated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: brz_stawlan_status_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapToggle = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.8") - root.out.lannair.brzTrapMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: brz_stawlan_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: brz_general_sta_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_general_sta_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: brz_event_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_event_log_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/lannair/BREEZECOM-MIB-breezecomSA40.yml b/traps/rules/lannair/BREEZECOM-MIB-breezecomSA40.yml deleted file mode 100644 index fbf99c6d..00000000 --- a/traps/rules/lannair/BREEZECOM-MIB-breezecomSA40.yml +++ /dev/null @@ -1,98 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BREEZECOM-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: brz_sa40associated_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzLastAPMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.lannair.brzTrapAPMacAddr = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.lannair.brzTrapLastRssiQuality = this.trap.VarBinds.index(2).Value - root.out.lannair.brzTrapRssiQuality = this.trap.VarBinds.index(3).Value - - label: brz_sa40associated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: brz_sa40wlan_status_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapToggle = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.8") - root.out.lannair.brzTrapMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: brz_sa40wlan_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: brz_general_sa40_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_general_sa40_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: brz_event_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_event_log_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/lannair/BREEZECOM-MIB-breezecomWB10.yml b/traps/rules/lannair/BREEZECOM-MIB-breezecomWB10.yml deleted file mode 100644 index 1f7e66fc..00000000 --- a/traps/rules/lannair/BREEZECOM-MIB-breezecomWB10.yml +++ /dev/null @@ -1,98 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "BREEZECOM-MIB" -- switch: - - check: this.trap.SpecificTrap == 6 - processors: - - label: brz_wbassociated_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzLastAPMacAddress = this.trap.VarBinds.index(0).Value.snmp_mac_address() - root.out.lannair.brzTrapAPMacAddr = this.trap.VarBinds.index(1).Value.snmp_mac_address() - root.out.lannair.brzTrapLastRssiQuality = this.trap.VarBinds.index(2).Value - root.out.lannair.brzTrapRssiQuality = this.trap.VarBinds.index(3).Value - - label: brz_wbassociated_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: brz_wbwlan_status_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapToggle = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.710.3.2.5.8") - root.out.lannair.brzTrapMacAddress = this.trap.VarBinds.index(1).Value.snmp_mac_address() - - label: brz_wbwlan_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: brz_general_wb_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_general_wb_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: brz_event_log_trap_variables - mapping: |- - #!blobl - root = this - - root.out.lannair.brzTrapIndex = this.trap.VarBinds.index(0).Value - root.out.lannair.brzTrapText = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: brz_event_log_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/latitude/LATITUDE-MEETINGPLACE-MIB-meetingplaceEventsV2.yml b/traps/rules/latitude/LATITUDE-MEETINGPLACE-MIB-meetingplaceEventsV2.yml deleted file mode 100644 index dcc2c860..00000000 --- a/traps/rules/latitude/LATITUDE-MEETINGPLACE-MIB-meetingplaceEventsV2.yml +++ /dev/null @@ -1,468 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LATITUDE-MEETINGPLACE-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: mp_t1down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpT1Down" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpT1Down" - root.out.event.category.name = "Telephony Port Status" - root.out.object.name = "" - root.out.event.message = "Telephony Port Problem, T1 Down" - - check: this.trap.SpecificTrap == 2 - processors: - - label: mp_gwsim_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpGWSimAlarm" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpGWSimAlarm" - root.out.event.category.name = "MeetingPlace Gateway Status" - root.out.object.name = "" - root.out.event.message = "MeetingPlace Gateway Alarm" - - check: this.trap.SpecificTrap == 3 - processors: - - label: mp_maj_hw_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.latitude.mpExCode = this.trap.VarBinds.index(0).Value - root.out.latitude.mpSysUnit = this.trap.VarBinds.index(1).Value - root.out.latitude.mpHwDev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7185.3.1.3.3") - root.out.latitude.mpHwUnit = this.trap.VarBinds.index(3).Value - root.out.latitude.mpHwSlot = this.trap.VarBinds.index(4).Value - root.out.latitude.mpHwPort = this.trap.VarBinds.index(5).Value - - label: mp_maj_hw_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMajHwAlarm" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMajHwAlarm" - root.out.event.category.name = "MeetingPlace " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7185.3.1.3.3").string() + " Status" - - label: mp_maj_hw_alarm_rules_2 - switch: - - check: 'this.trap.VarBinds.index(3).Value.string() == ' - processors: - - label: mp_maj_hw_alarm_rules_2_ - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Port: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Unit Communication Lost" - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "System Crashed: Power Fail, Reset, or Watchdog Timer" - - check: this.trap.VarBinds.index(3).Value.string() == 45176 - processors: - - label: mp_maj_hw_alarm_rules_2_45176 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Span: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Red Alarm Detected on T1 Span" - - check: this.trap.VarBinds.index(3).Value.string() == 1179906 - processors: - - label: mp_maj_hw_alarm_rules_2_1179906 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Data Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1179970 - processors: - - label: mp_maj_hw_alarm_rules_2_1179970 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Agent Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180034 - processors: - - label: mp_maj_hw_alarm_rules_2_1180034 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Audio Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180162 - processors: - - label: mp_maj_hw_alarm_rules_2_1180162 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "SMTP Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180674 - processors: - - label: mp_maj_hw_alarm_rules_2_1180674 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Outlook Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180930 - processors: - - label: mp_maj_hw_alarm_rules_2_1180930 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Notes Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180994 - processors: - - label: mp_maj_hw_alarm_rules_2_1180994 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "MPNotify Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181186 - processors: - - label: mp_maj_hw_alarm_rules_2_1181186 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181250 - processors: - - label: mp_maj_hw_alarm_rules_2_1181250 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf GCC Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181314 - processors: - - label: mp_maj_hw_alarm_rules_2_1181314 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf MCS Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181378 - processors: - - label: mp_maj_hw_alarm_rules_2_1181378 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf Sametime Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181506 - processors: - - label: mp_maj_hw_alarm_rules_2_1181506 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "VoIP MPStream Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181698 - processors: - - label: mp_maj_hw_alarm_rules_2_1181698 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "MP Directory Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1183490 - processors: - - label: mp_maj_hw_alarm_rules_2_1183490 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Gateway SIM Agent Not Responding" - - processors: - - label: mp_maj_hw_alarm_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Port: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = root.out.event.category.name + " Major" - - label: mp_maj_hw_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: mp_min_hw_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.latitude.mpExCode = this.trap.VarBinds.index(0).Value - root.out.latitude.mpSysUnit = this.trap.VarBinds.index(1).Value - root.out.latitude.mpHwDev = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7185.3.1.3.3") - root.out.latitude.mpHwUnit = this.trap.VarBinds.index(3).Value - root.out.latitude.mpHwSlot = this.trap.VarBinds.index(4).Value - root.out.latitude.mpHwPort = this.trap.VarBinds.index(5).Value - - label: mp_min_hw_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMinHwAlarm" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMinHwAlarm" - root.out.event.category.name = "MeetingPlace " + this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7185.3.1.3.3").string() + " Status" - - label: mp_min_hw_alarm_rules_2 - switch: - - check: 'this.trap.VarBinds.index(3).Value.string() == ' - processors: - - label: mp_min_hw_alarm_rules_2_ - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Port: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Unit Communication Lost" - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() - root.out.event.message = "System Crashed: Power Fail, Reset, or Watchdog Timer" - - check: this.trap.VarBinds.index(3).Value.string() == 45176 - processors: - - label: mp_min_hw_alarm_rules_2_45176 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Span: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Red Alarm Detected on T1 Span" - - check: this.trap.VarBinds.index(3).Value.string() == 1179906 - processors: - - label: mp_min_hw_alarm_rules_2_1179906 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Data Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1179970 - processors: - - label: mp_min_hw_alarm_rules_2_1179970 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Agent Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180034 - processors: - - label: mp_min_hw_alarm_rules_2_1180034 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "WebPub Audio Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180162 - processors: - - label: mp_min_hw_alarm_rules_2_1180162 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "SMTP Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180674 - processors: - - label: mp_min_hw_alarm_rules_2_1180674 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Outlook Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180930 - processors: - - label: mp_min_hw_alarm_rules_2_1180930 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Notes Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1180994 - processors: - - label: mp_min_hw_alarm_rules_2_1180994 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "MPNotify Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181186 - processors: - - label: mp_min_hw_alarm_rules_2_1181186 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf Gateway Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181250 - processors: - - label: mp_min_hw_alarm_rules_2_1181250 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf GCC Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181314 - processors: - - label: mp_min_hw_alarm_rules_2_1181314 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf MCS Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181378 - processors: - - label: mp_min_hw_alarm_rules_2_1181378 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "DataConf Sametime Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181506 - processors: - - label: mp_min_hw_alarm_rules_2_1181506 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "VoIP MPStream Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1181698 - processors: - - label: mp_min_hw_alarm_rules_2_1181698 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "MP Directory Service Not Responding" - - check: this.trap.VarBinds.index(3).Value.string() == 1183490 - processors: - - label: mp_min_hw_alarm_rules_2_1183490 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() - root.out.event.message = "Gateway SIM Agent Not Responding" - - processors: - - label: mp_min_hw_alarm_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() + ", HW Unit: " + this.trap.VarBinds.index(3).Value.string() + ", Slot: " + this.trap.VarBinds.index(4).Value.string() + ", Port: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = root.out.event.category.name + " Minor" - - label: mp_min_hw_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: mp_maj_sw_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.latitude.mpExCode = this.trap.VarBinds.index(0).Value - root.out.latitude.mpSysUnit = this.trap.VarBinds.index(1).Value - root.out.latitude.mpAlarmDesc = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: mp_maj_sw_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMajSwAlarm" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMajSwAlarm" - root.out.event.category.name = "MeetingPlace Software Status" - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() - - label: mp_maj_sw_alarm_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unit Communication Lost" - root.out.event.message = "System Crashed: Power Fail, Reset, or Watchdog Timer" - - label: mp_maj_sw_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: mp_min_sw_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.latitude.mpExCode = this.trap.VarBinds.index(0).Value - root.out.latitude.mpSysUnit = this.trap.VarBinds.index(1).Value - root.out.latitude.mpAlarmDesc = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: mp_min_sw_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMinSwAlarm" - root.out.event.id = "SNMPTRAP-latitude-LATITUDE-MEETINGPLACE-MIB-mpMinSwAlarm" - root.out.event.category.name = "MeetingPlace Software Status" - root.out.object.name = "Server: " + this.trap.VarBinds.index(1).Value.string() - - label: mp_min_sw_alarm_rules_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Unit Communication Lost" - root.out.event.message = "System Crashed: Power Fail, Reset, or Watchdog Timer" - - label: mp_min_sw_alarm_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/leitch/LEITCH-ROUTER-MIB-device.yml b/traps/rules/leitch/LEITCH-ROUTER-MIB-device.yml deleted file mode 100644 index 5c68c415..00000000 --- a/traps/rules/leitch/LEITCH-ROUTER-MIB-device.yml +++ /dev/null @@ -1,746 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LEITCH-ROUTER-MIB" -- switch: - - check: this.trap.SpecificTrap == 4 - processors: - - label: device_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_name_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceNameEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceNameEvent" - root.out.event.category.name = "Device Name Change" - root.out.object.name = "Device: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "Device Name Changed ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 8 - processors: - - label: device_config_state_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceConfigState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.6") - - label: device_config_state_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceConfigStateEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceConfigStateEvent" - root.out.event.category.name = "Device Configuration Status" - root.out.object.name = "" - - label: device_config_state_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_config_state_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Configuration OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_config_state_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Configuration Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_config_state_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Configuration Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_config_state_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Configuration Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_config_state_event_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 11 - processors: - - label: device_comm_state_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceCommState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.9") - - label: device_comm_state_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceCommStateEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceCommStateEvent" - root.out.event.category.name = "Device Communications Status" - root.out.object.name = "" - - label: device_comm_state_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_comm_state_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Communications OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_comm_state_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Communications Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_comm_state_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Communications Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_comm_state_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Communications Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_comm_state_event_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 14 - processors: - - label: device_control_state_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceControlState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.12") - - label: device_control_state_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceControlStateEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceControlStateEvent" - root.out.event.category.name = "Device Control Status" - root.out.object.name = "" - - label: device_control_state_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_control_state_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Control OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_control_state_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Control Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_control_state_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Control Status Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_control_state_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Control Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_control_state_event_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 21 - processors: - - label: device_ipsettings_ip_address_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceIPSettingsIpAddress = this.trap.VarBinds.index(0).Value - - label: device_ipsettings_ip_address_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsIpAddressEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsIpAddressEvent" - root.out.event.category.name = "Device IP Address Change" - root.out.object.name = "deviceIPSettingsEntry.10" - root.out.event.message = "Device IP Address Changed ( IP Address: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 22 - processors: - - label: device_ipsettings_netmask_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceIPSettingsNetMask = this.trap.VarBinds.index(0).Value - - label: device_ipsettings_netmask_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsNetmaskEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsNetmaskEvent" - root.out.event.category.name = "Device IP Netmask Change" - root.out.object.name = "deviceIPSettingsEntry.10" - root.out.event.message = "Device IP Subnet Mask Changed ( Netmask: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 23 - processors: - - label: device_ipsettings_gateway_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceIPSettingsGateway = this.trap.VarBinds.index(0).Value - - label: device_ipsettings_gateway_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsGatewayEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsGatewayEvent" - root.out.event.category.name = "Device IP Gateway Change" - root.out.object.name = "deviceIPSettingsEntry.10" - root.out.event.message = "Device IP Default Gateway Changed ( Gateway: " + this.trap.VarBinds.index(0).Value.string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 24 - processors: - - label: device_ipsettings_link_enabled_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceIPSettingsLinkEnabled = this.trap.VarBinds.index(0).Value.bool() - - label: device_ipsettings_link_enabled_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsLinkEnabledEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceIPSettingsLinkEnabledEvent" - root.out.event.category.name = "Link Status" - root.out.object.name = "deviceIPSettingsEntry.10" - - label: device_ipsettings_link_enabled_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.bool().string() == 1 - processors: - - label: device_ipsettings_link_enabled_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Link Connected" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value.bool().string() == 2 - processors: - - label: device_ipsettings_link_enabled_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Link Not Connected" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: device_ipsettings_link_enabled_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Link Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_ipsettings_link_enabled_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 26 - processors: - - label: device_fans_installed_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceFansInstalled = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.25.1.2") - - label: device_fans_installed_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceFansInstalledEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceFansInstalledEvent" - root.out.event.category.name = "Fan Install Status" - root.out.object.name = "deviceFansEntry.10" - - label: device_fans_installed_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_fans_installed_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Installed" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_fans_installed_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Removed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_fans_installed_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Install Status Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_fans_installed_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Install Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_fans_installed_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 27 - processors: - - label: device_fans_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceFansStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.25.1.4") - - label: device_fans_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceFansStatusEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceFansStatusEvent" - root.out.event.category.name = "Fan Status" - root.out.object.name = "deviceFansEntry.10" - - label: device_fans_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_fans_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan OK" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_fans_status_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Error" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_fans_status_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_fans_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Fan Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_fans_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 29 - processors: - - label: device_psuinstalled_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePSUInstalled = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.28.1.2") - - label: device_psuinstalled_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-devicePSUInstalledEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-devicePSUInstalledEvent" - root.out.event.category.name = "Power Supply Install Status" - root.out.object.name = "devicePSUEntry.10" - - label: device_psuinstalled_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_psuinstalled_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Installed" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_psuinstalled_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Removed" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_psuinstalled_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Install Status Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_psuinstalled_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Install Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_psuinstalled_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 30 - processors: - - label: device_psustatus_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePSUStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.28.1.4") - - label: device_psustatus_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-devicePSUStatusEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-devicePSUStatusEvent" - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "devicePSUEntry.10" - - label: device_psustatus_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_psustatus_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Installed and Working" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_psustatus_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Installed and Not Working" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_psustatus_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply No Failure" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 4 - processors: - - label: device_psustatus_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Failure" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: device_psustatus_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Supply Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_psustatus_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 32 - processors: - - label: device_syncs_installed_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceSyncsInstalled = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.31.1.2") - - label: device_syncs_installed_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsInstalledEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsInstalledEvent" - root.out.event.category.name = "External Sync Install Status" - root.out.object.name = "deviceSyncsEntry.10" - - label: device_syncs_installed_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_syncs_installed_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Present" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_syncs_installed_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Not Present" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_syncs_installed_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Install Status Undetermined" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: device_syncs_installed_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Install Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_syncs_installed_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 33 - processors: - - label: device_syncs_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceSyncsStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.31.1.4") - - label: device_syncs_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsStatusEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsStatusEvent" - root.out.event.category.name = "External Sync Status" - root.out.object.name = "deviceSyncsEntry.10" - - label: device_syncs_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: device_syncs_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Present and Locked" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: device_syncs_status_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Present and Not Locked" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(0).Value == 3 - processors: - - label: device_syncs_status_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Not Present" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - processors: - - label: device_syncs_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "External Sync Status Unknown" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: device_syncs_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 34 - processors: - - label: device_syncs_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.deviceSyncsType = this.trap.VarBinds.index(0).Value - - label: device_syncs_type_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsTypeEvent" - root.out.event.id = "SNMPTRAP-leitch-LEITCH-ROUTER-MIB-deviceSyncsTypeEvent" - root.out.event.category.name = "External Sync Type Change" - root.out.object.name = "deviceSyncsEntry.10" - root.out.event.message = "External Sync Type Changed to " + this.trap.VarBinds.index(0).Value.string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/leitch/LEITCH-ROUTER-MIB-devicePhysicalMatrices.yml b/traps/rules/leitch/LEITCH-ROUTER-MIB-devicePhysicalMatrices.yml deleted file mode 100644 index bfee3cff..00000000 --- a/traps/rules/leitch/LEITCH-ROUTER-MIB-devicePhysicalMatrices.yml +++ /dev/null @@ -1,792 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LEITCH-ROUTER-MIB" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: device_physical_matrices_matrix_installed_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixInstalled = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.35.1.1.2") - - label: device_physical_matrices_matrix_installed_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: device_physical_matrices_matrix_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixType = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_matrix_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: device_physical_matrices_matrix_num_inputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixNumInputs = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_matrix_num_inputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: device_physical_matrices_matrix_num_outputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixNumOutputs = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_matrix_num_outputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: device_physical_matrices_matrix_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_matrix_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: device_physical_matrices_matrix_num_modules_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatrixNumModules = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_matrix_num_modules_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: device_physical_matrices_output_sig_pres_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputSigPres = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.35.8.1.3") - - label: device_physical_matrices_output_sig_pres_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: device_physical_matrices_output_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputStatus = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_output_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: device_physical_matrices_output_param1event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam1 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param1event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: device_physical_matrices_output_param2event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam2 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param2event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: device_physical_matrices_output_param3event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam3 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param3event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: device_physical_matrices_output_param4event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam4 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param4event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: device_physical_matrices_output_param5event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam5 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param5event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: device_physical_matrices_output_param6event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam6 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param6event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: device_physical_matrices_output_param7event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam7 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param7event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: device_physical_matrices_output_param8event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputParam8 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_output_param8event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: device_physical_matrices_output_level_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputLevelID = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_output_level_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: device_physical_matrices_output_level_out_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesOutputLevelOutID = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_output_level_out_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: device_physical_matrices_input_sig_pres_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputSigPres = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.10.35.21.1.3") - - label: device_physical_matrices_input_sig_pres_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: device_physical_matrices_input_param1event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam1 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param1event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: device_physical_matrices_input_param2event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam2 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param2event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: device_physical_matrices_input_param3event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam3 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param3event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: device_physical_matrices_input_param4event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam4 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param4event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: device_physical_matrices_input_param5event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam5 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param5event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: device_physical_matrices_input_param6event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam6 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param6event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 29 - processors: - - label: device_physical_matrices_input_param7event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam7 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param7event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: device_physical_matrices_input_param8event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputParam8 = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_input_param8event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: device_physical_matrices_input_level_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputLevelID = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_input_level_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 58 - processors: - - label: device_physical_matrices_input_level_in_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesInputLevelInID = this.trap.VarBinds.index(0).Value - - label: device_physical_matrices_input_level_in_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 60 - processors: - - label: device_physical_matrices_mat_param_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatParamName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mat_param_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 61 - processors: - - label: device_physical_matrices_mat_param_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatParamType = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mat_param_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 62 - processors: - - label: device_physical_matrices_mat_param_desc_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatParamDesc = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mat_param_desc_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 63 - processors: - - label: device_physical_matrices_mat_param_value_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesMatParamValue = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mat_param_value_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 65 - processors: - - label: device_physical_matrices_module_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModuleType = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_module_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 66 - processors: - - label: device_physical_matrices_module_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModuleStatus = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_module_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 68 - processors: - - label: device_physical_matrices_mod_param_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModParamName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mod_param_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 69 - processors: - - label: device_physical_matrices_mod_param_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModParamType = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matrices_mod_param_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 70 - processors: - - label: device_physical_matricies_mod_param_desc_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModParamDesc = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matricies_mod_param_desc_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 71 - processors: - - label: device_physical_matricies_mod_param_value_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.devicePhysicalMatricesModParamValue = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: device_physical_matricies_mod_param_value_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/leitch/LEITCH-ROUTER-MIB-panacea.yml b/traps/rules/leitch/LEITCH-ROUTER-MIB-panacea.yml deleted file mode 100644 index efcc506b..00000000 --- a/traps/rules/leitch/LEITCH-ROUTER-MIB-panacea.yml +++ /dev/null @@ -1,72 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LEITCH-ROUTER-MIB" -- switch: - - check: this.trap.SpecificTrap == 3 - processors: - - label: router_command_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerCommandType = this.trap.VarBinds.index(0).Value - - label: router_command_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: router_command_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerCommand = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_command_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: router_result_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerResult = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_result_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/leitch/LEITCH-ROUTER-MIB-routerSys.yml b/traps/rules/leitch/LEITCH-ROUTER-MIB-routerSys.yml deleted file mode 100644 index aa54f352..00000000 --- a/traps/rules/leitch/LEITCH-ROUTER-MIB-routerSys.yml +++ /dev/null @@ -1,752 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LEITCH-ROUTER-MIB" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: router_sys_alarms_type_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysAlarmsType = this.trap.VarBinds.index(0).Value - - label: router_sys_alarms_type_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: router_sys_alarms_state_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysAlarmsState = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.11.1.1.5") - - label: router_sys_alarms_state_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: router_sys_alarms_text_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysAlarmsText = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_alarms_text_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: router_sys_alarms_device_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysAlarmsDeviceID = this.trap.VarBinds.index(0).Value - - label: router_sys_alarms_device_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: router_sys_level_by_name_level_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelByNameLevelID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_by_name_level_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: router_sys_level_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: router_sys_level_num_inputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelNumInputs = this.trap.VarBinds.index(0).Value - - label: router_sys_level_num_inputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: router_sys_level_num_outputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelNumOutputs = this.trap.VarBinds.index(0).Value - - label: router_sys_level_num_outputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: router_sys_level_starting_input_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelStartingInput = this.trap.VarBinds.index(0).Value - - label: router_sys_level_starting_input_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: router_sys_level_starting_output_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelStartingOutput = this.trap.VarBinds.index(0).Value - - label: router_sys_level_starting_output_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: router_sys_level_inputs_by_name_input_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsByNameInputID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_inputs_by_name_input_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: router_sys_level_inputs_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_inputs_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: router_sys_level_inputs_status_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsStatusName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_inputs_status_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: router_sys_level_inputs_sig_pres_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsSigPres = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.11.16.1.7") - - label: router_sys_level_inputs_sig_pres_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: router_sys_level_inputs_input_alarm_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsInputAlarm = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_inputs_input_alarm_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: router_sys_level_inputs_restricted_outputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsRestrictedOutputs = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_inputs_restricted_outputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: router_sys_level_inputs_output_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInputsOutputStatus = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_inputs_output_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: router_sys_level_in_to_phys_in_device_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInToPhysInDeviceID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_in_to_phys_in_device_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: router_sys_level_in_to_phys_in_matrix_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInToPhysInMatrixID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_in_to_phys_in_matrix_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: router_sys_level_in_to_phys_in_pin_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelInToPhysInPinID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_in_to_phys_in_pin_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: router_sys_level_outputs_by_name_output_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsByNameOutputID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_outputs_by_name_output_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: router_sys_level_outputs_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_outputs_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: router_sys_level_outputs_input_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsInputStatus = this.trap.VarBinds.index(0).Value - - label: router_sys_level_outputs_input_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: router_sys_level_outputs_sig_pres_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsSigPres = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.11.29.1.7") - - label: router_sys_level_outputs_sig_pres_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: router_sys_level_outputs_lock_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsLockStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.3142.2.5.1.11.29.1.9") - - label: router_sys_level_outputs_lock_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: router_sys_level_outputs_lock_owner_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsLockOwner = this.trap.VarBinds.index(0).Value - - label: router_sys_level_outputs_lock_owner_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: router_sys_level_outputs_restricted_inputs_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsRestrictedInputs = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_outputs_restricted_inputs_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 36 - processors: - - label: router_sys_level_outputs_output_alarms_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutputsOutputAlarms = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_level_outputs_output_alarms_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: router_sys_level_out_to_phys_out_device_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutToPhysOutDeviceID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_out_to_phys_out_device_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: router_sys_level_out_to_phys_out_matrix_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutToPhysOutMatrixID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_out_to_phys_out_matrix_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: router_sys_level_out_to_phys_out_pout_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysLevelOutToPhysOutPoutID = this.trap.VarBinds.index(0).Value - - label: router_sys_level_out_to_phys_out_pout_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 42 - processors: - - label: router_sys_salvos_by_name_salvo_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvosByNameSalvoID = this.trap.VarBinds.index(0).Value - - label: router_sys_salvos_by_name_salvo_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: router_sys_salvos_name_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvosName = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: router_sys_salvos_name_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: router_sys_salvos_active_event_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvosActive = this.trap.VarBinds.index(0).Value.bool() - - label: router_sys_salvos_active_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: router_sys_salvo_xpts_level_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvoXptsLevelID = this.trap.VarBinds.index(0).Value - - label: router_sys_salvo_xpts_level_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 48 - processors: - - label: router_sys_salvo_xpts_input_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvoXptsInputID = this.trap.VarBinds.index(0).Value - - label: router_sys_salvo_xpts_input_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 49 - processors: - - label: router_sys_salvo_xpts_output_idevent_variables - mapping: |- - #!blobl - root = this - - root.out.leitch.routerSysSalvoXptsOutputID = this.trap.VarBinds.index(0).Value - - label: router_sys_salvo_xpts_output_idevent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/lexmark/LEXMARK-PVT-MIB-adapter.yml b/traps/rules/lexmark/LEXMARK-PVT-MIB-adapter.yml deleted file mode 100644 index d121dcd8..00000000 --- a/traps/rules/lexmark/LEXMARK-PVT-MIB-adapter.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "LEXMARK-PVT-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: ir_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Normal, Error Condition Cleared ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 1 - processors: - - label: ir_condition_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_condition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Error Condition ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: ir_output_full_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_output_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Output Bin Full ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: ir_load_paper_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_load_paper_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Load Printer Paper ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: ir_paper_jam_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_paper_jam_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Paper Jam ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: ir_toner_low_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_toner_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Toner Low ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: ir_service_req_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_service_req_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Service Required ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: ir_disk_err_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_disk_err_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Disk Error ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: ir_cover_open_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_cover_open_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Cover Open ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: ir_page_complexity_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_page_complexity_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Page Complexity Error ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: ir_offline_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_offline_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Offline ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: ir_cleared_type_ii_variables - mapping: |- - #!blobl - root = this - - root.out.lexmark.prtgenStatusIRC = this.trap.VarBinds.index(0).Value - - label: ir_cleared_type_ii_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Printer Status" - root.out.object.name = "" - root.out.event.message = "Printer Normal, Error Condition Cleared ( IR Code: " + this.trap.VarBinds.index(0).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/mikrotik/MIKROTIK-MIB-mtxrTraps.yml b/traps/rules/mikrotik/MIKROTIK-MIB-mtxrTraps.yml new file mode 100644 index 00000000..228518d8 --- /dev/null +++ b/traps/rules/mikrotik/MIKROTIK-MIB-mtxrTraps.yml @@ -0,0 +1,223 @@ +- mapping: |- + #!blobl + root = this + root.out.origin.agent.name = "Mikrotik MIKROTIK-MIB" +- switch: + - check: this.trap.SpecificTrap == 1 + # mtxrTrap + # + # Mikrotik trap OID + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() == 0 { + meta varbinds_ok = true + } + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.object.name = "MIKROTIK-MIB::mtXRouterOs" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTrap" + root.out.event.id = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTrap" + root.out.event.category.name = "Mikrotik state" + root.out.event.message = "Mikrotik trap" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + }}} + + root.out.event.class.name = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTrap" + root.out.event.id = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTrap-unknown" + root.out.event.category.name = "Mikrotik state" + root.out.event.message = "Mikrotik trap - UNEXPECTED VARBINDS for mtxrTrap trap!" + root.out.event.severity.code = 3 + root.out.event.severity.level = "Error" + + - check: this.trap.SpecificTrap == 2 + # mtxrTemperatureException + # + # Mikrotik CPU temperature exception trap + processors: + - mapping: |- + #!blobl + root = this + + meta varbinds_ok = false + if this.trap.VarBinds.length() == 0 { + meta varbinds_ok = true + } + + - switch: + - check: metadata("varbinds_ok") + processors: + - mapping: |- + #!blobl + root = this + + root.out.object.name = "MIKROTIK-MIB::mtXRouterOs" + root.out.object.index = "0" + root.out.object.entity = this.trap.AgentAddress.string() + "_" + root.out.object.name + "." + root.out.object.index + + root.out.event.class.name = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTemperatureException" + root.out.event.id = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTemperatureException" + root.out.event.category.name = "CPU temperature state" + root.out.event.message = "CPU temperature high" + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - processors: + - mapping: |- + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + }}} + + root.out.event.class.name = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTemperatureException" + root.out.event.id = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-mtxrTemperatureException-unknown" + root.out.event.category.name = "CPU temperature state" + root.out.event.message = "CPU temperature high - UNEXPECTED VARBINDS for mtxrTemperatureException trap!" + root.out.event.severity.code = 2 + root.out.event.severity.level = "Critical" + + - processors: + - label: default + mapping: | + #!blobl + root = this + + if this.trap.exists("VarBinds") && this.trap.VarBinds.length() > 0 { + root.out.snmptrap.varbind.oid_0 = this.trap.VarBinds.index(0).OID + root.out.snmptrap.varbind.type_0 = this.trap.VarBinds.index(0).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(0).Type == 4 || this.trap.VarBinds.index(0).Type == 68 { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_0 = this.trap.VarBinds.index(0).Value.string() + } + if this.trap.VarBinds.length() > 1 { + root.out.snmptrap.varbind.oid_1 = this.trap.VarBinds.index(1).OID + root.out.snmptrap.varbind.type_1 = this.trap.VarBinds.index(1).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(1).Type == 4 || this.trap.VarBinds.index(1).Type == 68 { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_1 = this.trap.VarBinds.index(1).Value.string() + } + if this.trap.VarBinds.length() > 2 { + root.out.snmptrap.varbind.oid_2 = this.trap.VarBinds.index(2).OID + root.out.snmptrap.varbind.type_2 = this.trap.VarBinds.index(2).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(2).Type == 4 || this.trap.VarBinds.index(2).Type == 68 { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_2 = this.trap.VarBinds.index(2).Value.string() + } + if this.trap.VarBinds.length() > 3 { + root.out.snmptrap.varbind.oid_3 = this.trap.VarBinds.index(3).OID + root.out.snmptrap.varbind.type_3 = this.trap.VarBinds.index(3).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(3).Type == 4 || this.trap.VarBinds.index(3).Type == 68 { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_3 = this.trap.VarBinds.index(3).Value.string() + } + if this.trap.VarBinds.length() > 4 { + root.out.snmptrap.varbind.oid_4 = this.trap.VarBinds.index(4).OID + root.out.snmptrap.varbind.type_4 = this.trap.VarBinds.index(4).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(4).Type == 4 || this.trap.VarBinds.index(4).Type == 68 { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_4 = this.trap.VarBinds.index(4).Value.string() + } + if this.trap.VarBinds.length() > 5 { + root.out.snmptrap.varbind.oid_5 = this.trap.VarBinds.index(5).OID + root.out.snmptrap.varbind.type_5 = this.trap.VarBinds.index(5).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(5).Type == 4 || this.trap.VarBinds.index(5).Type == 68 { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_5 = this.trap.VarBinds.index(5).Value.string() + } + if this.trap.VarBinds.length() > 6 { + root.out.snmptrap.varbind.oid_6 = this.trap.VarBinds.index(6).OID + root.out.snmptrap.varbind.type_6 = this.trap.VarBinds.index(6).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(6).Type == 4 || this.trap.VarBinds.index(6).Type == 68 { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_6 = this.trap.VarBinds.index(6).Value.string() + } + if this.trap.VarBinds.length() > 7 { + root.out.snmptrap.varbind.oid_7 = this.trap.VarBinds.index(7).OID + root.out.snmptrap.varbind.type_7 = this.trap.VarBinds.index(7).Type.snmp_int_enum_enrich(".1_SnmpTypes") + if this.trap.VarBinds.index(7).Type == 4 || this.trap.VarBinds.index(7).Type == 68 { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.snmp_octet_string() + } else { + root.out.snmptrap.varbind.value_7 = this.trap.VarBinds.index(7).Value.string() + } + }}}}}}}} + + root.out.event.class.name = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-unknown" + root.out.event.id = "SNMPTRAP-MIKROTIK-MIB-mtxrTraps-" + this.trap.SpecificTrap.string() + root.out.event.category.name = "unknown specific trap" + root.out.event.message = "unknown specific trap " + this.trap.SpecificTrap.string() + " from Mikrotik MIKROTIK-MIB-mtxrTraps" + root.out.event.severity.code = 4 + root.out.event.severity.level = "Warning" diff --git a/traps/rules/netapp/NETWORK-APPLIANCE-MIB-netapp.yml b/traps/rules/netapp/NETWORK-APPLIANCE-MIB-netapp.yml deleted file mode 100644 index b313ab23..00000000 --- a/traps/rules/netapp/NETWORK-APPLIANCE-MIB-netapp.yml +++ /dev/null @@ -1,3372 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "NETWORK-APPLIANCE-MIB" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: user_defined_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: user_defined_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap" - - check: this.trap.SpecificTrap == 6 - processors: - - label: dhm_notice_degraded_io_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: dhm_notice_degraded_io_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Health Monitor" - root.out.object.name = "" - root.out.event.message = "Disk Degraded-I/O" - - check: this.trap.SpecificTrap == 7 - processors: - - label: dhm_notice_pfaevent_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: dhm_notice_pfaevent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Health Monitor" - root.out.object.name = "" - root.out.event.message = "Disk Predictive-Failure" - - check: this.trap.SpecificTrap == 11 - processors: - - label: emergency_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: emergency_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Emergency" - - check: this.trap.SpecificTrap == 12 - processors: - - label: alert_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alert_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Alert" - - check: this.trap.SpecificTrap == 13 - processors: - - label: critical_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: critical_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Critical" - - check: this.trap.SpecificTrap == 14 - processors: - - label: error_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: error_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Error" - - check: this.trap.SpecificTrap == 15 - processors: - - label: warning_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: warning_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Warning" - - check: this.trap.SpecificTrap == 16 - processors: - - label: notification_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: notification_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Notification" - - check: this.trap.SpecificTrap == 17 - processors: - - label: informational_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: informational_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "User-Defined" - root.out.object.name = "" - root.out.event.message = "User-Defined Trap: Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: dbg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: dbg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: disk_failed_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_failed_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "" - root.out.event.message = "Disk Failure, System Shutting Down" - - check: this.trap.SpecificTrap == 22 - processors: - - label: disk_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "" - root.out.event.message = "Disk Failure" - - check: this.trap.SpecificTrap == 26 - processors: - - label: disk_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Disk Status" - root.out.object.name = "" - root.out.event.message = "Disk Repaired" - - check: this.trap.SpecificTrap == 31 - processors: - - label: fan_failure_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fan_failure_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Critical Chassis or CPU Fans Failed, System Shutting Down" - - check: this.trap.SpecificTrap == 33 - processors: - - label: fan_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fan_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Failed" - - check: this.trap.SpecificTrap == 35 - processors: - - label: fan_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fan_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Warning" - - check: this.trap.SpecificTrap == 36 - processors: - - label: fan_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: fan_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Status" - root.out.object.name = "" - root.out.event.message = "Fan Repaired" - - check: this.trap.SpecificTrap == 41 - processors: - - label: power_supply_failure_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_failure_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Critical Power Supplies or Power Rails Failed, System Shutting Down" - - check: this.trap.SpecificTrap == 43 - processors: - - label: power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Redundant Power Supply Failed" - - check: this.trap.SpecificTrap == 45 - processors: - - label: power_supply_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply/Power Rail Warning" - - check: this.trap.SpecificTrap == 46 - processors: - - label: power_supply_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Supply Status" - root.out.object.name = "" - root.out.event.message = "Power Supply Repaired" - - check: this.trap.SpecificTrap == 55 - processors: - - label: cpu_too_busy_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cpu_too_busy_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CPU Utilization" - root.out.object.name = "" - root.out.event.message = "CPU Utilization Exceeds 90%" - - check: this.trap.SpecificTrap == 56 - processors: - - label: cpu_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cpu_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "CPU Utilization" - root.out.object.name = "" - root.out.event.message = "CPU Utilization OK" - - check: this.trap.SpecificTrap == 62 - processors: - - label: nvram_battery_discharged_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: nvram_battery_discharged_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NVRAM Battery Status" - root.out.object.name = "" - root.out.event.message = "NVRAM Battery Fully Discharged" - - check: this.trap.SpecificTrap == 63 - processors: - - label: nvram_battery_low_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: nvram_battery_low_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NVRAM Battery Status" - root.out.object.name = "" - root.out.event.message = "NVRAM Battery Low" - - check: this.trap.SpecificTrap == 72 - processors: - - label: cluster_node_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cluster_node_failed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cluster Node Status" - root.out.object.name = "" - root.out.event.message = "Cluster Node Failed, Partner Will Assume Service" - - check: this.trap.SpecificTrap == 75 - processors: - - label: cluster_node_taken_over_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cluster_node_taken_over_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cluster Node Status" - root.out.object.name = "" - root.out.event.message = "Node Assumed Service for Failed Cluster Node" - - check: this.trap.SpecificTrap == 76 - processors: - - label: cluster_node_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cluster_node_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Cluster Node Status" - root.out.object.name = "" - root.out.event.message = "Cluster Node Repaired" - - check: this.trap.SpecificTrap == 82 - processors: - - label: volume_full_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Volume Status" - root.out.object.name = "" - root.out.event.message = "Volume More Than 98% Full" - - check: this.trap.SpecificTrap == 85 - processors: - - label: volume_nearly_full_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_nearly_full_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Volume Status" - root.out.object.name = "" - root.out.event.message = "Volume More Than 95% Full" - - check: this.trap.SpecificTrap == 86 - processors: - - label: volume_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Volume Status" - root.out.object.name = "" - root.out.event.message = "Volume Less Than 95% Full" - - check: this.trap.SpecificTrap == 87 - processors: - - label: volumes_still_full_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volumes_still_full_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 91 - processors: - - label: over_temp_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: over_temp_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "" - root.out.event.message = "System Temperature Too High, System Shutting Down" - - check: this.trap.SpecificTrap == 95 - processors: - - label: over_temp_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: over_temp_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "" - root.out.event.message = "System Temperature Too High" - - check: this.trap.SpecificTrap == 96 - processors: - - label: over_temp_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: over_temp_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "" - root.out.event.message = "System Temperature Acceptable" - - check: this.trap.SpecificTrap == 103 - processors: - - label: shelf_fault_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Status" - root.out.object.name = "" - root.out.event.message = "Disk Storage Shelf Fault" - - check: this.trap.SpecificTrap == 106 - processors: - - label: shelf_repaired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_repaired_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Status" - root.out.object.name = "" - root.out.event.message = "Disk Storage Shelf Repaired" - - check: this.trap.SpecificTrap == 111 - processors: - - label: global_status_non_recoverable_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: global_status_non_recoverable_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Appliance Status" - root.out.object.name = "" - root.out.event.message = "Appliance Non-Recoverable, Shutting Down" - - check: this.trap.SpecificTrap == 113 - processors: - - label: global_status_critical_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: global_status_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Appliance Status" - root.out.object.name = "" - root.out.event.message = "Appliance Critical, Requires Attention" - - check: this.trap.SpecificTrap == 115 - processors: - - label: global_status_non_critical_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: global_status_non_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Appliance Status" - root.out.object.name = "" - root.out.event.message = "Appliance Non-Critical, Requires Attention" - - check: this.trap.SpecificTrap == 116 - processors: - - label: global_status_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: global_status_ok_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Appliance Status" - root.out.object.name = "" - root.out.event.message = "Appliance OK" - - check: this.trap.SpecificTrap == 126 - processors: - - label: soft_quota_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: soft_quota_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Soft Quota" - root.out.object.name = "" - root.out.event.message = "User Exceeded Soft Quota Limit" - - check: this.trap.SpecificTrap == 127 - processors: - - label: soft_quota_normal_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: soft_quota_normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Soft Quota" - root.out.object.name = "" - root.out.event.message = "User Safely Under Soft Quota Limit" - - check: this.trap.SpecificTrap == 134 - processors: - - label: autosupport_send_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: autosupport_send_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 135 - processors: - - label: autosupport_configuration_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: autosupport_configuration_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 136 - processors: - - label: autosupport_sent_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: autosupport_sent_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 142 - processors: - - label: ups_line_power_off_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_line_power_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 143 - processors: - - label: ups_battery_critical_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_battery_critical_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 144 - processors: - - label: ups_shutting_down_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_shutting_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 145 - processors: - - label: ups_battery_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_battery_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 146 - processors: - - label: ups_line_power_retored_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ups_line_power_retored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 151 - processors: - - label: app_emergency_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_emergency_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 152 - processors: - - label: app_alert_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 153 - processors: - - label: app_critical_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_critical_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 154 - processors: - - label: app_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 155 - processors: - - label: app_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 156 - processors: - - label: app_notice_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_notice_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 157 - processors: - - label: app_info_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_info_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 158 - processors: - - label: app_trap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: app_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 162 - processors: - - label: alf_filewrap_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alf_filewrap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 166 - processors: - - label: alf_file_saved_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alf_file_saved_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 167 - processors: - - label: alf_file_nearly_full_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alf_file_nearly_full_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 176 - processors: - - label: quota_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: quota_exceeded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 177 - processors: - - label: quota_normal_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: quota_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 187 - processors: - - label: wafl_dir_full_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: wafl_dir_full_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 192 - processors: - - label: ecc_summary_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ecc_summary_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 195 - processors: - - label: ecc_masked_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ecc_masked_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 204 - processors: - - label: ftpd_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ftpd_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 206 - processors: - - label: ftpd_max_conn_notice_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ftpd_max_conn_notice_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 216 - processors: - - label: ftpd_max_conn_threshold_notice_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: ftpd_max_conn_threshold_notice_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 222 - processors: - - label: scsitgt_fcplink_break_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: scsitgt_fcplink_break_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 224 - processors: - - label: scsitgt_partner_path_misconfigured_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: scsitgt_partner_path_misconfigured_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 226 - processors: - - label: scsitgt_throttle_notice_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: scsitgt_throttle_notice_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 237 - processors: - - label: vif_primary_link_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vif_primary_link_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 238 - processors: - - label: vif_all_links_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vif_all_links_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 245 - processors: - - label: vf_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vf_stopped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 246 - processors: - - label: vf_started_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vf_started_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 254 - processors: - - label: vscan_virus_detected_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vscan_virus_detected_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 255 - processors: - - label: vscan_dis_connection_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vscan_dis_connection_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 256 - processors: - - label: vscan_configuration_change_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vscan_configuration_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 257 - processors: - - label: vscan_connection_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vscan_connection_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 266 - processors: - - label: vscan_server_upgrade_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: vscan_server_upgrade_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 272 - processors: - - label: volume_restricted_by_mirror_big_io_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_restricted_by_mirror_big_io_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 274 - processors: - - label: volume_inconsistent_umount_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_inconsistent_umount_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 275 - processors: - - label: volume_state_changed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_state_changed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 276 - processors: - - label: volume_online_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_online_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 283 - processors: - - label: rmc_card_needs_replacement_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: rmc_card_needs_replacement_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 284 - processors: - - label: rmc_card_missing_cables_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: rmc_card_missing_cables_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 294 - processors: - - label: volume_remote_unreachable_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_remote_unreachable_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 296 - processors: - - label: volume_remote_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_remote_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 297 - processors: - - label: volume_remote_restored_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_remote_restored_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 298 - processors: - - label: volume_remote_restore_begin_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_remote_restore_begin_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 304 - processors: - - label: volume_restricted_root_conflict_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_restricted_root_conflict_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 314 - processors: - - label: volume_offline_too_big_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_offline_too_big_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 324 - processors: - - label: volume_offline_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 334 - processors: - - label: volume_restricted_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_restricted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 344 - processors: - - label: volume_degraded_dirty_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_degraded_dirty_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 354 - processors: - - label: volume_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 364 - processors: - - label: snapmirror_sync_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: snapmirror_sync_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 366 - processors: - - label: snapmirror_sync_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: snapmirror_sync_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 371 - processors: - - label: chassis_temperature_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_temperature_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 372 - processors: - - label: chassis_temperature_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_temperature_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 375 - processors: - - label: chassis_temperature_unknown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_temperature_unknown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 376 - processors: - - label: chassis_temperature_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_temperature_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 381 - processors: - - label: chassis_cpufan_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_cpufan_stopped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 383 - processors: - - label: chassis_cpufan_slow_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_cpufan_slow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 386 - processors: - - label: chassis_cpufan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_cpufan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 391 - processors: - - label: chassis_power_supplies_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supplies_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 392 - processors: - - label: chassis_power_supply_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supply_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 393 - processors: - - label: chassis_power_supply_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supply_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 394 - processors: - - label: chassis_power_supply_removed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supply_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 395 - processors: - - label: chassis_power_supply_off_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supply_off_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 396 - processors: - - label: chassis_power_supplies_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supplies_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 397 - processors: - - label: chassis_power_supply_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_supply_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 403 - processors: - - label: chassis_power_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 406 - processors: - - label: chassis_power_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_power_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 412 - processors: - - label: chassis_fan_degraded_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_degraded_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 413 - processors: - - label: chassis_fan_removed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_removed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 414 - processors: - - label: chassis_fan_stopped_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_stopped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 415 - processors: - - label: chassis_fan_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 416 - processors: - - label: chassis_fan_ok_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_ok_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 424 - processors: - - label: write_verification_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: write_verification_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 435 - processors: - - label: domain_controller_disconnect_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: domain_controller_disconnect_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 436 - processors: - - label: dc_passwd_change_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: dc_passwd_change_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 437 - processors: - - label: domain_controller_connected_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: domain_controller_connected_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 444 - processors: - - label: plex_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: plex_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 454 - processors: - - label: plex_offline_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: plex_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 464 - processors: - - label: shelf_seselectronics_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_seselectronics_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 467 - processors: - - label: shelf_seselectronics_info_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_seselectronics_info_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 473 - processors: - - label: shelf_ifmodule_failed_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_ifmodule_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 475 - processors: - - label: shelf_ifmodule_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_ifmodule_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 477 - processors: - - label: shelf_ifmodule_info_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: shelf_ifmodule_info_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 482 - processors: - - label: max_dir_size_alert_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: max_dir_size_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 485 - processors: - - label: max_dir_size_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: max_dir_size_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 497 - processors: - - label: cifs_stats_exhaust_mem_ctrl_blk_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: cifs_stats_exhaust_mem_ctrl_blk_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 501 - processors: - - label: chassis_psremovedx_min_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_psremovedx_min_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 505 - processors: - - label: chassis_psus_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_psus_mismatch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 511 - processors: - - label: chassis_fan_failx_min_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_fan_failx_min_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 515 - processors: - - label: chassis_psuwrong_input_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: chassis_psuwrong_input_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 521 - processors: - - label: power_supply_fan_failx_min_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: power_supply_fan_failx_min_shutdown_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 532 - processors: - - label: remote_system_mgt_alert_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: remote_system_mgt_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 535 - processors: - - label: remote_system_mgmt_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: remote_system_mgmt_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 536 - processors: - - label: remote_system_mgmt_notification_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: remote_system_mgmt_notification_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 547 - processors: - - label: remote_system_mgmt_periodic_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: remote_system_mgmt_periodic_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 556 - processors: - - label: remotesystem_mgmt_test_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: remotesystem_mgmt_test_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 562 - processors: - - label: disk_multipath_one_switch_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_multipath_one_switch_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 563 - processors: - - label: disk_multipath_no_takeover_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_multipath_no_takeover_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 565 - processors: - - label: disk_multipath_warning_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: disk_multipath_warning_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 574 - processors: - - label: drive_disable_err_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: drive_disable_err_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 587 - processors: - - label: hba_offline_information_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: hba_offline_information_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 606 - processors: - - label: lun_snap_restore_status_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: lun_snap_restore_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 616 - processors: - - label: lun_clone_create_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: lun_clone_create_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 626 - processors: - - label: lun_clone_split_start_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: lun_clone_split_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 627 - processors: - - label: lun_clone_split_complete_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: lun_clone_split_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 636 - processors: - - label: flex_clone_split_start_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: flex_clone_split_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 637 - processors: - - label: flex_clone_split_complete_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: flex_clone_split_complete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 646 - processors: - - label: volume_clone_create_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_clone_create_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 656 - processors: - - label: snap_auto_delete_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: snap_auto_delete_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 666 - processors: - - label: volume_autogrow_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: volume_autogrow_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 674 - processors: - - label: timed_target_not_responding_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: timed_target_not_responding_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 676 - processors: - - label: extcache_card_error_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extcache_card_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 686 - processors: - - label: extcache_card_offline_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: extcache_card_offline_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 695 - processors: - - label: sv_backup_snap_warning_limit_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sv_backup_snap_warning_limit_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 705 - processors: - - label: av_trend_license_expired_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: av_trend_license_expired_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 706 - processors: - - label: av_trend_license_expiring_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: av_trend_license_expiring_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 712 - processors: - - label: reboot_abnormal_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: reboot_abnormal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 716 - processors: - - label: reboot_normal_variables - mapping: |- - #!blobl - root = this - - root.out.netapp.productTrapData = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netapp.productSerialNum = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: reboot_normal_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/netcool/harmoniEventsV2.yml b/traps/rules/netcool/harmoniEventsV2.yml deleted file mode 100644 index dcdbac6b..00000000 --- a/traps/rules/netcool/harmoniEventsV2.yml +++ /dev/null @@ -1,1080 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "URLAVAILABILITY-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sla_violation_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.slaDataSLAVPercentage = this.trap.VarBinds.index(0).Value - root.out.netcool.slaDataServerAddr = this.trap.VarBinds.index(1).Value - root.out.netcool.slaControlDescription = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.slaControlProtocolDesc = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.netcool.slaControlSLAType = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8") - - label: sla_violation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8").string() + " SLA Status" - root.out.object.name = "slaDataEntry." - root.out.event.message = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8").string() + "SLA Violated: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " ( " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8").string() + " )" - root.out.event.category.name = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8").string() + " SLA Status" - root.out.object.name = "slaDataEntry." - root.out.event.message = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.4.1.1.8").string() + "SLA Violated: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( " + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: availability_failure_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.availabilityControlDestAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.availabilityControlPort = this.trap.VarBinds.index(1).Value - root.out.netcool.availabilityControlMethod = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4") - root.out.netcool.availabilityDataTime = this.trap.VarBinds.index(3).Value - root.out.netcool.availabilityDataPercentage = this.trap.VarBinds.index(4).Value - - label: availability_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability" - root.out.object.name = "availabilityControlEntry.1977" - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability Test Failed" - - label: availability_failure_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: availability_failure_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + ":" + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: availability_failure_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - label: availability_failure_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: trace_complete_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.tracerouteDestName = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: trace_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Traceroute Status" - root.out.object.name = "tracerouteDestEntry.1.1977" - root.out.event.message = "Traceroute Complete ( to " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: timer_expiry_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.timerInfoSecond = this.trap.VarBinds.index(0).Value - root.out.netcool.timerInfoMinute = this.trap.VarBinds.index(1).Value - root.out.netcool.timerInfoHour = this.trap.VarBinds.index(2).Value - root.out.netcool.timerInfoDay = this.trap.VarBinds.index(3).Value - root.out.netcool.timerInfoDayOfWeek = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.8.1.5") - root.out.netcool.timerInfoMonth = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1977.8.1.6") - root.out.netcool.timerInfoYear = this.trap.VarBinds.index(6).Value - - label: timer_expiry_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timer Status" - root.out.object.name = "" - root.out.event.message = "Timer Expired" - - check: this.trap.SpecificTrap == 5 - processors: - - label: program_complete_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.programmableControlProgramStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.2.3.1.2") - root.out.netcool.programmableControlReturnCode = this.trap.VarBinds.index(1).Value - - label: program_complete_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Program Status" - root.out.object.name = "programmableControlEntry.1977" - root.out.event.message = "Program " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.2.3.1.2").string() + ": Return Code " + this.trap.VarBinds.index(1).Value.string() + " ( " + root.out.object.name + " )" - - label: program_complete_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 6 - processors: - - label: appflow_summary_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.appflowAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3") - root.out.netcool.appflowAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.appflowSummarySetupPercentage = this.trap.VarBinds.index(2).Value - root.out.netcool.appflowSummaryReleasePercentage = this.trap.VarBinds.index(3).Value - - label: appflow_summary_rising_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Summary Status" - root.out.object.name = "appflowAlarmEntry.1977" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3").string() + " Summary Alarm ( Connection Established: " + this.trap.VarBinds.index(2).Value.string() + "%, Terminated: " + this.trap.VarBinds.index(3).Value.string() + "% )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: appflow_summary_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.appflowAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3") - root.out.netcool.appflowAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.appflowSummarySetupPercentage = this.trap.VarBinds.index(2).Value - root.out.netcool.appflowSummaryReleasePercentage = this.trap.VarBinds.index(3).Value - - label: appflow_summary_falling_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Summary Status" - root.out.object.name = "appflowAlarmEntry.1977" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3").string() + " Summary Alarm Cleared ( Connection Established: " + this.trap.VarBinds.index(2).Value.string() + "%, Terminated: " + this.trap.VarBinds.index(3).Value.string() + "% )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: appflow_connection_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.appflowAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3") - root.out.netcool.appflowAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.appflowConnClientAddr = this.trap.VarBinds.index(2).Value - root.out.netcool.appflowConnClientPort = this.trap.VarBinds.index(3).Value - root.out.netcool.appflowConnServerAddr = this.trap.VarBinds.index(4).Value - root.out.netcool.appflowConnServerPort = this.trap.VarBinds.index(5).Value - root.out.netcool.appflowConnStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.7.4.1.6") - - label: appflow_connection_rising_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "appflowConnEntry." - root.out.event.message = "Connection $ConnStatus ( " + this.trap.VarBinds.index(2).Value.string() + ":" + this.trap.VarBinds.index(3).Value.string() + " to " + this.trap.VarBinds.index(4).Value.string() + ":" + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: appflow_connection_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.appflowAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.7.6.1.3") - root.out.netcool.appflowAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.appflowConnClientAddr = this.trap.VarBinds.index(2).Value - root.out.netcool.appflowConnClientPort = this.trap.VarBinds.index(3).Value - root.out.netcool.appflowConnServerAddr = this.trap.VarBinds.index(4).Value - root.out.netcool.appflowConnServerPort = this.trap.VarBinds.index(5).Value - root.out.netcool.appflowConnStatus = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.7.4.1.6") - - label: appflow_connection_falling_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Connection Status" - root.out.object.name = "appflowConnEntry." - root.out.event.message = "Connection $ConnStatus ( " + this.trap.VarBinds.index(2).Value.string() + ":" + this.trap.VarBinds.index(3).Value.string() + " to " + this.trap.VarBinds.index(4).Value.string() + ":" + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: dns_availability_failure_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.dnsAvailabilityControlServer = this.trap.VarBinds.index(0).Value - root.out.netcool.dnsAvailabilityDataTime = this.trap.VarBinds.index(1).Value - - label: dns_availability_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DNS Availability" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Failed to Reach DNS server ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: url_availability_failure_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.urlAvailabilityControlServerAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.urlAvailabilityDataTime = this.trap.VarBinds.index(1).Value - root.out.netcool.urlAvailabilityControlURL = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: url_availability_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "URL Availability" - root.out.object.name = "urlAvailabilityControlEntry.1977" - root.out.event.message = "URL Unavailable ( Server: " + this.trap.VarBinds.index(0).Value.string() + ", URL: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: event_pulsed_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentControlPulseEvent = this.trap.VarBinds.index(0).Value - - label: event_pulsed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "RMON Event Pulse" - root.out.object.name = "eventEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "RMON Event Pulsed ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: log_file_match_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.srLogMonControlLogFile = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.srLogMonLine = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.netcool.srLogMonLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.9.4.3.1.4") - root.out.netcool.srLogMonControlDescription = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: log_file_match_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log Monitor: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.object.name = "srLogMonEntry.0.13" - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - - label: log_file_match_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 14 - processors: - - label: log_file_error_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.srLogMonStatsLastError = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.srLogMonControlDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: log_file_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log Monitor Status" - root.out.object.name = "srLogMonStatsEntry.1977" - root.out.event.message = "Log File Read Error: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 18 - processors: - - label: log_file_created_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.srLogMonControlLogFile = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.srLogMonControlDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: log_file_created_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log File Status" - root.out.object.name = "srLogMonControlEntry.1977" - root.out.event.message = "Log File Created ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 19 - processors: - - label: log_file_removed_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.srLogMonControlLogFile = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.srLogMonControlDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: log_file_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Log File Status" - root.out.object.name = "srLogMonControlEntry.1977" - root.out.event.message = "Log File Removed ( " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 20 - processors: - - label: dt_help_query_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.dtHelpControlSummary = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: dt_help_query_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DTHELP Query" - root.out.object.name = "" - root.out.event.message = "dtHelpControlStatus set to Active: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 21 - processors: - - label: dt_help_answer_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.dtHelpControlAnswerTime = this.trap.VarBinds.index(0).Value - - label: dt_help_answer_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DTHELP Answer" - root.out.object.name = "" - root.out.event.message = "dtHelpControlAnswerFlag set to True: Answer Time - - check: this.trap.SpecificTrap == 22 - processors: - - label: agent_heart_beat_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentIdUniqueId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.netcool.agentIdAddress = this.trap.VarBinds.index(1).Value - root.out.netcool.agentIdName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - - label: agent_heart_beat_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Status" - root.out.object.name = "" - root.out.event.message = "Agent Heartbeat" - - check: this.trap.SpecificTrap == 23 - processors: - - label: ps_exception_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.psControlStatus = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.2") - root.out.netcool.psControlOwner = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.netcool.psControlDescription = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.psControlFilterType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.5") - root.out.netcool.psControlFilterPattern = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.netcool.psControlSampleInterval = this.trap.VarBinds.index(5).Value - root.out.netcool.psControlSampleType = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8") - root.out.netcool.psControlTestAttribute = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9") - root.out.netcool.psControlTestOperator = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10") - root.out.netcool.psControlTestThreshold = this.trap.VarBinds.index(9).Value - root.out.netcool.psExceptionMatch = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.netcool.psExceptionValue = this.trap.VarBinds.index(11).Value - - label: ps_exception_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Process Status ( " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " )" - - label: ps_exception_rules_3 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Process: " + this.trap.VarBinds.index(10).Value.snmp_display_string().string().re_find_all_submatch("(nco_.*)$").index(0).index(-1) - - label: ps_exception_rules_4 - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(10).Value.snmp_display_string().string().re_find_all_submatch("(nco_.*)$").index(0).index(-1) - root.out.object.name = this.trap.VarBinds.index(10).Value.snmp_display_string().string() - - label: ps_exception_rules_7 - switch: - - check: this.trap.VarBinds.index(11).Value.string() == -1 - processors: - - label: ps_exception_rules_7_-1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Dead" - - check: this.trap.VarBinds.index(11).Value.string() == 0 - processors: - - label: ps_exception_rules_7_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Dead" - - check: this.trap.VarBinds.index(11).Value.string() == 1 - processors: - - label: ps_exception_rules_7_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Alive" - - processors: - - label: ps_exception_rules_7_default - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status Unknown" - - label: ps_exception_rules_8 - switch: - - check: this.trap.VarBinds.index(11).Value.string() == -1 - processors: - - label: ps_exception_rules_8_-1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Dead" - - check: this.trap.VarBinds.index(11).Value.string() == 0 - processors: - - label: ps_exception_rules_8_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Dead" - - check: this.trap.VarBinds.index(11).Value.string() == 1 - processors: - - label: ps_exception_rules_8_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Alive" - - check: this.trap.VarBinds.index(11).Value.string() == 2 - processors: - - label: ps_exception_rules_8_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 3 - processors: - - label: ps_exception_rules_8_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 4 - processors: - - label: ps_exception_rules_8_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 5 - processors: - - label: ps_exception_rules_8_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 6 - processors: - - label: ps_exception_rules_8_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 7 - processors: - - label: ps_exception_rules_8_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Context Switch Rate for Last " + this.trap.VarBinds.index(5).Value.string() + " was int($12)/int($6)/sec. ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 8 - processors: - - label: ps_exception_rules_8_8 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 9 - processors: - - label: ps_exception_rules_8_9 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 10 - processors: - - label: ps_exception_rules_8_10 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 11 - processors: - - label: ps_exception_rules_8_11 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 12 - processors: - - label: ps_exception_rules_8_12 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 13 - processors: - - label: ps_exception_rules_8_13 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(11).Value.string() == 14 - processors: - - label: ps_exception_rules_8_14 - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Average CPU Usage for Last " + this.trap.VarBinds.index(5).Value.string() + " was " + this.trap.VarBinds.index(11).Value.string() + "% ( " + root.out.object.name + " )" - - processors: - - label: ps_exception_rules_8_default - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status Unknown" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " " + this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.9").string() + " " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.8").string() + ", " + this.trap.VarBinds.index(11).Value.string() + ", " + this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.20.2.1.1.10").string() + " " + this.trap.VarBinds.index(9).Value.string() + " ( " + root.out.object.name + " )" - - label: ps_exception_rules_9 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 24 - processors: - - label: svr_security_alert_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.svrSecurityDetectorDescription = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.svrSecurityLogTimeStamp = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.netcool.svrSecurityLogLogMessage = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: svr_security_alert_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Security Alert" - - label: svr_security_alert_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == Login monitor - processors: - - label: svr_security_alert_rules_2_login monitor - mapping: |- - #!blobl - root = this - - root.out.event.category.name = root.out.event.category.name + " ( Login Monitor )" - root.out.object.name = "User: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string().re_find_all_submatch(" user \\((.*)\\)").index(0).index(-1) - root.out.event.message = "Excessive Login Failures ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == Ping flood - processors: - - label: svr_security_alert_rules_2_ping flood - mapping: |- - #!blobl - root = this - - root.out.event.category.name = root.out.event.category.name + " ( Ping Flood )" - root.out.object.name = "From: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string().re_find_all_submatch("from host\\(s\\):(.*):").index(0).index(-1) - root.out.event.message = "Ping Flood ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == Port Scan - processors: - - label: svr_security_alert_rules_2_port scan - mapping: |- - #!blobl - root = this - - root.out.event.category.name = root.out.event.category.name + " ( Port Scan )" - root.out.object.name = "From: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string().re_find_all_submatch("; from (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string().re_find_all_submatch("; Type: (.*); from ").index(0).index(-1) + " Port Scan ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(0).Value.snmp_display_string().string() == SYN flood - processors: - - label: svr_security_alert_rules_2_syn flood - mapping: |- - #!blobl - root = this - - root.out.event.category.name = root.out.event.category.name + " ( SYN Flood )" - root.out.object.name = "Port: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string().re_find_all_submatch("flood; on (.*)$").index(0).index(-1) - root.out.event.message = "SYN Flood ( " + root.out.object.name + " )" - - processors: - - label: svr_security_alert_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " ( Unknown )" - root.out.event.message = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 25 - processors: - - label: availability_success_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.availabilityControlDestAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.availabilityControlPort = this.trap.VarBinds.index(1).Value - root.out.netcool.availabilityControlMethod = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4") - root.out.netcool.availabilityDataTime = this.trap.VarBinds.index(3).Value - root.out.netcool.availabilityDataPercentage = this.trap.VarBinds.index(4).Value - root.out.netcool.availabilityDataAvailable = this.trap.VarBinds.index(5).Value.bool() - - label: availability_success_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability" - root.out.object.name = "availabilityControlEntry.1977" - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability Test Successful" - - label: availability_success_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: availability_success_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + ":" + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: availability_success_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - label: availability_success_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 26 - processors: - - label: availability_failure_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.availabilityControlDestAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.availabilityControlPort = this.trap.VarBinds.index(1).Value - root.out.netcool.availabilityControlMethod = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4") - root.out.netcool.availabilityDataTime = this.trap.VarBinds.index(3).Value - root.out.netcool.availabilityDataPercentage = this.trap.VarBinds.index(4).Value - root.out.netcool.availabilityDataAvailable = this.trap.VarBinds.index(5).Value.bool() - - label: availability_failure_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability" - root.out.object.name = "availabilityControlEntry.1977" - root.out.event.message = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.1977.6.1.1.4").string() + " Availability Test Failed" - - label: availability_failure_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value == 1 - processors: - - label: availability_failure_change_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + ":" + this.trap.VarBinds.index(1).Value.string() + " )" - - check: this.trap.VarBinds.index(2).Value == 2 - processors: - - label: availability_failure_change_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - label: availability_failure_change_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 27 - processors: - - label: dns_availability_success_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.dnsAvailabilityControlServer = this.trap.VarBinds.index(0).Value - root.out.netcool.dnsAvailabilityDataTime = this.trap.VarBinds.index(1).Value - - label: dns_availability_success_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DNS Availability" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Successfully Reached DNS server ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 28 - processors: - - label: dns_availability_failure_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.dnsAvailabilityControlServer = this.trap.VarBinds.index(0).Value - root.out.netcool.dnsAvailabilityDataTime = this.trap.VarBinds.index(1).Value - - label: dns_availability_failure_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "DNS Availability" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Failed to Reach DNS server ( " + this.trap.VarBinds.index(0).Value.string() + " )" - - check: this.trap.SpecificTrap == 29 - processors: - - label: url_availability_success_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.urlAvailabilityControlServerAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.urlAvailabilityDataTime = this.trap.VarBinds.index(1).Value - root.out.netcool.urlAvailabilityControlURL = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: url_availability_success_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "URL Availability" - root.out.object.name = "urlAvailabilityControlEntry.1977" - root.out.event.message = "URL Available ( Server: " + this.trap.VarBinds.index(0).Value.string() + ", URL: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 30 - processors: - - label: url_availability_failure_change_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.urlAvailabilityControlServerAddress = this.trap.VarBinds.index(0).Value - root.out.netcool.urlAvailabilityDataTime = this.trap.VarBinds.index(1).Value - root.out.netcool.urlAvailabilityControlURL = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: url_availability_failure_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "URL Availability" - root.out.object.name = "urlAvailabilityControlEntry.1977" - root.out.event.message = "URL Unavailable ( Server: " + this.trap.VarBinds.index(0).Value.string() + ", URL: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 31 - processors: - - label: agent_license_corrupt_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentIdUniqueId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.netcool.agentIdAddress = this.trap.VarBinds.index(1).Value - root.out.netcool.agentIdName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - - label: agent_license_corrupt_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent License" - root.out.object.name = "" - root.out.event.message = "License File Corrupt" - - check: this.trap.SpecificTrap == 32 - processors: - - label: agent_license_invalid_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentIdUniqueId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.netcool.agentIdAddress = this.trap.VarBinds.index(1).Value - root.out.netcool.agentIdName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.netcool.agentLicenseControlKey = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: agent_license_invalid_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent License" - root.out.object.name = "Key: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = "Invalid License Key ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 33 - processors: - - label: agent_license_expiry_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentIdUniqueId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.netcool.agentIdAddress = this.trap.VarBinds.index(1).Value - root.out.netcool.agentIdName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - root.out.netcool.agentLicenseControlKey = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: agent_license_expiry_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Trial License" - root.out.object.name = "Key: " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = "Trial License Expired ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 34 - processors: - - label: gen_alarm_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.genAlarmControlVariable = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.genAlarmControlVariableDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.netcool.genAlarmDataInstance = this.trap.VarBinds.index(2).Value - root.out.netcool.genAlarmControlSampleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.7") - root.out.netcool.genAlarmControlAlarmMode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.9") - root.out.netcool.genAlarmDataValue = this.trap.VarBinds.index(5).Value - root.out.netcool.genAlarmControlRisingThreshold = this.trap.VarBinds.index(6).Value - root.out.netcool.genAlarmControlRisingDuration = this.trap.VarBinds.index(7).Value - root.out.netcool.genAlarmControlRisingSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.16") - root.out.netcool.genAlarmControlRisingDescription = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: gen_alarm_rising_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(9).Value.snmp_display_string().string() - - label: gen_alarm_rising_alarm_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 35 - processors: - - label: gen_alarm_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.genAlarmControlVariable = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.genAlarmControlVariableDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.netcool.genAlarmDataInstance = this.trap.VarBinds.index(2).Value - root.out.netcool.genAlarmControlSampleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.7") - root.out.netcool.genAlarmControlAlarmMode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.9") - root.out.netcool.genAlarmDataValue = this.trap.VarBinds.index(5).Value - root.out.netcool.genAlarmControlFallingThreshold = this.trap.VarBinds.index(6).Value - root.out.netcool.genAlarmControlFallingDuration = this.trap.VarBinds.index(7).Value - root.out.netcool.genAlarmControlFallingSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.17") - root.out.netcool.genAlarmControlFallingDescription = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: gen_alarm_falling_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(9).Value.snmp_display_string().string() - - label: gen_alarm_falling_alarm_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 36 - processors: - - label: gen_alarm_match_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.genAlarmControlVariable = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.genAlarmControlVariableDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.netcool.genAlarmDataInstance = this.trap.VarBinds.index(2).Value - root.out.netcool.genAlarmControlSampleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.7") - root.out.netcool.genAlarmControlAlarmMode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.9") - root.out.netcool.genAlarmDataValue = this.trap.VarBinds.index(5).Value - root.out.netcool.genAlarmControlMatchValue = this.trap.VarBinds.index(6).Value - root.out.netcool.genAlarmControlMatchDuration = this.trap.VarBinds.index(7).Value - root.out.netcool.genAlarmControlMatchSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.24") - root.out.netcool.genAlarmControlMatchDescription = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: gen_alarm_match_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(9).Value.snmp_display_string().string() - - label: gen_alarm_match_alarm_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 37 - processors: - - label: gen_alarm_push_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.genAlarmControlVariable = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.netcool.genAlarmControlVariableDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.netcool.genAlarmDataInstance = this.trap.VarBinds.index(2).Value - root.out.netcool.genAlarmControlSampleType = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.7") - root.out.netcool.genAlarmControlAlarmMode = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.9") - root.out.netcool.genAlarmDataValue = this.trap.VarBinds.index(5).Value - root.out.netcool.genAlarmControlMatchValue = this.trap.VarBinds.index(6).Value - root.out.netcool.genAlarmControlMatchDuration = this.trap.VarBinds.index(7).Value - root.out.netcool.genAlarmControlMatchSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1977.25.1.1.24") - root.out.netcool.genAlarmControlMatchDescription = this.trap.VarBinds.index(9).Value.snmp_display_string() - - label: gen_alarm_push_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.object.name = this.trap.VarBinds.index(2).Value.string() - root.out.event.message = this.trap.VarBinds.index(9).Value.snmp_display_string().string() - - label: gen_alarm_push_alarm_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 38 - processors: - - label: agent_termination_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentIdUniqueId = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.netcool.agentIdAddress = this.trap.VarBinds.index(1).Value - root.out.netcool.agentIdName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.netcool.ifPhysAddress = this.trap.VarBinds.index(3).Value.snmp_mac_address() - - label: agent_termination_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Status" - root.out.object.name = "" - root.out.event.message = "Agent Terminating" - - check: this.trap.SpecificTrap == 40 - processors: - - label: traceroute_rising_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.tracerouteAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.5.5.1.3") - root.out.netcool.tracerouteAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.tracerouteDestAddr = this.trap.VarBinds.index(2).Value - root.out.netcool.tracerouteDataDelay = this.trap.VarBinds.index(3).Value - root.out.netcool.tracerouteDataAddress = this.trap.VarBinds.index(4).Value - - label: traceroute_rising_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Traceroute Status" - root.out.object.name = "tracerouteDestEntry." - root.out.event.message = "Traceroute Failed: Hop Delay - - check: this.trap.SpecificTrap == 41 - processors: - - label: traceroute_falling_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.tracerouteAlarmVariable = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.1977.5.5.1.3") - root.out.netcool.tracerouteAlarmControlIndex = this.trap.VarBinds.index(1).Value - root.out.netcool.tracerouteDestAddr = this.trap.VarBinds.index(2).Value - root.out.netcool.tracerouteDataDelay = this.trap.VarBinds.index(3).Value - root.out.netcool.tracerouteDataAddress = this.trap.VarBinds.index(4).Value - - label: traceroute_falling_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Traceroute Status" - root.out.object.name = "tracerouteDestEntry." - root.out.event.message = "Traceroute Complete: Hop Delay - - check: this.trap.SpecificTrap == 55 - processors: - - label: agent_authentication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.netcool.agentAuthLastBadIPAddress = this.trap.VarBinds.index(0).Value - - label: agent_authentication_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Authentication" - root.out.object.name = "From: $5 - root.out.event.message = "Authentication Failure ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/nokia/GENOSALARMNOTIFICATION-MIB-alarmHandoffTraps.yml b/traps/rules/nokia/GENOSALARMNOTIFICATION-MIB-alarmHandoffTraps.yml deleted file mode 100644 index f4d0a943..00000000 --- a/traps/rules/nokia/GENOSALARMNOTIFICATION-MIB-alarmHandoffTraps.yml +++ /dev/null @@ -1,274 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "GENOSALARMNOTIFICATION-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: alarm_raise_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.currentAlarmId = this.trap.VarBinds.index(0).Value - root.out.nokia.friendlyName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.eventTime = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.nokia.eventType = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.nokia.probableCause = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.nokia.perceivedSeverity = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.nokia.additionalText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.nokia.specificProblems = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.nokia.acknowledgementStatus = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.nokia.reserveStatus = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.nokia.additionalInformation = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.nokia.neLocationName = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.nokia.managedobjectInstance = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.nokia.acknowledgementUserName = this.trap.VarBinds.index(13).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(14).Value.snmp_display_string() - - label: alarm_raise_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alcatel-GENOSALARMNOTIFICATION-MIB-alarmRaise" - root.out.event.id = "SNMPTRAP-alcatel-GENOSALARMNOTIFICATION-MIB-alarmRaise" - root.out.event.class.name = root.out.event.id + "_" + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.id = root.out.event.id + "_" + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.class.name = root.out.event.id + "_" + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.id = root.out.event.id + "_" + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.category.name = "GENOS Alarm Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() - root.out.event.message = root.out.event.message + " ( " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + " )" - - label: alarm_raise_rules_2 - switch: - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == cleared - processors: - - label: alarm_raise_rules_2_cleared - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == critical - processors: - - label: alarm_raise_rules_2_critical - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == indeterminate - processors: - - label: alarm_raise_rules_2_indeterminate - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == major - processors: - - label: alarm_raise_rules_2_major - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == minor - processors: - - label: alarm_raise_rules_2_minor - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(5).Value.snmp_display_string().string() == warning - processors: - - label: alarm_raise_rules_2_warning - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: alarm_raise_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: alarm_raise_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: alarm_clear_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.currentAlarmId = this.trap.VarBinds.index(0).Value - root.out.nokia.eventTime = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.friendlyName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.nokia.probableCause = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: alarm_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-alcatel-GENOSALARMNOTIFICATION-MIB-alarmClear" - root.out.event.id = "SNMPTRAP-alcatel-GENOSALARMNOTIFICATION-MIB-alarmClear" - root.out.event.category.name = "GENOS Alarm Status" - root.out.object.name = "alarmEntry." + this.trap.VarBinds.index(0).Value.string() - root.out.event.message = this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " Alarm Cleared ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.message = "GENOS Alarm Cleared" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 3 - processors: - - label: alarm_ack_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.listAlarmIds = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.operatorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alarm_ack_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: alarm_purge_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.purgelistAlarmIds = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: alarm_purge_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: alarm_reserve_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.reservelistAlarmIds = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.reserveoperatorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alarm_reserve_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: alarm_unreserve_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.unreservelistAlarmIds = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.unreserveoperatorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alarm_unreserve_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: as_connection_status_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.asconnectionstatus = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.asId = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: as_connection_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: alarm_un_ack_variables - mapping: |- - #!blobl - root = this - - root.out.nokia.unacklistAlarmIds = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.nokia.unackoperatorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.nokia.asIdentity = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: alarm_un_ack_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/openwave/UPLINK-MIB-upLink.yml b/traps/rules/openwave/UPLINK-MIB-upLink.yml deleted file mode 100644 index 6e43c076..00000000 --- a/traps/rules/openwave/UPLINK-MIB-upLink.yml +++ /dev/null @@ -1,273 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "UPLINK-MIB" -- switch: - - check: this.trap.SpecificTrap == 100 - processors: - - label: upld_startup_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: upld_startup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Dispatcher Status" - root.out.object.name = "" - root.out.event.message = "Dispatcher Started: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 101 - processors: - - label: upld_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: upld_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Dispatcher Status" - root.out.object.name = "" - root.out.event.message = "Dispatcher Shutdown: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 102 - processors: - - label: upld_invalid_config_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: upld_invalid_config_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Dispatcher Configuration" - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = "Dispatcher configuration Invalid: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 103 - processors: - - label: upld_upl_agent_connection_down_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldUplAgentId = this.trap.VarBinds.index(2).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upld_upl_agent_connection_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Connection Status" - root.out.object.name = this.trap.VarBinds.index(2).Value.string() + " " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = "Connection to the UPLAgent ( " + this.trap.VarBinds.index(2).Value.string() + " ) on " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() + " is Down" - - check: this.trap.SpecificTrap == 104 - processors: - - label: upld_database_connection_down_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: upld_database_connection_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Dispatcher DB Conn Status" - root.out.object.name = "" - root.out.event.message = "Dispatcher connection to database is Down: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 105 - processors: - - label: upld_out_of_resouce_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.upldHostName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.openwave.upldProcessId = this.trap.VarBinds.index(1).Value - root.out.openwave.upldTrapInfo = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: upld_out_of_resouce_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Dispatcher Resources" - root.out.object.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() - root.out.event.message = "Dispatcher out-of-resource: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 200 - processors: - - label: upla_startup_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_startup_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "UP Link Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) Started: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 201 - processors: - - label: upla_shutdown_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_shutdown_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "UP Link Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) Shutdown: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 202 - processors: - - label: upla_database_connection_down_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_database_connection_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent DB Conn Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + " " + this.trap.VarBinds.index(2).Value.string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) connection to database is Down: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 203 - processors: - - label: upla_fax_mgr_connection_down_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_fax_mgr_connection_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fax Manager Conn Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) detects Fax Manager connection is Down: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 204 - processors: - - label: upla_messenger_connection_down_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_messenger_connection_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Messenger Conn Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) detects Messenger connection is Down: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 205 - processors: - - label: upla_invalid_config_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_invalid_config_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Configuration" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + " " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) configuration Invalid: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 206 - processors: - - label: upla_internal_fatal_errors_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_internal_fatal_errors_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Status" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) internal fatal error: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - check: this.trap.SpecificTrap == 207 - processors: - - label: upla_out_of_resource_variables - mapping: |- - #!blobl - root = this - - root.out.openwave.uplaAgentIdentifier = this.trap.VarBinds.index(0).Value - root.out.openwave.uplaHostName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.openwave.uplaProcessId = this.trap.VarBinds.index(2).Value - root.out.openwave.uplaTrapInfo = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: upla_out_of_resource_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Agent Resources" - root.out.object.name = this.trap.VarBinds.index(0).Value.string() + " " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - root.out.event.message = "Agent ( " + this.trap.VarBinds.index(0).Value.string() + " ) out-of-resource: " + this.trap.VarBinds.index(3).Value.snmp_display_string().string() - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/rle/RLE-FALCON-MIB-falconTraps.yml b/traps/rules/rle/RLE-FALCON-MIB-falconTraps.yml deleted file mode 100644 index 5576c1b1..00000000 --- a/traps/rules/rle/RLE-FALCON-MIB-falconTraps.yml +++ /dev/null @@ -1,66 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "RLE-FALCON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: falcon_alarm_entry_added_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = $5 - root.out.event.message = lookup(extract($2, "3184\.1\.1\.1\.5\.3\.([0-9]+)"), falconWellKnownAlarms), currently $3 $4 ( " + root.out.object.name + " )" - root.out.object.name = $3 - root.out.event.message = lookup(extract($2, "3184\.1\.1\.1\.5\.3\.([0-9]+)"), falconWellKnownAlarms) ( " + root.out.object.name + " )" - root.out.event.category.name = "Falcon Alarm" - - check: this.trap.SpecificTrap == 2 - processors: - - label: falcon_alarm_entry_removed_rules_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = $5 - root.out.event.message = lookup(extract($2, "3184\.1\.1\.1\.5\.3\.([0-9]+)"), falconWellKnownAlarms), currently $3 $4 ( " + root.out.object.name + " )" - root.out.object.name = $3 - root.out.event.message = "End of lookup(extract($2, "3184\.1\.1\.1\.5\.3\.([0-9]+)"), falconWellKnownAlarms) ( " + root.out.object.name + " )" - root.out.event.category.name = "Falcon Alarm" - - check: this.trap.SpecificTrap == 3 - processors: - - label: falcon_access_granted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Falcon Access" - root.out.object.name = "User: $1, Keypad: int(extract($OID1, "3184\.1\.1\.1\.2\.3\.([0-9]+)"))/2 - root.out.event.message = "Access Granted ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: falcon_access_denied_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Falcon Access" - root.out.object.name = "" - root.out.event.message = "Keypad Access Denied" - - check: this.trap.SpecificTrap == 5 - processors: - - label: falcon_page_unsuccessful_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Falcon Page" - root.out.object.name = "" - root.out.event.message = "Page Unsuccessful" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/scte/scteHmsTree.yml b/traps/rules/scte/scteHmsTree.yml deleted file mode 100644 index 842af414..00000000 --- a/traps/rules/scte/scteHmsTree.yml +++ /dev/null @@ -1,64 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SCTE-HMS-COMMON-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: hms_cold_start_variables - mapping: |- - #!blobl - root = this - - root.out.scte.commonPhysAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.scte.commonLogicalID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: hms_cold_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SCTE-HMS" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - root.out.event.message = "Cold Start: ( PhysAddress - - check: this.trap.SpecificTrap == 1 - processors: - - label: hms_alarm_event_variables - mapping: |- - #!blobl - root = this - - root.out.scte.commonPhysAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.scte.commonLogicalID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.scte.alarmLogInformation = this.trap.VarBinds.index(2).Value.snmp_octet_string() - - label: hms_alarm_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SCTE-HMS Alarm" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - root.out.event.message = "Alarm Event found ( alarmLogIndex - - check: this.trap.SpecificTrap == 2 - processors: - - label: hms_warm_start_variables - mapping: |- - #!blobl - root = this - - root.out.scte.commonPhysAddress = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.scte.commonLogicalID = this.trap.VarBinds.index(1).Value.snmp_octet_string() - - label: hms_warm_start_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SCTE-HMS" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - root.out.event.message = "Warm Start: ( PhysAddress - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/servertechnology/Sentry3-MIB-events.yml b/traps/rules/servertechnology/Sentry3-MIB-events.yml deleted file mode 100644 index ad651cff..00000000 --- a/traps/rules/servertechnology/Sentry3-MIB-events.yml +++ /dev/null @@ -1,1135 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "Sentry3-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: tower_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.towerID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.towerName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.towerStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.1.1.4") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: tower_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Tower Status" - root.out.object.name = "towerEntry.1" - - label: tower_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: tower_status_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Tower Normal" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: tower_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Tower No Comm" - - processors: - - label: tower_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Tower Status Unknown" - - label: tower_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: infeed_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.infeedID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.infeedName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.infeedStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.2.1.5") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: infeed_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Input Feed Status" - root.out.object.name = "infeedEntry.2" - - label: infeed_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: infeed_status_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Off" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: infeed_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed On" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: infeed_status_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Off Wait" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: infeed_status_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed On Wait" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: infeed_status_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Off Error" - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: infeed_status_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed On Error" - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: infeed_status_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed No Comm" - - processors: - - label: infeed_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Status Unknown" - - label: infeed_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: infeed_load_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.infeedID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.infeedName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.infeedLoadStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.2.1.6") - root.out.servertechnology.infeedLoadValue = this.trap.VarBinds.index(4).Value - root.out.servertechnology.infeedLoadHighThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: infeed_load_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Input Feed Load" - root.out.object.name = "infeedEntry.3" - - label: infeed_load_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: infeed_load_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Normal, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: infeed_load_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Not On" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: infeed_load_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Reading" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: infeed_load_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Load Low, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: infeed_load_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Load High, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: infeed_load_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Overload, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: infeed_load_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Read Error" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: infeed_load_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed No Comm" - - processors: - - label: infeed_load_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Input Feed Status Unknown" - - label: infeed_load_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: outlet_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.outletID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.outletName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.outletStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.3.1.5") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: outlet_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Outlet Status" - root.out.object.name = "outletEntry.4" - - label: outlet_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: outlet_status_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: outlet_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: outlet_status_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off Wait" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: outlet_status_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On Wait" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: outlet_status_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off Error" - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: outlet_status_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On Error" - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: outlet_status_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet No Comm" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: outlet_status_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Reading" - - processors: - - label: outlet_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Status Unknown" - - label: outlet_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: outlet_load_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.outletID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.outletName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.outletLoadStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.3.1.6") - root.out.servertechnology.outletLoadValue = this.trap.VarBinds.index(4).Value - root.out.servertechnology.outletLoadLowThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.outletLoadHighThresh = this.trap.VarBinds.index(6).Value - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: outlet_load_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Outlet Load" - root.out.object.name = "outletEntry.5" - - label: outlet_load_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: outlet_load_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Normal, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: outlet_load_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Not On" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: outlet_load_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Reading" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: outlet_load_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Low, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: outlet_load_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load High, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: outlet_load_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Overload, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: outlet_load_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Read Error" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: outlet_load_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load No Comm" - - processors: - - label: outlet_load_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Load Status Unknown" - - label: outlet_load_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: outlet_change_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.outletID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.outletName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.outletStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.3.1.5") - root.out.servertechnology.outletControlState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.3.1.10") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: outlet_change_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Outlet On/Off Change" - root.out.object.name = "outletEntry.6" - - label: outlet_change_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: outlet_change_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: outlet_change_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: outlet_change_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off Wait" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: outlet_change_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On Wait" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: outlet_change_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Off Error" - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: outlet_change_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet On Error" - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: outlet_change_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet No Comm" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: outlet_change_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Reading" - - processors: - - label: outlet_change_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Outlet Status Unknown" - - label: outlet_change_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + ", " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.3.1.10").string() + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 7 - processors: - - label: env_mon_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.envMonID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.envMonName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.envMonStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.4.1.4") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: env_mon_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Environmental Monitor Status" - root.out.object.name = "envMonEntry.7" - - label: env_mon_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: env_mon_status_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Environmental Monitor Normal" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: env_mon_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Environmental Monitor No Comm" - - processors: - - label: env_mon_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Environmental Monitor Status Unknown" - - label: env_mon_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 8 - processors: - - label: env_mon_water_sensor_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.envMonID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.envMonWaterSensorName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.envMonWaterSensorStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.4.1.6") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: env_mon_water_sensor_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Water Sensor Status" - root.out.object.name = "envMonEntry.8" - - label: env_mon_water_sensor_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: env_mon_water_sensor_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Water Sensor Normal" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: env_mon_water_sensor_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Water Sensor Alarm" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: env_mon_water_sensor_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Water Sensor No Comm" - - processors: - - label: env_mon_water_sensor_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Water Sensor Status Unknown" - - label: env_mon_water_sensor_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 9 - processors: - - label: env_mon_adcevent_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.envMonID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.envMonADCName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.envMonADCStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.4.1.8") - root.out.servertechnology.envMonADCCount = this.trap.VarBinds.index(4).Value - root.out.servertechnology.envMonADCLowThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.envMonADCHighThresh = this.trap.VarBinds.index(6).Value - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: env_mon_adcevent_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Analog-to-Digital Converter Status" - root.out.object.name = "envMonEntry.9" - - label: env_mon_adcevent_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: env_mon_adcevent_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Normal" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: env_mon_adcevent_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Reading" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: env_mon_adcevent_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Count Low" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: env_mon_adcevent_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Count High" - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: env_mon_adcevent_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Read Error" - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: env_mon_adcevent_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter No Comm" - - processors: - - label: env_mon_adcevent_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Analog-to-Digital Converter Status Unknown" - - label: env_mon_adcevent_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 10 - processors: - - label: temp_humid_sensor_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.5.1.4") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: temp_humid_sensor_status_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature/Humidity Sensor Status" - root.out.object.name = "tempHumidSensorEntry.10" - - label: temp_humid_sensor_status_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: temp_humid_sensor_status_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature/Humidity Sensor Found" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: temp_humid_sensor_status_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature/Humidity Sensor Not Found" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: temp_humid_sensor_status_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature/Humidity Sensor Lost" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: temp_humid_sensor_status_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature/Humidity Sensor No Comm" - - processors: - - label: temp_humid_sensor_status_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature/Humidity Sensor Status Unknown" - - label: temp_humid_sensor_status_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 11 - processors: - - label: temp_humid_sensor_temp_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorTempStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.5.1.5") - root.out.servertechnology.tempHumidSensorTempValue = this.trap.VarBinds.index(4).Value - root.out.servertechnology.tempHumidSensorTempLowThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.tempHumidSensorTempHighThresh = this.trap.VarBinds.index(6).Value - root.out.servertechnology.tempHumidSensorTempScale = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.5.1.13") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(9).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: temp_humid_sensor_temp_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Temperature Status" - root.out.object.name = "tempHumidSensorEntry.11" - - label: temp_humid_sensor_temp_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: temp_humid_sensor_temp_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Normal, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: temp_humid_sensor_temp_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Not Found" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: temp_humid_sensor_temp_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Reading" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: temp_humid_sensor_temp_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Low, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: temp_humid_sensor_temp_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature High, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: temp_humid_sensor_temp_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Read Error" - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: temp_humid_sensor_temp_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Lost" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: temp_humid_sensor_temp_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature No Comm" - - processors: - - label: temp_humid_sensor_temp_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Temperature Status Unknown" - - label: temp_humid_sensor_temp_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 12 - processors: - - label: temp_humid_sensor_humid_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.tempHumidSensorHumidStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.5.1.9") - root.out.servertechnology.tempHumidSensorHumidValue = this.trap.VarBinds.index(4).Value - root.out.servertechnology.tempHumidSensorHumidLowThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.tempHumidSensorHumidHighThresh = this.trap.VarBinds.index(6).Value - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: temp_humid_sensor_humid_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Humidity Status" - root.out.object.name = "tempHumidSensorEntry.12" - - label: temp_humid_sensor_humid_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: temp_humid_sensor_humid_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Normal, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: temp_humid_sensor_humid_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Not Found" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: temp_humid_sensor_humid_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Reading" - - check: this.trap.VarBinds.index(3).Value == 3 - processors: - - label: temp_humid_sensor_humid_event_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Low, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 4 - processors: - - label: temp_humid_sensor_humid_event_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity High, " + this.trap.VarBinds.index(4).Value.string() - - check: this.trap.VarBinds.index(3).Value == 5 - processors: - - label: temp_humid_sensor_humid_event_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Read Error" - - check: this.trap.VarBinds.index(3).Value == 6 - processors: - - label: temp_humid_sensor_humid_event_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Lost" - - check: this.trap.VarBinds.index(3).Value == 7 - processors: - - label: temp_humid_sensor_humid_event_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity No Comm" - - processors: - - label: temp_humid_sensor_humid_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Humidity Status Unknown" - - label: temp_humid_sensor_humid_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 13 - processors: - - label: contact_closure_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.contactClosureID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.contactClosureName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.contactClosureStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.6.1.4") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: contact_closure_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Contact Closure Status" - root.out.object.name = "contactClosureEntry.13" - - label: contact_closure_event_rules_2 - switch: - - check: this.trap.VarBinds.index(3).Value == 0 - processors: - - label: contact_closure_event_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Contact Closure Normal" - - check: this.trap.VarBinds.index(3).Value == 1 - processors: - - label: contact_closure_event_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Contact Closure Alarm" - - check: this.trap.VarBinds.index(3).Value == 2 - processors: - - label: contact_closure_event_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Contact Closure No Comm" - - processors: - - label: contact_closure_event_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Contact Closure Status Unknown" - - label: contact_closure_event_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Name: " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + ", ID: " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Location: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string() + " )" - - check: this.trap.SpecificTrap == 14 - processors: - - label: branch_status_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.branchID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.branchName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.branchStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.7.1.5") - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: branch_status_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: branch_load_event_variables - mapping: |- - #!blobl - root = this - - root.out.servertechnology.systemLocation = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.servertechnology.branchID = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.servertechnology.branchName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.servertechnology.branchLoadStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.1718.3.2.7.1.6") - root.out.servertechnology.branchLoadValue = this.trap.VarBinds.index(4).Value - root.out.servertechnology.branchLoadHighThresh = this.trap.VarBinds.index(5).Value - root.out.servertechnology.eventStatusText = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.servertechnology.eventStatusCondition = this.trap.VarBinds.index(7).Value.enum_enrich(".1.3.6.1.4.1.1718.3.99.2") - - label: branch_load_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/NORTHBOUND-V2-TRAPS-nbNotifications.yml b/traps/rules/siemens/NORTHBOUND-V2-TRAPS-nbNotifications.yml deleted file mode 100644 index bced0416..00000000 --- a/traps/rules/siemens/NORTHBOUND-V2-TRAPS-nbNotifications.yml +++ /dev/null @@ -1,34 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "NORTHBOUND-V2-TRAPS" -- switch: - - check: this.trap.SpecificTrap == 2 - processors: - - label: alarm_info_v2_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Non-X.733 Alarm" - root.out.event.category.name = lookup($10, ipmanagerX733EventType) ( lookup($9, ipmanagerX733ProbableCause) )" - root.out.object.name = "Alarm Instance: $14 - root.out.event.message = "" - root.out.event.message = $8, lookup($9, ipmanagerX733ProbableCause) - root.out.event.message = $8, lookup($9, ipmanagerX733ProbableCause) - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: alarm_info_v2_rules_2 - mapping: | - #!blobl - root = this - - label: alarm_info_v2_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucAuthFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucAuthFaultMgmt.yml deleted file mode 100644 index 55ad4912..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucAuthFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_auc_client_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_client_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_auc_client_improper_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_client_improper_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_auc_client_termination_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_client_termination_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_auc_auth_rtp_msg_tx_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_auth_rtp_msg_tx_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_auc_auth_server_link_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_auth_server_link_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_auc_auth_server_link_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_auth_server_link_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucUscFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucUscFaultMgmt.yml deleted file mode 100644 index ae07ba82..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxAucUscFaultMgmt.yml +++ /dev/null @@ -1,524 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_auc_usc_client_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_client_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_auc_usc_client_improper_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_client_improper_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_auc_usc_server_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_auc_usc_server_improper_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_improper_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_auc_usc_client_terminated_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_client_terminated_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_auc_usc_server_termination_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_termination_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_auc_usc_server_ftp_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_ftp_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_auc_usc_server_ftp_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_ftp_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: us_srx_auc_usc_server_retrieve_cdr_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_retrieve_cdr_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: us_srx_auc_usc_server_delete_cdr_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_delete_cdr_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: us_srx_auc_usc_cdr_tx_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_cdr_tx_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: us_srx_auc_usc_server_rx_cdr_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_rx_cdr_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: us_srx_auc_usc_server_tx_cdr_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_tx_cdr_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: us_srx_auc_usc_server_backup_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_backup_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: us_srx_auc_usc_server_backup_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_backup_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: us_srx_auc_usc_server_faulty_billing_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_auc_usc_server_faulty_billing_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCasFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCasFaultMgmt.yml deleted file mode 100644 index 413c8804..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCasFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_cas_call_processing_non_exist_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_call_processing_non_exist_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_cas_call_processing_bad_uce_msg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_call_processing_bad_uce_msg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_cas_connection_lost_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_connection_lost_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_cas_connection_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_connection_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_cas_start_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_start_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_cas_shut_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cas_shut_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCdmFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCdmFaultMgmt.yml deleted file mode 100644 index 5fcf08b9..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCdmFaultMgmt.yml +++ /dev/null @@ -1,396 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_cdm_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_cdm_not_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_not_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_cdm_terminated_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_terminated_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_cdm_not_terminated_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_not_terminated_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_cdm_send_to_mg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_send_to_mg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_cdm_receive_from_mg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_receive_from_mg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_cdm_mg_shelf_rebooted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_shelf_rebooted_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_cdm_mg_shelf_not_rebooted_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_shelf_not_rebooted_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: us_srx_cdm_mg_provisioning_timed_out_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_provisioning_timed_out_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: us_srx_cdm_mg_provisioning_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_provisioning_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: us_srx_cdm_mg_connection_success_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_connection_success_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: us_srx_cdm_mg_connection_fail_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_cdm_mg_connection_fail_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCstaFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCstaFaultMgmt.yml deleted file mode 100644 index b1528431..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxCstaFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_csta_started_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_started_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_csta_shut_down_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_shut_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_csta_caplink_failure_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_caplink_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_csta_caplink_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_caplink_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_csta_ttudregistration_failure_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_ttudregistration_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_csta_ttudregistration_success_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_csta_ttudregistration_success_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxDbFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxDbFaultMgmt.yml deleted file mode 100644 index c175905c..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxDbFaultMgmt.yml +++ /dev/null @@ -1,108 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_dbinit_complete_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_dbinit_complete_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_dbexited_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_dbexited_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_dboperational_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_dboperational_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxH323FaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxH323FaultMgmt.yml deleted file mode 100644 index 9989445b..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxH323FaultMgmt.yml +++ /dev/null @@ -1,236 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_h323init_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323init_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_h323initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_h323resource_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323resource_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_h323tx_congestion_start_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323tx_congestion_start_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_h323tx_congestion_drop_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323tx_congestion_drop_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_h323tx_congestion_stop_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323tx_congestion_stop_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_h323tx_shutdown_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_h323tx_shutdown_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIpSecFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIpSecFaultMgmt.yml deleted file mode 100644 index 2238f547..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIpSecFaultMgmt.yml +++ /dev/null @@ -1,172 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_ip_sec_appl_started_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ip_sec_appl_started_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_ip_sec_appl_shutting_down_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ip_sec_appl_shutting_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_ip_sec_appl_resource_problem_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ip_sec_appl_resource_problem_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_ip_sec_appl_operational_failure_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ip_sec_appl_operational_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_ip_sec_appl_communication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ip_sec_appl_communication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIsupFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIsupFaultMgmt.yml deleted file mode 100644 index 9aa594f9..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxIsupFaultMgmt.yml +++ /dev/null @@ -1,268 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_isup_call_processing_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_call_processing_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_isup_cotfailed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_cotfailed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_isup_cotretry_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_cotretry_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_isup_call_maintenance_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_call_maintenance_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_isup_ucicrx_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_ucicrx_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_isup_cfnrx_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_cfnrx_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_isup_rset_not_available_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_rset_not_available_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_isup_rset_available_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_isup_rset_available_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxLnpFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxLnpFaultMgmt.yml deleted file mode 100644 index 57dffc5c..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxLnpFaultMgmt.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_lnp_successful_registration_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_lnp_successful_registration_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_lnp_failed_registration_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_lnp_failed_registration_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxMgcpFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxMgcpFaultMgmt.yml deleted file mode 100644 index ecd29b03..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxMgcpFaultMgmt.yml +++ /dev/null @@ -1,335 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_mgcp_no_response_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_mgcp_no_response_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_mgcp_internal_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_mgcp_internal_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_mgcp_invalid_rx_msg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_mgcp_invalid_rx_msg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_ccm_stat_mgmt_started_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ccm_stat_mgmt_started_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_ccm_stat_mgmt_startup_failed_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ccm_stat_mgmt_startup_failed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 9 - processors: - - label: us_srx_mgcp500response_msgs_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_mgcp500response_msgs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: us_srx_mgcp_invalid_mtarecognized_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_mgcp_invalid_mtarecognized_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_mgcp_mta_time_out_msg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.usSrxMgcpMtaFQDName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(4).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(7).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(11).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(12).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(13).Value.snmp_octet_string() - - label: us_srx_mgcp_mta_time_out_msg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_mgcp_mta_error_code_reason_msg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.usSrxMgcpMtaFQDName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(4).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(7).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(11).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(12).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(13).Value.snmp_octet_string() - - label: us_srx_mgcp_mta_error_code_reason_msg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_mgcp_mta_rsips_msg_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.usSrxMgcpMtaFQDName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(4).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(7).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(11).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(12).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(13).Value.snmp_octet_string() - - label: us_srx_mgcp_mta_rsips_msg_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapDispFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapDispFaultMgmt.yml deleted file mode 100644 index a2baad11..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapDispFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_omap_disp_init_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_init_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_omap_disp_started_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_started_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_omap_disp_connection_to_mg_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_connection_to_mg_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_omap_disp_connection_to_mg_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_connection_to_mg_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_omap_disp_connection_fail_over_not_succeded_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_connection_fail_over_not_succeded_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_omap_disp_connection_fail_over_succeded_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_disp_connection_fail_over_succeded_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapFaultMgmt.yml deleted file mode 100644 index 2af96715..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOmapFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_omap_starting_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_starting_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_omap_exit_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_exit_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_omap_missing_pri_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_missing_pri_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_omap_bch_busy_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_bch_busy_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_omap_missing_channel_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_missing_channel_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_omap_save_call_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_omap_save_call_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOvlFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOvlFaultMgmt.yml deleted file mode 100644 index 27a46722..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxOvlFaultMgmt.yml +++ /dev/null @@ -1,268 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_ovl_cong_level_to_cl3trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_cong_level_to_cl3trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_ovl_cong_level_to_cl2trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_cong_level_to_cl2trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_ovl_cong_level_to_cl1trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_cong_level_to_cl1trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_ovl_cong_level_to_cl0trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_cong_level_to_cl0trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_ovl_new_calls_exceeding_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_new_calls_exceeding_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_ovl_new_calls_below_limit_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_new_calls_below_limit_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_ovl_new_calls_block_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_new_calls_block_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_ovl_new_calls_accept_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_ovl_new_calls_accept_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxPrmFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxPrmFaultMgmt.yml deleted file mode 100644 index b95fda3a..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxPrmFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_prm_init_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_init_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_prm_exited_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_exited_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_prm_monitor_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_monitor_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_prm_mismatch_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_mismatch_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_prm_gateway_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_gateway_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_prm_pri_bch_mismatch_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_prm_pri_bch_mismatch_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxRtmFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxRtmFaultMgmt.yml deleted file mode 100644 index e57392d7..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxRtmFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_rtm_started_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_started_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_rtm_init_failed_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_init_failed_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_rtm_exit_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_exit_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_rtm_shared_memory_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_shared_memory_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_rtm_dynamic_memory_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_dynamic_memory_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_rtm_call_processing_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_rtm_call_processing_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSipFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSipFaultMgmt.yml deleted file mode 100644 index 11642329..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSipFaultMgmt.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_sip_start_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sip_start_up_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_sip_shut_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sip_shut_down_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSiptFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSiptFaultMgmt.yml deleted file mode 100644 index de07c7c3..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSiptFaultMgmt.yml +++ /dev/null @@ -1,557 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_sipt_resource_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sipt_resource_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptResourceTrap" - root.out.event.id = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptResourceTrap" - root.out.event.category.name = "SIP+ System Resource Status" - root.out.object.name = "Reporting: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", Faulty: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + ", Parameters: " + this.trap.VarBinds.index(12).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: us_srx_sipt_resource_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: us_srx_sipt_resource_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: us_srx_sipt_resource_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: us_srx_sipt_resource_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: us_srx_sipt_resource_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: us_srx_sipt_resource_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: us_srx_sipt_resource_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: us_srx_sipt_resource_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: us_srx_sipt_resource_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: us_srx_sipt_resource_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_sipt_operational_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sipt_operational_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptOperationalTrap" - root.out.event.id = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptOperationalTrap" - root.out.event.category.name = "SIP+ Operational Status" - root.out.object.name = "Reporting: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", Faulty: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + ", Parameters: " + this.trap.VarBinds.index(12).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: us_srx_sipt_operational_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: us_srx_sipt_operational_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: us_srx_sipt_operational_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: us_srx_sipt_operational_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: us_srx_sipt_operational_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: us_srx_sipt_operational_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: us_srx_sipt_operational_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: us_srx_sipt_operational_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: us_srx_sipt_operational_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: us_srx_sipt_operational_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_sipt_communication_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sipt_communication_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptCommunicationTrap" - root.out.event.id = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptCommunicationTrap" - root.out.event.category.name = "SIP+ Communication Status" - root.out.object.name = "Reporting: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", Faulty: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + ", Parameters: " + this.trap.VarBinds.index(12).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: us_srx_sipt_communication_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: us_srx_sipt_communication_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: us_srx_sipt_communication_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: us_srx_sipt_communication_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: us_srx_sipt_communication_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: us_srx_sipt_communication_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: us_srx_sipt_communication_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: us_srx_sipt_communication_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: us_srx_sipt_communication_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: us_srx_sipt_communication_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_sipt_up_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sipt_up_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptUpTrap" - root.out.event.id = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptUpTrap" - root.out.event.category.name = "SIPTSM Status" - root.out.object.name = "Reporting: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", Faulty: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + ", Parameters: " + this.trap.VarBinds.index(12).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: us_srx_sipt_up_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: us_srx_sipt_up_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: us_srx_sipt_up_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: us_srx_sipt_up_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: us_srx_sipt_up_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: us_srx_sipt_up_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: us_srx_sipt_up_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: us_srx_sipt_up_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: us_srx_sipt_up_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: us_srx_sipt_up_trap_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_sipt_shut_down_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_sipt_shut_down_trap_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptShutDownTrap" - root.out.event.id = "SNMPTRAP-siemens-US-SRX-TRAP-MIB-usSrxSiptShutDownTrap" - root.out.event.category.name = "SIPTSM Status" - root.out.object.name = "Reporting: " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", Faulty: " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(7).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + ", Parameters: " + this.trap.VarBinds.index(12).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - label: us_srx_sipt_shut_down_trap_rules_2 - switch: - - check: this.trap.VarBinds.index(4).Value == 1 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 1 - root.out.event.severity.level = "Alert" - - check: this.trap.VarBinds.index(4).Value == 2 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value == 3 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_3 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value == 4 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_4 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 5 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_5 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value == 6 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_6 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.VarBinds.index(4).Value == 7 - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_7 - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - processors: - - label: us_srx_sipt_shut_down_trap_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - label: us_srx_sipt_shut_down_trap_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSmdiFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSmdiFaultMgmt.yml deleted file mode 100644 index 356fa27c..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSmdiFaultMgmt.yml +++ /dev/null @@ -1,236 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_smdi_starting_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_starting_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_smdi_shutting_down_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_shutting_down_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_smdi_db_error_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_db_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_smdi_db_error_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_db_error_cleared_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_smdi_link_error_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_link_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_smdi_link_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_link_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_smdi_recv_ipaddr_port_error_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_smdi_recv_ipaddr_port_error_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSoapServerFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSoapServerFaultMgmt.yml deleted file mode 100644 index 60ea2b5c..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSoapServerFaultMgmt.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_soap_server_process_instance_ended_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_soap_server_process_instance_ended_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_soap_server_process_instance_started_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_soap_server_process_instance_started_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSolarisFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSolarisFaultMgmt.yml deleted file mode 100644 index 3992777e..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxSolarisFaultMgmt.yml +++ /dev/null @@ -1,268 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_solaris_disk_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_disk_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_solaris_disk_restored_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_disk_restored_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_solaris_qfeethernet_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_qfeethernet_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_solaris_qfeethernet_restored_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_qfeethernet_restored_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_solaris_hmeethernet_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_hmeethernet_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_solaris_hmeethernet_restored_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_hmeethernet_restored_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: us_srx_solaris_ethernet_failure_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_ethernet_failure_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: us_srx_solaris_ethernet_restored_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_solaris_ethernet_restored_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxTcapFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxTcapFaultMgmt.yml deleted file mode 100644 index 4e04e8e6..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxTcapFaultMgmt.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_tcap_instance_ready_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_tcap_instance_ready_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_tcap_instance_exited_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_tcap_instance_exited_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxUceFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxUceFaultMgmt.yml deleted file mode 100644 index 4bd0ef81..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxUceFaultMgmt.yml +++ /dev/null @@ -1,76 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_uce_ready_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_uce_ready_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_uce_instance_exited_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_uce_instance_exited_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXdmFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXdmFaultMgmt.yml deleted file mode 100644 index 463ccdfb..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXdmFaultMgmt.yml +++ /dev/null @@ -1,204 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_xdm_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: us_srx_xdm_not_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_not_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 3 - processors: - - label: us_srx_xdm_terminated_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_terminated_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: us_srx_xdm_not_terminated_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_not_terminated_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: us_srx_xdm_xla_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_xla_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: us_srx_xdm_xla_not_initialized_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xdm_xla_not_initialized_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXlaFaultMgmt.yml b/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXlaFaultMgmt.yml deleted file mode 100644 index fd24a525..00000000 --- a/traps/rules/siemens/US-SRX-TRAP-MIB-usSrxXlaFaultMgmt.yml +++ /dev/null @@ -1,44 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "US-SRX-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: us_srx_xla_table_memory_trap_variables - mapping: |- - #!blobl - root = this - - root.out.siemens.rtpEvtSequenceNumberIndex = this.trap.VarBinds.index(0).Value - root.out.siemens.rtpEvtCurrId = this.trap.VarBinds.index(1).Value - root.out.siemens.rtpEvtSet = this.trap.VarBinds.index(2).Value - root.out.siemens.rtpEvtNum = this.trap.VarBinds.index(3).Value - root.out.siemens.rtpEvtSeverity = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.5") - root.out.siemens.rtpEvtAlarmType = this.trap.VarBinds.index(5).Value - root.out.siemens.rtpEvtEventTime = this.trap.VarBinds.index(6).Value - root.out.siemens.rtpEvtShortText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens.rtpEvtReportingObject = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens.rtpEvtFaultyObject = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens.rtpEvtEndkey = this.trap.VarBinds.index(10).Value.enum_enrich(".1.3.6.1.4.1.4329.2.1.2.1.1.1.1.9") - root.out.siemens.rtpEvtFormatText = this.trap.VarBinds.index(11).Value.snmp_octet_string() - root.out.siemens.rtpEvtParameters = this.trap.VarBinds.index(12).Value.snmp_octet_string() - - label: us_srx_xla_table_memory_trap_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens_ad/SN-OSM-PRIV-MIB-snOsm.yml b/traps/rules/siemens_ad/SN-OSM-PRIV-MIB-snOsm.yml deleted file mode 100644 index b381cfca..00000000 --- a/traps/rules/siemens_ad/SN-OSM-PRIV-MIB-snOsm.yml +++ /dev/null @@ -1,253 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SN-OSM-PRIV-MIB" -- switch: - - check: this.trap.SpecificTrap == 11 - processors: - - label: sn_osm_rm_active_state_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundancy Manager Status" - root.out.object.name = "" - root.out.event.message = "Redundancy Manager Active" - - check: this.trap.SpecificTrap == 12 - processors: - - label: sn_osm_rm_passive_state_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Redundancy Manager Status" - root.out.object.name = "" - root.out.event.message = "Redundancy Manager Passive" - - check: this.trap.SpecificTrap == 21 - processors: - - label: sn_osm_standby_active_state_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Standby Status" - root.out.object.name = "" - root.out.event.message = "Device Standby Active" - - check: this.trap.SpecificTrap == 22 - processors: - - label: sn_osm_standby_passive_state_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Standby Status" - root.out.object.name = "" - root.out.event.message = "Device Standby Passive" - - check: this.trap.SpecificTrap == 31 - processors: - - label: sn_osm_power_line_down_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_ad.snOsmChangedPowerLine = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.4196.1.1.2.100.2.1.45") - - label: sn_osm_power_line_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Line Status" - - label: sn_osm_power_line_down_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: sn_osm_power_line_down_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line Unknown" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: sn_osm_power_line_down_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line 1" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: sn_osm_power_line_down_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line 2" - - processors: - - label: sn_osm_power_line_down_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line Unknown" - - label: sn_osm_power_line_down_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Down ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 32 - processors: - - label: sn_osm_power_line_up_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_ad.snOsmChangedPowerLine = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.4196.1.1.2.100.2.1.45") - - label: sn_osm_power_line_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Power Line Status" - - label: sn_osm_power_line_up_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value == 0 - processors: - - label: sn_osm_power_line_up_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line Unknown" - - check: this.trap.VarBinds.index(0).Value == 1 - processors: - - label: sn_osm_power_line_up_rules_2_1 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line 1" - - check: this.trap.VarBinds.index(0).Value == 2 - processors: - - label: sn_osm_power_line_up_rules_2_2 - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line 2" - - processors: - - label: sn_osm_power_line_up_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Line Unknown" - - label: sn_osm_power_line_up_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Power Up ( " + root.out.object.name + " )" - - check: this.trap.SpecificTrap == 41 - processors: - - label: sn_osm_fault_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_ad.snOsmFaultValue = this.trap.VarBinds.index(0).Value.snmp_octet_string() - - label: sn_osm_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Device Status" - root.out.object.name = "" - - label: sn_osm_fault_rules_2 - switch: - - check: this.trap.VarBinds.index(0).Value.snmp_octet_string().string() == 0 - processors: - - label: sn_osm_fault_rules_2_0 - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Faults Cleared" - - processors: - - label: sn_osm_fault_rules_2_default - mapping: |- - #!blobl - root = this - - root.out.event.message = "Device Fault List: Power" - root.out.event.message = root.out.event.message + ", Power" - root.out.event.message = "Device Fault List: Link Down" - root.out.event.message = root.out.event.message + ", Link Down" - root.out.event.message = "Device Fault List: Internal Error" - root.out.event.message = root.out.event.message + ", Internal Error" - root.out.event.message = "Device Fault List: Standby" - root.out.event.message = root.out.event.message + ", Standby" - root.out.event.message = "Device Fault List: RM" - root.out.event.message = root.out.event.message + ", RM" - root.out.event.message = "Device Fault List: DIP Switch RM" - root.out.event.message = root.out.event.message + ", DIP Switch RM" - root.out.event.message = "Device Fault List: DIP Switch Standby" - root.out.event.message = root.out.event.message + ", DIP Switch Standby" - root.out.event.message = "Device Fault List: NCM" - root.out.event.message = root.out.event.message + ", NCM" - root.out.event.message = "Device Fault List: Partition Port 1" - root.out.event.message = root.out.event.message + ", Partition Port 1" - root.out.event.message = "Device Fault List: Partition Port 2" - root.out.event.message = root.out.event.message + ", Partition Port 2" - root.out.event.message = "Device Fault List: Partition Port 3" - root.out.event.message = root.out.event.message + ", Partition Port 3" - root.out.event.message = "Device Fault List: Partition Port 4" - root.out.event.message = root.out.event.message + ", Partition Port 4" - root.out.event.message = "Device Fault List: Partition Port 5" - root.out.event.message = root.out.event.message + ", Partition Port 5" - root.out.event.message = "Device Fault List: Partition Port 6" - root.out.event.message = root.out.event.message + ", Partition Port 6" - root.out.event.message = "Device Fault List: Partition Port 7" - root.out.event.message = root.out.event.message + ", Partition Port 7" - root.out.event.message = "Device Fault List: Partition Port 8" - root.out.event.message = root.out.event.message + ", Partition Port 8" - root.out.event.message = "Device Fault List: Observer Error" - root.out.event.message = root.out.event.message + ", Observer Error" - root.out.event.message = "Device Fault List: Non-Recoverable Ring Error" - root.out.event.message = root.out.event.message + ", Non-Recoverable Ring Error" - root.out.event.message = "Device Fault List: Reset to Factory Defaults" - root.out.event.message = root.out.event.message + ", Reset to Factory Defaults" - root.out.event.message = "Device Fault List: Unknown Fault" - - label: sn_osm_fault_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 51 - processors: - - label: sn_osm_digital_input_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_ad.snOsmDigitalInputChange = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.siemens_ad.snOsmDigitalInputState = this.trap.VarBinds.index(1).Value - - label: sn_osm_digital_input_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Digital Input Status" - root.out.object.name = "" - root.out.event.message = "Digital Input State: " + this.trap.VarBinds.index(1).Value.string() + ", Digital Input Value: " + this.trap.VarBinds.index(0).Value.snmp_octet_string().string() - - label: sn_osm_digital_input_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/siemens_sa/SPOTSALARMS-MIB-spotsTraps.yml b/traps/rules/siemens_sa/SPOTSALARMS-MIB-spotsTraps.yml deleted file mode 100644 index a319d671..00000000 --- a/traps/rules/siemens_sa/SPOTSALARMS-MIB-spotsTraps.yml +++ /dev/null @@ -1,74 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SPOTSALARMS-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: spots_first_event_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_sa.spotsManagedObjectClass = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.siemens_sa.spotsManagedObjectInstance = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.siemens_sa.spotsEventType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.4") - root.out.siemens_sa.spotsEventTime = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.siemens_sa.spotsProbableCause = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6") - root.out.siemens_sa.spotsPerceivedSeverity = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.7") - root.out.siemens_sa.spotsNotificationIdentifier = this.trap.VarBinds.index(6).Value - root.out.siemens_sa.spotsAdditionalText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens_sa.spotsTriggeredThreshold = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens_sa.spotsThresholdLevel = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens_sa.spotsObservedValue = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.siemens_sa.spotsSpecificProblems = this.trap.VarBinds.index(11).Value.snmp_octet_string() - - label: spots_first_event_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.4").string() + " ( " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6").string() + ": " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ": " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6").string() + ": " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", " + this.trap.VarBinds.index(10).Value.snmp_octet_string().string() + ", Crossed " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: spots_first_event_alarm_rules_3 - mapping: | - #!blobl - root = this - - check: this.trap.SpecificTrap == 2 - processors: - - label: spots_performance_alarm_variables - mapping: |- - #!blobl - root = this - - root.out.siemens_sa.spotsManagedObjectClass = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.siemens_sa.spotsManagedObjectInstance = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.siemens_sa.spotsEventType = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.4") - root.out.siemens_sa.spotsEventTime = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.siemens_sa.spotsProbableCause = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6") - root.out.siemens_sa.spotsPerceivedSeverity = this.trap.VarBinds.index(5).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.7") - root.out.siemens_sa.spotsNotificationIdentifier = this.trap.VarBinds.index(6).Value - root.out.siemens_sa.spotsAdditionalText = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.siemens_sa.spotsTriggeredThreshold = this.trap.VarBinds.index(8).Value.snmp_octet_string() - root.out.siemens_sa.spotsThresholdLevel = this.trap.VarBinds.index(9).Value.snmp_octet_string() - root.out.siemens_sa.spotsObservedValue = this.trap.VarBinds.index(10).Value.snmp_octet_string() - root.out.siemens_sa.spotsSpecificProblems = this.trap.VarBinds.index(11).Value.snmp_octet_string() - - label: spots_performance_alarm_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.4").string() + " ( " + this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6").string() + ": " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + " )" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_octet_string().string() + ": " + this.trap.VarBinds.index(1).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.5308.1.1.1.1.1.6").string() + ": " + this.trap.VarBinds.index(8).Value.snmp_octet_string().string() + ", " + this.trap.VarBinds.index(10).Value.snmp_octet_string().string() + ", Crossed " + this.trap.VarBinds.index(9).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: spots_performance_alarm_rules_3 - mapping: | - #!blobl - root = this - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/smarts/SMARTS-MIB-smNotificationTrap.yml b/traps/rules/smarts/SMARTS-MIB-smNotificationTrap.yml deleted file mode 100644 index 533e2245..00000000 --- a/traps/rules/smarts/SMARTS-MIB-smNotificationTrap.yml +++ /dev/null @@ -1,975 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SMARTS-MIB" -- switch: - - check: this.trap.SpecificTrap == 4 - processors: - - label: sm_trap_notification_variables - mapping: |- - #!blobl - root = this - - root.out.smarts.smNotifTimestamp = this.trap.VarBinds.index(0).Value - root.out.smarts.smNotifServer = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.smarts.smNotifClass = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.smarts.smNotifInstance = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.smarts.smNotifEventName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.smarts.smNotifInstanceID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.smarts.smNotifDescription = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.smarts.smNotifCertainty = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.smarts.smNotifSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.733.2.1.9") - - label: sm_trap_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - label: sm_trap_notification_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Bridge - processors: - - label: sm_trap_notification_rules_2_bridge - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == DuplicateIP - processors: - - label: sm_trap_notification_rules_2_duplicate_ip - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Host - processors: - - label: sm_trap_notification_rules_2_host - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Hub - processors: - - label: sm_trap_notification_rules_2_hub - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Interface - processors: - - label: sm_trap_notification_rules_2_interface - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == MSFC - processors: - - label: sm_trap_notification_rules_2_msfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Port - processors: - - label: sm_trap_notification_rules_2_port - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Probe - processors: - - label: sm_trap_notification_rules_2_probe - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSFC - processors: - - label: sm_trap_notification_rules_2_rsfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSM - processors: - - label: sm_trap_notification_rules_2_rsm - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Router - processors: - - label: sm_trap_notification_rules_2_router - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPAgent - processors: - - label: sm_trap_notification_rules_2_snmpagent - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPTrap - processors: - - label: sm_trap_notification_rules_2_snmptrap - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) + " ) )" - root.out.event.message = this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) - - label: sm_trap_notification_rules_3 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == InformAlarm - processors: - - label: sm_trap_notification_rules_3_inform_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MajorAlarm - processors: - - label: sm_trap_notification_rules_3_major_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MinorAlarm - processors: - - label: sm_trap_notification_rules_3_minor_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Switch - processors: - - label: sm_trap_notification_rules_3_switch - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Uncertified - processors: - - label: sm_trap_notification_rules_3_uncertified - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Undiscovered - processors: - - label: sm_trap_notification_rules_3_undiscovered - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == VLAN - processors: - - label: sm_trap_notification_rules_3_vlan - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: sm_trap_notification_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: sm_trap_notification_rules_4 - mapping: | - #!blobl - root = this - - label: sm_trap_notification_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-smarts-SMARTS-MIB-smTrapNotification" - root.out.event.id = "SNMPTRAP-smarts-SMARTS-MIB-smTrapNotification" - - check: this.trap.SpecificTrap == 5 - processors: - - label: sm_trap_certainty_change_variables - mapping: |- - #!blobl - root = this - - root.out.smarts.smNotifTimestamp = this.trap.VarBinds.index(0).Value - root.out.smarts.smNotifServer = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.smarts.smNotifClass = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.smarts.smNotifInstance = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.smarts.smNotifEventName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.smarts.smNotifInstanceID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.smarts.smNotifDescription = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.smarts.smNotifCertainty = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.smarts.smNotifSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.733.2.1.9") - - label: sm_trap_certainty_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - label: sm_trap_certainty_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Bridge - processors: - - label: sm_trap_certainty_change_rules_2_bridge - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == DuplicateIP - processors: - - label: sm_trap_certainty_change_rules_2_duplicate_ip - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Host - processors: - - label: sm_trap_certainty_change_rules_2_host - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Hub - processors: - - label: sm_trap_certainty_change_rules_2_hub - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Interface - processors: - - label: sm_trap_certainty_change_rules_2_interface - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == MSFC - processors: - - label: sm_trap_certainty_change_rules_2_msfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Port - processors: - - label: sm_trap_certainty_change_rules_2_port - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Probe - processors: - - label: sm_trap_certainty_change_rules_2_probe - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSFC - processors: - - label: sm_trap_certainty_change_rules_2_rsfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSM - processors: - - label: sm_trap_certainty_change_rules_2_rsm - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Router - processors: - - label: sm_trap_certainty_change_rules_2_router - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPAgent - processors: - - label: sm_trap_certainty_change_rules_2_snmpagent - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPTrap - processors: - - label: sm_trap_certainty_change_rules_2_snmptrap - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) + " ) )" - root.out.event.message = this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) - - label: sm_trap_certainty_change_rules_3 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == InformAlarm - processors: - - label: sm_trap_certainty_change_rules_3_inform_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MajorAlarm - processors: - - label: sm_trap_certainty_change_rules_3_major_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MinorAlarm - processors: - - label: sm_trap_certainty_change_rules_3_minor_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Switch - processors: - - label: sm_trap_certainty_change_rules_3_switch - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Uncertified - processors: - - label: sm_trap_certainty_change_rules_3_uncertified - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Undiscovered - processors: - - label: sm_trap_certainty_change_rules_3_undiscovered - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == VLAN - processors: - - label: sm_trap_certainty_change_rules_3_vlan - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: sm_trap_certainty_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: sm_trap_certainty_change_rules_4 - mapping: | - #!blobl - root = this - - label: sm_trap_certainty_change_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-smarts-SMARTS-MIB-smTrapCertaintyChange" - root.out.event.id = "SNMPTRAP-smarts-SMARTS-MIB-smTrapCertaintyChange" - - check: this.trap.SpecificTrap == 6 - processors: - - label: sm_trap_severity_change_variables - mapping: |- - #!blobl - root = this - - root.out.smarts.smNotifTimestamp = this.trap.VarBinds.index(0).Value - root.out.smarts.smNotifServer = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.smarts.smNotifClass = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.smarts.smNotifInstance = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.smarts.smNotifEventName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.smarts.smNotifInstanceID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.smarts.smNotifDescription = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.smarts.smNotifCertainty = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.smarts.smNotifSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.733.2.1.9") - - label: sm_trap_severity_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - label: sm_trap_severity_change_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Bridge - processors: - - label: sm_trap_severity_change_rules_2_bridge - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == DuplicateIP - processors: - - label: sm_trap_severity_change_rules_2_duplicate_ip - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Host - processors: - - label: sm_trap_severity_change_rules_2_host - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Hub - processors: - - label: sm_trap_severity_change_rules_2_hub - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Interface - processors: - - label: sm_trap_severity_change_rules_2_interface - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == MSFC - processors: - - label: sm_trap_severity_change_rules_2_msfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Port - processors: - - label: sm_trap_severity_change_rules_2_port - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Probe - processors: - - label: sm_trap_severity_change_rules_2_probe - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSFC - processors: - - label: sm_trap_severity_change_rules_2_rsfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSM - processors: - - label: sm_trap_severity_change_rules_2_rsm - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Router - processors: - - label: sm_trap_severity_change_rules_2_router - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPAgent - processors: - - label: sm_trap_severity_change_rules_2_snmpagent - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPTrap - processors: - - label: sm_trap_severity_change_rules_2_snmptrap - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) + " ) )" - root.out.event.message = this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) - - label: sm_trap_severity_change_rules_3 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == InformAlarm - processors: - - label: sm_trap_severity_change_rules_3_inform_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MajorAlarm - processors: - - label: sm_trap_severity_change_rules_3_major_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MinorAlarm - processors: - - label: sm_trap_severity_change_rules_3_minor_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Switch - processors: - - label: sm_trap_severity_change_rules_3_switch - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Uncertified - processors: - - label: sm_trap_severity_change_rules_3_uncertified - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Undiscovered - processors: - - label: sm_trap_severity_change_rules_3_undiscovered - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == VLAN - processors: - - label: sm_trap_severity_change_rules_3_vlan - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: sm_trap_severity_change_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: sm_trap_severity_change_rules_4 - mapping: | - #!blobl - root = this - - label: sm_trap_severity_change_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-smarts-SMARTS-MIB-smTrapSeverityChange" - root.out.event.id = "SNMPTRAP-smarts-SMARTS-MIB-smTrapSeverityChange" - - check: this.trap.SpecificTrap == 7 - processors: - - label: sm_trap_notification_clear_variables - mapping: |- - #!blobl - root = this - - root.out.smarts.smNotifTimestamp = this.trap.VarBinds.index(0).Value - root.out.smarts.smNotifServer = this.trap.VarBinds.index(1).Value.snmp_octet_string() - root.out.smarts.smNotifClass = this.trap.VarBinds.index(2).Value.snmp_octet_string() - root.out.smarts.smNotifInstance = this.trap.VarBinds.index(3).Value.snmp_octet_string() - root.out.smarts.smNotifEventName = this.trap.VarBinds.index(4).Value.snmp_octet_string() - root.out.smarts.smNotifInstanceID = this.trap.VarBinds.index(5).Value.snmp_octet_string() - root.out.smarts.smNotifDescription = this.trap.VarBinds.index(6).Value.snmp_octet_string() - root.out.smarts.smNotifCertainty = this.trap.VarBinds.index(7).Value.snmp_octet_string() - root.out.smarts.smNotifSeverity = this.trap.VarBinds.index(8).Value.enum_enrich(".1.3.6.1.4.1.733.2.1.9") - - label: sm_trap_notification_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " )" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - label: sm_trap_notification_clear_rules_2 - switch: - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Bridge - processors: - - label: sm_trap_notification_clear_rules_2_bridge - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == DuplicateIP - processors: - - label: sm_trap_notification_clear_rules_2_duplicate_ip - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Host - processors: - - label: sm_trap_notification_clear_rules_2_host - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Hub - processors: - - label: sm_trap_notification_clear_rules_2_hub - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Interface - processors: - - label: sm_trap_notification_clear_rules_2_interface - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == MSFC - processors: - - label: sm_trap_notification_clear_rules_2_msfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Port - processors: - - label: sm_trap_notification_clear_rules_2_port - mapping: |- - #!blobl - root = this - - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Interface: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string().re_find_all_submatch("^[IP][FO][R]?[T]?-[^/]+/[0-9.]+ \\[([A-Za-z0-9/:._-]+)\\]").index(0).index(-1) - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Probe - processors: - - label: sm_trap_notification_clear_rules_2_probe - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSFC - processors: - - label: sm_trap_notification_clear_rules_2_rsfc - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == RSM - processors: - - label: sm_trap_notification_clear_rules_2_rsm - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == Router - processors: - - label: sm_trap_notification_clear_rules_2_router - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPAgent - processors: - - label: sm_trap_notification_clear_rules_2_snmpagent - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - - check: this.trap.VarBinds.index(2).Value.snmp_octet_string().string() == SNMPTrap - processors: - - label: sm_trap_notification_clear_rules_2_snmptrap - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(4).Value.snmp_octet_string().string() + " ( " + this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) + " ) )" - root.out.event.message = this.trap.VarBinds.index(5).Value.snmp_octet_string().string().re_find_all_submatch(": ([^:]+)$").index(0).index(-1) - - label: sm_trap_notification_clear_rules_3 - switch: - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == InformAlarm - processors: - - label: sm_trap_notification_clear_rules_3_inform_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MajorAlarm - processors: - - label: sm_trap_notification_clear_rules_3_major_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == MinorAlarm - processors: - - label: sm_trap_notification_clear_rules_3_minor_alarm - mapping: |- - #!blobl - root = this - - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Switch - processors: - - label: sm_trap_notification_clear_rules_3_switch - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Uncertified - processors: - - label: sm_trap_notification_clear_rules_3_uncertified - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == Undiscovered - processors: - - label: sm_trap_notification_clear_rules_3_undiscovered - mapping: |- - #!blobl - root = this - - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string().re_find_all_submatch("^[^,]+, (.*)$").index(0).index(-1) - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() - - check: this.trap.VarBinds.index(4).Value.snmp_octet_string().string() == VLAN - processors: - - label: sm_trap_notification_clear_rules_3_vlan - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - processors: - - label: sm_trap_notification_clear_rules_3_default - mapping: |- - #!blobl - root = this - - root.out.object.name = "Object: " + this.trap.VarBinds.index(3).Value.snmp_octet_string().string() - root.out.event.message = this.trap.VarBinds.index(6).Value.snmp_octet_string().string() + " ( " + root.out.object.name + " )" - - label: sm_trap_notification_clear_rules_4 - mapping: | - #!blobl - root = this - - label: sm_trap_notification_clear_rules_5 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-smarts-SMARTS-MIB-smTrapNotificationClear" - root.out.event.id = "SNMPTRAP-smarts-SMARTS-MIB-smTrapNotificationClear" - root.out.event.message = "End of " + root.out.event.message - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/snmpresearch/SIFSMONITOR-MIB-siFsMonNotifications.yml b/traps/rules/snmpresearch/SIFSMONITOR-MIB-siFsMonNotifications.yml deleted file mode 100644 index ca309626..00000000 --- a/traps/rules/snmpresearch/SIFSMONITOR-MIB-siFsMonNotifications.yml +++ /dev/null @@ -1,84 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SIFSMONITOR-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: si_fs_above_warning_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.snmpresearch.siFsMonName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.snmpresearch.siFsMonThreshold = this.trap.VarBinds.index(1).Value - root.out.snmpresearch.siFsMonCurrentUtilization = this.trap.VarBinds.index(2).Value - - label: si_fs_above_warning_threshold_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "File Warning Threshold" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "File System " + this.trap.VarBinds.index(2).Value.string() + "% Full ( FileSystemName - - check: this.trap.SpecificTrap == 2 - processors: - - label: si_fs_above_critical_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.snmpresearch.siFsMonName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.snmpresearch.siFsMonThreshold = this.trap.VarBinds.index(1).Value - root.out.snmpresearch.siFsMonCurrentUtilization = this.trap.VarBinds.index(2).Value - - label: si_fs_above_critical_threshold_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "File Critical Threshold" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "File System " + this.trap.VarBinds.index(2).Value.string() + "% Full ( FileSystemName - - check: this.trap.SpecificTrap == 3 - processors: - - label: si_fs_below_warning_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.snmpresearch.siFsMonName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.snmpresearch.siFsMonThreshold = this.trap.VarBinds.index(1).Value - root.out.snmpresearch.siFsMonCurrentUtilization = this.trap.VarBinds.index(2).Value - - label: si_fs_below_warning_threshold_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "File Warning Threshold" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "File System " + this.trap.VarBinds.index(2).Value.string() + "% Full ( FileSystemName - - check: this.trap.SpecificTrap == 4 - processors: - - label: si_fs_below_critical_threshold_variables - mapping: |- - #!blobl - root = this - - root.out.snmpresearch.siFsMonName = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.snmpresearch.siFsMonThreshold = this.trap.VarBinds.index(1).Value - root.out.snmpresearch.siFsMonCurrentUtilization = this.trap.VarBinds.index(2).Value - - label: si_fs_below_critical_threshold_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "File Critical Threshold" - root.out.object.name = this.trap.VarBinds.index(0).Value.snmp_display_string().string() - root.out.event.message = "File System " + this.trap.VarBinds.index(2).Value.string() + "% Full ( FileSystemName - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-snmpTraps.yml b/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-snmpTraps.yml deleted file mode 100644 index a91089ac..00000000 --- a/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-snmpTraps.yml +++ /dev/null @@ -1,54 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SONICWALL-FIREWALL-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: cold_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 2 - processors: - - label: warm_start_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: authentication_failure_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-sonicwallFwTrapRoot.yml b/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-sonicwallFwTrapRoot.yml deleted file mode 100644 index 20a9b6a5..00000000 --- a/traps/rules/sonicwall/SONICWALL-FIREWALL-TRAP-MIB-sonicwallFwTrapRoot.yml +++ /dev/null @@ -1,1689 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SONICWALL-FIREWALL-TRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sw_fw_trap_attack_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_attack_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapAttack" - root.out.event.id = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapAttack" - root.out.event.category.name = "Attack" - root.out.event.category.name = root.out.event.category.name + ": Unknown ( " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() + " )" - root.out.event.category.name = root.out.event.category.name + ": " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: sw_fw_trap_sys_error_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_sys_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapSysError" - root.out.event.id = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapSysError" - root.out.event.category.name = "System Error" - root.out.event.category.name = root.out.event.category.name + ": Unknown ( " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() + " )" - root.out.event.category.name = root.out.event.category.name + ": " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 3 - processors: - - label: sw_fw_trap_blk_web_site_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_blk_web_site_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapBlkWebSite" - root.out.event.id = "SNMPTRAP-sonicwall-SONICWALL-FIREWALL-TRAP-MIB-swFwTrapBlkWebSite" - root.out.event.category.name = "Website Block" - root.out.event.category.name = root.out.event.category.name + ": Unknown ( " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() + " )" - root.out.event.category.name = root.out.event.category.name + ": " + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1").string() - root.out.object.name = "" - root.out.event.message = this.trap.VarBinds.index(1).Value.snmp_display_string().string() - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 4 - processors: - - label: sw_fw_trap_ipsec_tunnel_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSaName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoFwSrlNumber = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSaStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.14") - root.out.sonicwall.swTrapInfoSrcAddrBegin = this.trap.VarBinds.index(5).Value - root.out.sonicwall.swTrapInfoSrcAddrEnd = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstAddrBegin = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstAddrEnd = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoGateway = this.trap.VarBinds.index(9).Value - root.out.sonicwall.swTrapInfoIsDHCPCentral = this.trap.VarBinds.index(10).Value - - label: sw_fw_trap_ipsec_tunnel_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: sw_fw_trap_wlan_ids_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_wlan_ids_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: sw_fw_trap_sys_env_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_sys_env_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 100 - processors: - - label: sw_fw_trap_enh_none_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_none_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 101 - processors: - - label: sw_fw_trap_enh_unused_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_unused_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 102 - processors: - - label: sw_fw_trap_enh_legacy_system_maintenance_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_system_maintenance_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 103 - processors: - - label: sw_fw_trap_enh_legacy_system_errors_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_system_errors_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 104 - processors: - - label: sw_fw_trap_enh_legacy_blocked_web_sites_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_blocked_web_sites_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 105 - processors: - - label: sw_fw_trap_enh_legacy_blocked_java_etc_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_blocked_java_etc_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 106 - processors: - - label: sw_fw_trap_enh_legacy_user_activity_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_user_activity_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 107 - processors: - - label: sw_fw_trap_enh_legacy_denied_lan_ip_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_denied_lan_ip_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 108 - processors: - - label: sw_fw_trap_enh_legacy_attacks_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_attacks_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 109 - processors: - - label: sw_fw_trap_enh_legacy_dropped_tcp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_dropped_tcp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 110 - processors: - - label: sw_fw_trap_enh_legacy_dropped_udp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_dropped_udp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 111 - processors: - - label: sw_fw_trap_enh_legacy_dropped_icmp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_dropped_icmp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 112 - processors: - - label: sw_fw_trap_enh_legacy_network_debug_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_network_debug_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 113 - processors: - - label: sw_fw_trap_enh_legacy_system_environment_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_system_environment_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 114 - processors: - - label: sw_fw_trap_enh_legacy_vpn_tunnel_status_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSaName = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoFwSrlNumber = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSaStatus = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.14") - root.out.sonicwall.swTrapInfoSrcAddrBegin = this.trap.VarBinds.index(5).Value - root.out.sonicwall.swTrapInfoSrcAddrEnd = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstAddrBegin = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstAddrEnd = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoGateway = this.trap.VarBinds.index(9).Value - root.out.sonicwall.swTrapInfoIsDHCPCentral = this.trap.VarBinds.index(10).Value - - label: sw_fw_trap_enh_legacy_vpn_tunnel_status_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 115 - processors: - - label: sw_fw_trap_enh_legacy80211b_management_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy80211b_management_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 116 - processors: - - label: sw_fw_trap_enh_auth_access_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_auth_access_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 117 - processors: - - label: sw_fw_trap_enh_bootp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_bootp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 118 - processors: - - label: sw_fw_trap_enh_crypt_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_crypt_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 119 - processors: - - label: sw_fw_trap_enh_dhcpc_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_dhcpc_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 120 - processors: - - label: sw_fw_trap_enh_dhcpr_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_dhcpr_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 121 - processors: - - label: sw_fw_trap_enh_fw_event_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_fw_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 122 - processors: - - label: sw_fw_trap_enh_fw_hardware_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_fw_hardware_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 123 - processors: - - label: sw_fw_trap_enh_fw_logging_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_fw_logging_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 124 - processors: - - label: sw_fw_trap_enh_fw_rule_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_fw_rule_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 125 - processors: - - label: sw_fw_trap_enh_gms_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_gms_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 126 - processors: - - label: sw_fw_trap_enh_ha_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ha_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 127 - processors: - - label: sw_fw_trap_enh_intrusion_detection_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSrcIpAddress = this.trap.VarBinds.index(2).Value - root.out.sonicwall.swTrapInfoSrcPort = this.trap.VarBinds.index(3).Value - root.out.sonicwall.swTrapInfoSrcInterface = this.trap.VarBinds.index(4).Value - root.out.sonicwall.swTrapInfoSrcResolvedHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoDstIpAddress = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstPort = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstInterface = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoDstResolvedHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoClientUserName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: sw_fw_trap_enh_intrusion_detection_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 128 - processors: - - label: sw_fw_trap_enh_l2tp_client_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_l2tp_client_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 129 - processors: - - label: sw_fw_trap_enh_l2tp_server_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_l2tp_server_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 130 - processors: - - label: sw_fw_trap_enh_network_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSrcIpAddress = this.trap.VarBinds.index(2).Value - root.out.sonicwall.swTrapInfoSrcPort = this.trap.VarBinds.index(3).Value - root.out.sonicwall.swTrapInfoSrcInterface = this.trap.VarBinds.index(4).Value - root.out.sonicwall.swTrapInfoSrcResolvedHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoDstIpAddress = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstPort = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstInterface = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoDstResolvedHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoClientUserName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: sw_fw_trap_enh_network_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 131 - processors: - - label: sw_fw_trap_enh_network_access_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSrcIpAddress = this.trap.VarBinds.index(2).Value - root.out.sonicwall.swTrapInfoSrcPort = this.trap.VarBinds.index(3).Value - root.out.sonicwall.swTrapInfoSrcInterface = this.trap.VarBinds.index(4).Value - root.out.sonicwall.swTrapInfoSrcResolvedHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoDstIpAddress = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstPort = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstInterface = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoDstResolvedHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoClientUserName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: sw_fw_trap_enh_network_access_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 132 - processors: - - label: sw_fw_trap_enh_network_traffic_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_network_traffic_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 133 - processors: - - label: sw_fw_trap_enh_ppp_dial_up_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ppp_dial_up_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 134 - processors: - - label: sw_fw_trap_enh_pppoe_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_pppoe_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 135 - processors: - - label: sw_fw_trap_enh_pptp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_pptp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 136 - processors: - - label: sw_fw_trap_enh_radius_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_radius_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 137 - processors: - - label: sw_fw_trap_enh_rip_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_rip_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 138 - processors: - - label: sw_fw_trap_enh_security_services_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoSrcIpAddress = this.trap.VarBinds.index(2).Value - root.out.sonicwall.swTrapInfoSrcPort = this.trap.VarBinds.index(3).Value - root.out.sonicwall.swTrapInfoSrcInterface = this.trap.VarBinds.index(4).Value - root.out.sonicwall.swTrapInfoSrcResolvedHostName = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoDstIpAddress = this.trap.VarBinds.index(6).Value - root.out.sonicwall.swTrapInfoDstPort = this.trap.VarBinds.index(7).Value - root.out.sonicwall.swTrapInfoDstInterface = this.trap.VarBinds.index(8).Value - root.out.sonicwall.swTrapInfoDstResolvedHostName = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.sonicwall.swTrapInfoClientUserName = this.trap.VarBinds.index(10).Value.snmp_display_string() - - label: sw_fw_trap_enh_security_services_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 139 - processors: - - label: sw_fw_trap_enh_voip_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_voip_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 140 - processors: - - label: sw_fw_trap_enh_vpn_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_vpn_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 141 - processors: - - label: sw_fw_trap_enh_vpn_client_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_vpn_client_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 142 - processors: - - label: sw_fw_trap_enh_vpn_ike_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_vpn_ike_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 143 - processors: - - label: sw_fw_trap_enh_vpn_ipsec_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_vpn_ipsec_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 144 - processors: - - label: sw_fw_trap_enh_vpn_pki_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_vpn_pki_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 145 - processors: - - label: sw_fw_trap_enh_wan_failover_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_wan_failover_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 146 - processors: - - label: sw_fw_trap_enh_wireless_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_wireless_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 147 - processors: - - label: sw_fw_trap_enh_sonic_point_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_sonic_point_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 148 - processors: - - label: sw_fw_trap_enh_mcast_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_mcast_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 149 - processors: - - label: sw_fw_trap_enh_wlan_ids_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_wlan_ids_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 150 - processors: - - label: sw_fw_trap_enh_legacy_modem_debug_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_legacy_modem_debug_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 151 - processors: - - label: sw_fw_trap_enh_modem_debug_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_modem_debug_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 152 - processors: - - label: sw_fw_trap_enh_ppp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ppp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 153 - processors: - - label: sw_fw_trap_enh_ms_ad_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ms_ad_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 154 - processors: - - label: sw_fw_trap_enh_ddns_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ddns_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 155 - processors: - - label: sw_fw_trap_enh_rbl_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_rbl_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 156 - processors: - - label: sw_fw_trap_enh_ars_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ars_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 157 - processors: - - label: sw_fw_trap_enh_ipcomp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ipcomp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 158 - processors: - - label: sw_fw_trap_enh_cia_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_cia_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 159 - processors: - - label: sw_fw_trap_enh_rfmanagement_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_rfmanagement_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 160 - processors: - - label: sw_fw_trap_enh_dyn_addr_objs_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_dyn_addr_objs_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 161 - processors: - - label: sw_fw_trap_enh_application_firewall_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_application_firewall_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 162 - processors: - - label: sw_fw_trap_enh_sslvpn_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_sslvpn_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 163 - processors: - - label: sw_fw_trap_enh_sonic_point_n_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_sonic_point_n_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 164 - processors: - - label: sw_fw_trap_enh_antispam_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_antispam_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 165 - processors: - - label: sw_fw_trap_enh_network_monitor_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_network_monitor_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 166 - processors: - - label: sw_fw_trap_enh_dhcp_server_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_dhcp_server_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 167 - processors: - - label: sw_fw_trap_enh_ftp_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_ftp_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 168 - processors: - - label: sw_fw_trap_enh_dpissl_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_dpissl_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 169 - processors: - - label: sw_fw_trap_enh_application_control_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_application_control_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 170 - processors: - - label: sw_fw_trap_enh_wan_acceleration_variables - mapping: |- - #!blobl - root = this - - root.out.sonicwall.swTrapInfoTrapType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.8741.1.1.1.1.1") - root.out.sonicwall.swTrapInfoTrapDescription = this.trap.VarBinds.index(1).Value.snmp_display_string() - - label: sw_fw_trap_enh_wan_acceleration_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/talos/SFALERT-sfalertTrap.yml b/traps/rules/talos/SFALERT-sfalertTrap.yml deleted file mode 100644 index a250ccdd..00000000 --- a/traps/rules/talos/SFALERT-sfalertTrap.yml +++ /dev/null @@ -1,1041 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "SFALERT" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: sf_event_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSignatureGenerator = this.trap.VarBinds.index(1).Value - root.out.talos.sfSignatureId = this.trap.VarBinds.index(2).Value - root.out.talos.sfSignatureRevision = this.trap.VarBinds.index(3).Value - root.out.talos.sfEventMessage = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(5).Value - - label: sf_event_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-sourcefire-SFALERT-sfEvent" - root.out.event.id = "SNMPTRAP-sourcefire-SFALERT-sfEvent" - root.out.event.category.name = "IDS Alert [ " + this.trap.VarBinds.index(1).Value.string() + ": " + this.trap.VarBinds.index(2).Value.string() + " rev. " + this.trap.VarBinds.index(3).Value.string() + " ]" - root.out.object.name = "Source: $7, Destination: $9:$10 - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 2 - processors: - - label: sf_event_ip_string_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSignatureGenerator = this.trap.VarBinds.index(1).Value - root.out.talos.sfSignatureId = this.trap.VarBinds.index(2).Value - root.out.talos.sfSignatureRevision = this.trap.VarBinds.index(3).Value - root.out.talos.sfEventMessage = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(5).Value - root.out.talos.sfSourceIpString = this.trap.VarBinds.index(6).Value.snmp_display_string() - root.out.talos.sfDestinationIpString = this.trap.VarBinds.index(7).Value.snmp_display_string() - - label: sf_event_ip_string_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-sourcefire-SFALERT-sfEventIpString" - root.out.event.id = "SNMPTRAP-sourcefire-SFALERT-sfEventIpString" - root.out.event.category.name = "IDS Alert [ " + this.trap.VarBinds.index(1).Value.string() + ": " + this.trap.VarBinds.index(2).Value.string() + " rev. " + this.trap.VarBinds.index(3).Value.string() + " ]" - root.out.object.name = "Source: " + this.trap.VarBinds.index(6).Value.snmp_display_string().string() + ", Destination: $9:$10 - root.out.event.message = this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " ( " + root.out.object.name + " )" - root.out.event.severity.code = 3 - root.out.event.severity.level = "Error" - - check: this.trap.SpecificTrap == 3 - processors: - - label: dce_new_host_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfHostType = this.trap.VarBinds.index(3).Value - - label: dce_new_host_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 4 - processors: - - label: dce_new_tcp_service_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - - label: dce_new_tcp_service_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 5 - processors: - - label: dce_new_udp_service_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfService = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfServiceVendor = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfServiceVersion = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: dce_new_udp_service_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 6 - processors: - - label: dce_new_net_proto_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfProtocol = this.trap.VarBinds.index(3).Value - - label: dce_new_net_proto_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 7 - processors: - - label: dce_new_xport_proto_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfTransportProtocol = this.trap.VarBinds.index(3).Value - - label: dce_new_xport_proto_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 8 - processors: - - label: dce_host_ip_changed_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(3).Value - - label: dce_host_ip_changed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 10 - processors: - - label: dce_host_ip_reused_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_host_ip_reused_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 11 - processors: - - label: dce_hops_changed_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfHops = this.trap.VarBinds.index(3).Value - - label: dce_hops_changed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 12 - processors: - - label: dce_tcp_svc_info_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfService = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfServiceVendor = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfServiceVersion = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: dce_tcp_svc_info_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 13 - processors: - - label: dce_udp_svc_info_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfService = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfServiceVendor = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfServiceVersion = this.trap.VarBinds.index(6).Value.snmp_display_string() - - label: dce_udp_svc_info_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 14 - processors: - - label: dce_host_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_host_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 15 - processors: - - label: dce_tcp_port_closed_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - - label: dce_tcp_port_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 16 - processors: - - label: dce_udp_port_closed_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - - label: dce_udp_port_closed_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 17 - processors: - - label: dce_tcp_port_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - - label: dce_tcp_port_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 18 - processors: - - label: dce_udp_port_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - - label: dce_udp_port_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 19 - processors: - - label: dce_mac_info_change_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_mac_info_change_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 20 - processors: - - label: dce_mac_add_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_mac_add_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 21 - processors: - - label: dce_host_type_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfHostType = this.trap.VarBinds.index(3).Value - - label: dce_host_type_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 22 - processors: - - label: dce_vlan_tag_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfVlanId = this.trap.VarBinds.index(3).Value - root.out.talos.sfVlanType = this.trap.VarBinds.index(4).Value - root.out.talos.sfVlanPriority = this.trap.VarBinds.index(5).Value - - label: dce_vlan_tag_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 23 - processors: - - label: dce_host_deleted_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_host_deleted_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 24 - processors: - - label: sf_event_impact_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSignatureGenerator = this.trap.VarBinds.index(1).Value - root.out.talos.sfSignatureId = this.trap.VarBinds.index(2).Value - root.out.talos.sfSignatureRevision = this.trap.VarBinds.index(3).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfEventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfImpact = this.trap.VarBinds.index(6).Value - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(7).Value - root.out.talos.sfSourceIpAddress = this.trap.VarBinds.index(8).Value - root.out.talos.sfSourcePort = this.trap.VarBinds.index(9).Value - root.out.talos.sfDestinationIpAddress = this.trap.VarBinds.index(10).Value - root.out.talos.sfDestinationPort = this.trap.VarBinds.index(11).Value - root.out.talos.sfItype = this.trap.VarBinds.index(12).Value - root.out.talos.sfIcode = this.trap.VarBinds.index(13).Value - - label: sf_event_impact_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 25 - processors: - - label: dce_new_client_application_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfClientApplicationTypeId = this.trap.VarBinds.index(3).Value - root.out.talos.sfClientApplicationId = this.trap.VarBinds.index(4).Value - root.out.talos.sfVersion = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: dce_new_client_application_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 26 - processors: - - label: dce_client_application_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfClientApplicationTypeId = this.trap.VarBinds.index(3).Value - root.out.talos.sfClientApplicationId = this.trap.VarBinds.index(4).Value - root.out.talos.sfVersion = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: dce_client_application_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 27 - processors: - - label: sf_policy_event_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSensorId = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.talos.sfPolicy = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfPolicyRule = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(4).Value - root.out.talos.sfSourceIpString = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfSourcePort = this.trap.VarBinds.index(6).Value - root.out.talos.sfSourceCountry = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.talos.sfDestinationIpString = this.trap.VarBinds.index(8).Value.snmp_display_string() - root.out.talos.sfDestinationPort = this.trap.VarBinds.index(9).Value - root.out.talos.sfDestinationCountry = this.trap.VarBinds.index(10).Value.snmp_display_string() - root.out.talos.sfSICategory = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.talos.sfSSLFlowStatus = this.trap.VarBinds.index(12).Value.snmp_display_string() - root.out.talos.sfSSLCertificate = this.trap.VarBinds.index(13).Value.snmp_display_string() - - label: sf_policy_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 28 - processors: - - label: dce_netbios_name_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfNetbiosName = this.trap.VarBinds.index(3).Value.snmp_display_string() - - label: dce_netbios_name_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 30 - processors: - - label: dce_host_dropped_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_host_dropped_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 31 - processors: - - label: sf_impact_alert_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSignatureGenerator = this.trap.VarBinds.index(1).Value - root.out.talos.sfSignatureId = this.trap.VarBinds.index(2).Value - root.out.talos.sfSignatureRevision = this.trap.VarBinds.index(3).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfEventMessage = this.trap.VarBinds.index(5).Value.snmp_display_string() - root.out.talos.sfImpact = this.trap.VarBinds.index(6).Value - root.out.talos.sfImpactString = this.trap.VarBinds.index(7).Value.snmp_display_string() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(8).Value - root.out.talos.sfSourceIpString = this.trap.VarBinds.index(9).Value.snmp_display_string() - root.out.talos.sfSourcePort = this.trap.VarBinds.index(10).Value - root.out.talos.sfDestinationIpString = this.trap.VarBinds.index(11).Value.snmp_display_string() - root.out.talos.sfDestinationPort = this.trap.VarBinds.index(12).Value - root.out.talos.sfItype = this.trap.VarBinds.index(13).Value - root.out.talos.sfIcode = this.trap.VarBinds.index(14).Value - - label: sf_impact_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 32 - processors: - - label: dce_banner_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfTransportProtocol = this.trap.VarBinds.index(4).Value - - label: dce_banner_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 33 - processors: - - label: sf_health_monitor_alert_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfHealthMonitorModule = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.talos.sfHealthMonitorSeverity = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.talos.sfHealthMonitorDescription = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfHealthMonitorTime = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfHealthMonitorSensor = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: sf_health_monitor_alert_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 34 - processors: - - label: dce_tcp_svc_confidence_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfService = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfConfidence = this.trap.VarBinds.index(5).Value - - label: dce_tcp_svc_confidence_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 35 - processors: - - label: dce_udp_svc_confidence_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfServicePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfService = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfConfidence = this.trap.VarBinds.index(5).Value - - label: dce_udp_svc_confidence_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 37 - processors: - - label: dce_new_os_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfOsVendor = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfOsName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfOsVersion = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: dce_new_os_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 38 - processors: - - label: dce_identity_conflict_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_identity_conflict_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 39 - processors: - - label: dce_identity_timeout_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - - label: dce_identity_timeout_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 40 - processors: - - label: dce_client_application_update_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfClientApplicationTypeId = this.trap.VarBinds.index(3).Value - root.out.talos.sfClientApplicationId = this.trap.VarBinds.index(4).Value - root.out.talos.sfVersion = this.trap.VarBinds.index(5).Value.snmp_display_string() - - label: dce_client_application_update_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 43 - processors: - - label: dce_network_based_malware_event_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSensorId = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.talos.sfShaString = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfDisposition = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfThreatName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(5).Value - - label: dce_network_based_malware_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 44 - processors: - - label: dce_retrospective_malware_event_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfSensorId = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.talos.sfShaString = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfDisposition = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfThreatName = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(5).Value - - label: dce_retrospective_malware_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 45 - processors: - - label: sf_firewall_event_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfFirewallEventType = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(2).Value - root.out.talos.sfSourcePort = this.trap.VarBinds.index(3).Value - root.out.talos.sfDestinationPort = this.trap.VarBinds.index(4).Value - - label: sf_firewall_event_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 46 - processors: - - label: sf_firewall_event_ip_string_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfFirewallEventType = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(1).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpProtocol = this.trap.VarBinds.index(2).Value - root.out.talos.sfSourceIpString = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfDestinationIpString = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.talos.sfSourcePort = this.trap.VarBinds.index(5).Value - root.out.talos.sfDestinationPort = this.trap.VarBinds.index(6).Value - - label: sf_firewall_event_ip_string_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - check: this.trap.SpecificTrap == 47 - processors: - - label: dce_host_iocset_variables - mapping: |- - #!blobl - root = this - - root.out.talos.sfAlertDateAndTime = this.trap.VarBinds.index(0).Value.snmp_date_and_time().ts_unix_milli() - root.out.talos.sfIpAddress = this.trap.VarBinds.index(1).Value - root.out.talos.sfSensorId = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.talos.sfIOCCategory = this.trap.VarBinds.index(3).Value.snmp_display_string() - root.out.talos.sfIOCEvent = this.trap.VarBinds.index(4).Value.snmp_display_string() - - label: dce_host_iocset_template - mapping: | - #!blobl - root = this - root.out.event.category.name = "" - root.out.event.id = "" - root.out.event.message = "" - root.out.object.name = "" - root.out.event.class.name = "" - - root.out.event.severity.code = 7 - root.out.event.severity.level = "Debug" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/tripwire/TRIPWIRE-FOR-SERVERS-MIB-tripwire.yml b/traps/rules/tripwire/TRIPWIRE-FOR-SERVERS-MIB-tripwire.yml deleted file mode 100644 index 8850fc46..00000000 --- a/traps/rules/tripwire/TRIPWIRE-FOR-SERVERS-MIB-tripwire.yml +++ /dev/null @@ -1,30 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "TRIPWIRE-FOR-SERVERS-MIB" -- switch: - - check: this.trap.SpecificTrap == 0 - processors: - - label: violation_variables - mapping: |- - #!blobl - root = this - - root.out.tripwire.tripwireReportDetails = this.trap.VarBinds.index(0).Value.snmp_display_string() - - label: violation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Integrity" - root.out.object.name = "Report: " + this.trap.VarBinds.index(0).Value.snmp_display_string().string().re_find_all_submatch("^TWReport ([A-Za-z0-9_-]+) 200[0-9]+ V:[0-9]+ S:[0-9]+ A:[0-9]+ R:[0-9]+ C:[0-9]+ L:[0-9]+ M:[0-9]+ H:[0-9]+$").index(0).index(-1) + "-substr($DateTimeRaw, 1, 8)-substr($DateTimeRaw, 9, 6).twr" - root.out.event.message = "System Integrity OK" - root.out.event.message = "System Integrity Violation, see Details" - root.out.event.message = root.out.event.message + " ( " + root.out.object.name + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/uptimedevices/UPTIME-ROOT-MIB-sh2.yml b/traps/rules/uptimedevices/UPTIME-ROOT-MIB-sh2.yml deleted file mode 100644 index 167fea5e..00000000 --- a/traps/rules/uptimedevices/UPTIME-ROOT-MIB-sh2.yml +++ /dev/null @@ -1,252 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "UPTIME-ROOT-MIB" -- switch: - - check: this.trap.SpecificTrap == 101 - processors: - - label: sh2sensor1high_critical_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor1high_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1HighCritical" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1HighCritical" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.101" - root.out.event.message = "Sensor Detects High " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 102 - processors: - - label: sh2sensor1high_warning_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor1high_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1HighWarning" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1HighWarning" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.102" - root.out.event.message = "Sensor Detects High " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 103 - processors: - - label: sh2sensor1low_warning_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor1low_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1LowWarning" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1LowWarning" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.103" - root.out.event.message = "Sensor Detects Low " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 104 - processors: - - label: sh2sensor1low_critical_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor1low_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1LowCritical" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1LowCritical" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.104" - root.out.event.message = "Sensor Detects Low " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 105 - processors: - - label: sh2sensor1normal_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor1normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1Normal" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor1Normal" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.105" - root.out.event.message = "Sensor Detects Normal " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - check: this.trap.SpecificTrap == 106 - processors: - - label: sh2sensor2high_critical_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor2high_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2HighCritical" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2HighCritical" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.106" - root.out.event.message = "Sensor Detects High " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 107 - processors: - - label: sh2sensor2high_warning_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor2high_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2HighWarning" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2HighWarning" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.107" - root.out.event.message = "Sensor Detects High " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 108 - processors: - - label: sh2sensor2low_warning_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor2low_warning_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2LowWarning" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2LowWarning" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.108" - root.out.event.message = "Sensor Detects Low " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 4 - root.out.event.severity.level = "Warning" - - check: this.trap.SpecificTrap == 109 - processors: - - label: sh2sensor2low_critical_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor2low_critical_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2LowCritical" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2LowCritical" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.109" - root.out.event.message = "Sensor Detects Low " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 2 - root.out.event.severity.level = "Critical" - - check: this.trap.SpecificTrap == 110 - processors: - - label: sh2sensor2normal_variables - mapping: |- - #!blobl - root = this - - root.out.uptimedevices.sysDescr = this.trap.VarBinds.index(0).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorName = this.trap.VarBinds.index(1).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorType = this.trap.VarBinds.index(2).Value.snmp_display_string() - root.out.uptimedevices.sh2SensorCurrentValue = this.trap.VarBinds.index(3).Value - root.out.uptimedevices.sh2SensorState = this.trap.VarBinds.index(4).Value.enum_enrich(".1.3.6.1.4.1.13045.1.1.2.2.1.6") - - label: sh2sensor2normal_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.class.name = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2Normal" - root.out.event.id = "SNMPTRAP-uptimedevices-UPTIME-ROOT-MIB-sh2Sensor2Normal" - root.out.event.category.name = this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " Status" - root.out.object.name = "sh2SensorEntry.110" - root.out.event.message = "Sensor Detects Normal " + this.trap.VarBinds.index(1).Value.snmp_display_string().string() + ", Currently: " + this.trap.VarBinds.index(3).Value.string() + " ( " + this.trap.VarBinds.index(2).Value.snmp_display_string().string() + " )" - root.out.event.severity.code = 5 - root.out.event.severity.level = "Notice" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/vocaltec/VTCOMMON-MIB-vocaltec.yml b/traps/rules/vocaltec/VTCOMMON-MIB-vocaltec.yml deleted file mode 100644 index f43c470a..00000000 --- a/traps/rules/vocaltec/VTCOMMON-MIB-vocaltec.yml +++ /dev/null @@ -1,115 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "VTCOMMON-MIB" -- switch: - - check: this.trap.SpecificTrap == 1 - processors: - - label: server_in_service_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - - label: server_in_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server In Service ( Server: 1.4.1.2516 )" - - check: this.trap.SpecificTrap == 2 - processors: - - label: server_out_of_service_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - - label: server_out_of_service_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server Out of Service ( Server: 1.4.1.2516 )" - - check: this.trap.SpecificTrap == 3 - processors: - - label: server_shutting_down_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - - label: server_shutting_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server Shutting Down ( Server: 1.4.1.2516 )" - - check: this.trap.SpecificTrap == 4 - processors: - - label: server_maintenance_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - - label: server_maintenance_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server in Maintenance ( Server: 1.4.1.2516 )" - - check: this.trap.SpecificTrap == 5 - processors: - - label: server_configuration_fault_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - - label: server_configuration_fault_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server Configuration Fault ( Server: 1.4.1.2516 )" - - check: this.trap.SpecificTrap == 6 - processors: - - label: server_in_transition_variables - mapping: |- - #!blobl - root = this - - root.out.vocaltec.vtServerType = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1") - root.out.vocaltec.vtCurrentOpMode = this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.4") - - label: server_in_transition_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + "Server Status" - root.out.object.name = "opModeEntry." + this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + ".1.4.1.2516" - root.out.event.message = this.trap.VarBinds.index(0).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.1").string() + " Server in Transition, Currently " + this.trap.VarBinds.index(1).Value.enum_enrich(".1.3.6.1.4.1.2516.1.1.1.4").string() - - label: server_in_transition_rules_3 - mapping: |- - #!blobl - root = this - - root.out.event.message = root.out.event.message + " ( Server: 1.4.1.2516 )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap" diff --git a/traps/rules/wavesmith/WSTRAP-MIB-wsTrap.yml b/traps/rules/wavesmith/WSTRAP-MIB-wsTrap.yml deleted file mode 100644 index 9bf7fd49..00000000 --- a/traps/rules/wavesmith/WSTRAP-MIB-wsTrap.yml +++ /dev/null @@ -1,3575 +0,0 @@ -- mapping: |- - #!blobl - root = this - root.out.origin.agent.name = "WSTRAP-MIB" -- switch: - - check: this.trap.SpecificTrap == 58002 - processors: - - label: unrecognized_nmadetected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: unrecognized_nmadetected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Unrecognized NMA Type Detected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58003 - processors: - - label: unrecognized_nmacleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: unrecognized_nmacleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "NMA Type Recognized ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58004 - processors: - - label: unprovisioned_nmadetected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: unprovisioned_nmadetected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "NMA Unprovisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58005 - processors: - - label: unprovisioned_nmacleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: unprovisioned_nmacleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "NMA Provisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58006 - processors: - - label: nma_not_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: nma_not_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. NMA Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Provisioned NMA Missing ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58007 - processors: - - label: nma_not_detected_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: nma_not_detected_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. NMA Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Provisioned NMA Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58008 - processors: - - label: nma_mismatch_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: nma_mismatch_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "NMA Type Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58009 - processors: - - label: nma_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: nma_mismatch_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "NMA Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "NMA Type Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58010 - processors: - - label: shelf_fan_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fan_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Missing ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58011 - processors: - - label: shelf_fan_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fan_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58012 - processors: - - label: shelf_fan_fail_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fan_fail_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58013 - processors: - - label: shelf_fan_fail_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fan_fail_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Fan: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58016 - processors: - - label: ftm_temp_high_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_temp_high_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Temperature Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Temperature Too High ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58017 - processors: - - label: ftm_temp_high_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_temp_high_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Temperature Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Temperature OK ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58018 - processors: - - label: shelf_power_bad_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_power_bad_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Power Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Power Module: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Power Module Failure ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Power Module: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58019 - processors: - - label: shelf_power_bad_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_power_bad_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Power Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Power Module: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Power Module Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Power Module: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58020 - processors: - - label: unknown_ftmtype_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unknown_ftmtype_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Type Unrecognized ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58021 - processors: - - label: unknown_ftmtype_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unknown_ftmtype_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Type Recognized ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58022 - processors: - - label: unprovisioned_ftmdetected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unprovisioned_ftmdetected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Not Provisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58023 - processors: - - label: unprovisioned_ftmcleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unprovisioned_ftmcleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Provisioned or Unprovisioned FTM Removed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58024 - processors: - - label: provisioned_ftmmissing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: provisioned_ftmmissing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FTM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Provisioned FTM Missing ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58025 - processors: - - label: provisioned_ftmmissing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: provisioned_ftmmissing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FTM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Provisioned FTM Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58026 - processors: - - label: ftm_mismatch_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_mismatch_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Type Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58027 - processors: - - label: ftm_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_mismatch_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Type Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58028 - processors: - - label: fm_temp_high_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_temp_high_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Temperature Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Temperature Too High ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 58029 - processors: - - label: fm_temp_high_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_temp_high_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Temperature Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Temperature OK ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 58032 - processors: - - label: ftm_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Required FTM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Required FTM Not Provisioned or Not Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58033 - processors: - - label: ftm_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: ftm_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Required FTM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Required FTM Provisioned or Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58034 - processors: - - label: invalid_ftmprovisioning_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: invalid_ftmprovisioning_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Shelf Fabric Mode Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Shelf Fabric Mode Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58035 - processors: - - label: invalid_ftmprovisioning_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: invalid_ftmprovisioning_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FTM Shelf Fabric Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FTM Shelf Fabric Mode Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FTM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58036 - processors: - - label: shelf_fpm_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fpm_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Power Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Power Module Missing ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58037 - processors: - - label: shelf_fpm_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_fpm_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Power Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Power Module Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58038 - processors: - - label: shelf_all_fpms_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_all_fpms_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Power Modules Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "All Shelf Fan Power Modules ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58039 - processors: - - label: shelf_all_fpms_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_all_fpms_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fan Power Modules Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Fan Power Modules Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58040 - processors: - - label: fan_power_module_failure_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: fan_power_module_failure_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Power Module Power Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Fan Power Module Power Failure ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58041 - processors: - - label: fan_power_module_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: fan_power_module_failure_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Fan Power Module Power Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Fan Power Module Power Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FPM: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58042 - processors: - - label: shelf_all_fan_fail_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: shelf_all_fan_fail_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fans Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "All Shelf Fans in Chassis Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58043 - processors: - - label: shelf_all_fan_fail_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: shelf_all_fan_fail_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Fans Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "All Shelf Fans in Chassis Failure Cleared ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 58044 - processors: - - label: tm_hardware_failure_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: tm_hardware_failure_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TM Card Hardware Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "TM Card Fatal Hardware Error ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 58045 - processors: - - label: tm_hardware_failure_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: tm_hardware_failure_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "TM Card Hardware Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "TM Card Hardware Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54006 - processors: - - label: unprovisioned_fmjoin_node_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: unprovisioned_fmjoin_node_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Unprovisioned FM Card Joining the Node ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54007 - processors: - - label: unprovisioned_fmjoin_node_clear_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: unprovisioned_fmjoin_node_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Unprovisioned FM Card Joining the Node Cleared ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54008 - processors: - - label: fm_mismatch_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_mismatch_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Card Type Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54009 - processors: - - label: fm_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_mismatch_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Card Type Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54010 - processors: - - label: unprovisioned_shelf_joined_node_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unprovisioned_shelf_joined_node_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Unprovisioned Shelf Joining the Node ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54011 - processors: - - label: unprovisioned_shelf_join_node_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unprovisioned_shelf_join_node_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Unprovisioned Shelf Joining the Node Cleared ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54012 - processors: - - label: shelf_mismatch_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_mismatch_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Type Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54013 - processors: - - label: shelf_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_mismatch_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Type Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54014 - processors: - - label: duplicate_shelf_num_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: duplicate_shelf_num_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Shelf Number Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "FM Card with Shelf Number Already in Use Attempting to Join the Node ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54018 - processors: - - label: fm_role_change_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_role_change_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Card Role Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Card Role Changed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54020 - processors: - - label: shelf_joined_node_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_joined_node_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Joined the Node ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54022 - processors: - - label: shelf_went_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_went_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Down ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54023 - processors: - - label: shelf_came_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: shelf_came_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Shelf Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 54024 - processors: - - label: fm_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Provisioned FM Missing from Shelf ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54025 - processors: - - label: fm_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Provisioned FM Present in Shelf ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54026 - processors: - - label: critical_fm_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: critical_fm_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Provisioned FM Missing from Shelf ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 54027 - processors: - - label: critical_fm_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: critical_fm_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Prov. FM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Provisioned FM Present in Shelf ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 52002 - processors: - - label: unknown_alert_raised_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: unknown_alert_raised_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Unknown Alert" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Unknown Alert Raised, " + this.trap.VarBinds.index(4).Value.snmp_display_string().string() + " ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 44002 - processors: - - label: pa_card_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_card_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Inoperable ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44003 - processors: - - label: pa_card_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_card_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Operable ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44004 - processors: - - label: pa_missing_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_missing_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Missing ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44005 - processors: - - label: pa_missing_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_missing_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44006 - processors: - - label: unprovisioned_padetected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: unprovisioned_padetected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Unprovisioned Port Adapter Card Present ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44007 - processors: - - label: unprovisioned_pacleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: unprovisioned_pacleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Prov. Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Unprovisioned Port Adapter Card Removed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44008 - processors: - - label: pa_mismatch_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_mismatch_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Type Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44009 - processors: - - label: pa_mismatch_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_mismatch_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Card Type Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Card Type Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44010 - processors: - - label: pa_driver_install_fail_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_driver_install_fail_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Driver Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Port Adapter Driver Installation Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44012 - processors: - - label: pa_access_timeout_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_access_timeout_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Access Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Illegal PA Slot Memory Access ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44013 - processors: - - label: pa_access_timeout_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_access_timeout_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Access Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Illegal PA Slot Memory Access Cleared ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44014 - processors: - - label: pa_access_timeouts_exceeded_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_access_timeouts_exceeded_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Excess. Access Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PA Slot Failed, Excessive Illegal Memory Accesses ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 44015 - processors: - - label: pa_access_timeouts_exceeded_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pa_access_timeouts_exceeded_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Port Adapter Excess. Access Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PA Slot OK, Excessive Illegal Memory Access Cleared ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30002 - processors: - - label: pport_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pport_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30003 - processors: - - label: pport_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pport_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30004 - processors: - - label: channel_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: channel_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Channel Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30005 - processors: - - label: channel_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: channel_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Channel Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Channel Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30006 - processors: - - label: service_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: service_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Service Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Service Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30007 - processors: - - label: service_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: service_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Service Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Service Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30008 - processors: - - label: lport_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: lport_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "LPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "LPort Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30009 - processors: - - label: lport_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: lport_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "LPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "LPort Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30010 - processors: - - label: aps_byte_failure_on_pport_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_byte_failure_on_pport_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Byte Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Protection Switching Byte Failure ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30011 - processors: - - label: aps_byte_failure_on_pport_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_byte_failure_on_pport_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Byte Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Protection Switching Byte OK ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30012 - processors: - - label: aps_mismatch_on_pport_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_mismatch_on_pport_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Mode Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Mode Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30013 - processors: - - label: aps_mismatch_on_pport_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_mismatch_on_pport_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Mode Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Mode Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30014 - processors: - - label: aps_channel_mismatch_on_pport_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_channel_mismatch_on_pport_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Channel Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Channel Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30015 - processors: - - label: aps_channel_mismatch_on_pport_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: aps_channel_mismatch_on_pport_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort APS Channel Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort APS Channel Match ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30016 - processors: - - label: bundle_service_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: bundle_service_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bundle Service Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Bundle Service Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30017 - processors: - - label: bundle_service_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: bundle_service_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bundle Service Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Bundle Service Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30018 - processors: - - label: working_pport_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: working_pport_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Working PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Working PPort of APS Pair Down ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30019 - processors: - - label: working_pport_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: working_pport_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Working PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Working PPort of APS Pair Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30020 - processors: - - label: protect_pport_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_pport_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Protect PPort of APS Pair Down ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30021 - processors: - - label: protect_pport_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_pport_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Protect PPort of APS Pair Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30022 - processors: - - label: protect_switchover_failure_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_switchover_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort Switchover Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Current PPort of APS Pair Down, Switchover Not Possible ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30023 - processors: - - label: protect_switchover_clear_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_switchover_clear_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PPort Switchover Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PPort of APS Pair Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30024 - processors: - - label: protect_pport_active_tx_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_pport_active_tx_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Tx Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Protect PPort of APS Pair Active for Transmit ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30025 - processors: - - label: working_pport_active_tx_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: working_pport_active_tx_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Tx Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Working PPort of APS Pair Active for Transmit ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30026 - processors: - - label: protect_pport_active_rx_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: protect_pport_active_rx_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Rx Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Protect PPort of APS Pair Active for Receive ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 30027 - processors: - - label: working_pport_active_rx_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.paSlot = this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3") - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: working_pport_active_rx_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Protect PPort Rx Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Working PPort of APS Pair Active for Receive ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", PA Slot: " + this.trap.VarBinds.index(6).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.3").string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18002 - processors: - - label: pm_lost_nc_protection_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_lost_nc_protection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Node Controller Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Node Controller Persistent Storage Protection Lost ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18004 - processors: - - label: pm_lost_sc_protection_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_lost_sc_protection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Shelf Controller Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Shelf Controller Persistent Storage Protection Lost ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18006 - processors: - - label: pm_lost_data_protection_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_lost_data_protection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Configuration Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Configuration Data Persistent Storage Protection Lost ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18008 - processors: - - label: pm_protect_replication_failure_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_protect_replication_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Configuration Replication Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Protect Card Initial Configuration Replication Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18010 - processors: - - label: pm_database_corruption_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_database_corruption_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Persistent Storage Data Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistent Storage Data Corruption Error ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18012 - processors: - - label: pm_db_synchronize_error_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_db_synchronize_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Database Sync. File Transfer Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Database Synchronization File Transfer Failure ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18014 - processors: - - label: pm_db_locked_notification_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_db_locked_notification_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Configuration Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Configuration Request Not Processed, Database Locked ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18016 - processors: - - label: pm_disk_full_notifiation_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_disk_full_notifiation_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Persistent Storage Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistent Storage Configuration Request Failed, Disk Full ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18018 - processors: - - label: pm_fault_causing_failover_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_fault_causing_failover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Persistent Storage Failover Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistence Manager Critical Fault, Controlled Failover Triggered ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18020 - processors: - - label: pm_protect_copy_begun_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_protect_copy_begun_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PM Protection Copy Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistence Manager Copying Data to Protect Card ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18022 - processors: - - label: pm_protect_copy_ended_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_protect_copy_ended_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PM Protection Copy Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistence Manager Finished Copying Data to Protect Card ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 18024 - processors: - - label: pm_data_size_mismatch_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pm_data_size_mismatch_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PM Database Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Persistence Manager Database Size Mismatch ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2002 - processors: - - label: saal_state_change_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: saal_state_change_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SAAL Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "SAAL Inactive ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2003 - processors: - - label: saal_state_change_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: saal_state_change_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SAAL Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "SAAL Active ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2004 - processors: - - label: ilmi_state_change_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: ilmi_state_change_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ILMI Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "ILMI Disconnected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2005 - processors: - - label: ilmi_state_change_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: ilmi_state_change_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ILMI Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "ILMI Connected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Interface: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2006 - processors: - - label: link_lmi_state_change_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: link_lmi_state_change_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Link LMI Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Link LMI Down ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2007 - processors: - - label: link_lmi_state_change_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: link_lmi_state_change_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Link LMI Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Link LMI Up ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2008 - processors: - - label: spvc_resource_failure_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: spvc_resource_failure_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "SPVC Resource Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "SPVC Resource Allocation failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2010 - processors: - - label: atm_spvc_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: atm_spvc_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ATM SPVC Connection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "ATM SPVC Disconnected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2011 - processors: - - label: atm_spvc_connected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: atm_spvc_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "ATM SPVC Connection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "ATM SPVC Connected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2014 - processors: - - label: fr_spvc_disconnected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fr_spvc_disconnected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FR SPVC Connection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FR SPVC Disconnected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 2015 - processors: - - label: fr_spvc_connected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fr_spvc_connected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FR SPVC Connection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FR SPVC Connected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 4002 - processors: - - label: pnni_link_state_change_down_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pnni_link_state_change_down_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PNNI Link Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PNNI Link Not Advertised ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 4003 - processors: - - label: pnni_link_state_change_up_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: pnni_link_state_change_up_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "PNNI Link Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "PNNI Link Advertised ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 46002 - processors: - - label: timing_ref_loss_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: timing_ref_loss_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Reference Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Timing Reference Loss or Failure ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 46003 - processors: - - label: timing_ref_loss_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: timing_ref_loss_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Reference Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Timing Reference Now Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 46004 - processors: - - label: complete_timing_ref_loss_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: complete_timing_ref_loss_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing References Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary and Secondary Timing References Lost or Failed ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 46005 - processors: - - label: complete_timing_ref_loss_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: complete_timing_ref_loss_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing References Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary and/or Secondary Timing References Now Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 46006 - processors: - - label: timing_module_loss_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: timing_module_loss_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Timing Module Failed or Incorrectly Provisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 46007 - processors: - - label: timing_module_loss_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(6).Value - - label: timing_module_loss_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Module Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "Timing Module Working ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", Unit: " + this.trap.VarBinds.index(6).Value.string() + " )" - - check: this.trap.SpecificTrap == 46008 - processors: - - label: complete_timing_module_loss_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: complete_timing_module_loss_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Modules Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Both Timing Modules Failed or Incorrectly Provisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 46009 - processors: - - label: complete_timing_module_loss_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - - label: complete_timing_module_loss_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Timing Modules Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "One or Both Timing Modules Working or Correctly Provisioned ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 36002 - processors: - - label: subsystem_restarted_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: subsystem_restarted_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Subsystem Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Software Subsystem Restarted ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36004 - processors: - - label: system_failover_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: system_failover_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "System Failover Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "System Failover ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36006 - processors: - - label: subsystem_too_many_restarts_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: subsystem_too_many_restarts_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Subsystem Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Subsystem Restarted Excessively ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36008 - processors: - - label: fm_out_of_rev_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_out_of_rev_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Board Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Board Revision Incorrect ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36009 - processors: - - label: fm_out_of_rev_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_out_of_rev_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM Board Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM Board Revision Correct ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36010 - processors: - - label: fm_rom_out_of_rev_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_rom_out_of_rev_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM ROM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM ROM Revision Incorrect ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36011 - processors: - - label: fm_rom_out_of_rev_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_rom_out_of_rev_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM ROM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM ROM Revision Correct ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36012 - processors: - - label: no_upper_fm_protection_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: no_upper_fm_protection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Upper FM Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "No Upper FM Protection ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36013 - processors: - - label: no_upper_fm_protection_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: no_upper_fm_protection_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Upper FM Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Upper FM Protection Corrected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36014 - processors: - - label: no_lower_fm_protection_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: no_lower_fm_protection_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Lower FM Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "No Lower FM Protection ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36015 - processors: - - label: no_lower_fm_protection_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: no_lower_fm_protection_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Lower FM Protection Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Lower FM Protection Corrected ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36020 - processors: - - label: fm_has_non_standard_nvram_settings_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_has_non_standard_nvram_settings_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM NVRAM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Non-Standard FM NVRAM Settings ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36021 - processors: - - label: fm_has_non_standard_nvram_settings_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_has_non_standard_nvram_settings_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM NVRAM Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Standard FM NVRAM Settings Restored ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36022 - processors: - - label: fm_has_has_dead_nvram_battery_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_has_has_dead_nvram_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM NVRAM Battery Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM NVRAM Battery Dead ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 36023 - processors: - - label: fm_has_has_good_nvram_battery_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: fm_has_has_good_nvram_battery_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "FM NVRAM Battery Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "FM NVRAM Battery Good ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 24002 - processors: - - label: unreachable_primary_bulk_srv_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unreachable_primary_bulk_srv_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Pri. Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary Bulk Stats Server Unreachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24003 - processors: - - label: unreachable_primary_bulk_srv_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unreachable_primary_bulk_srv_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Pri. Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary Bulk Stats Server Reachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24004 - processors: - - label: unreachable_secondary_bulk_srv_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unreachable_secondary_bulk_srv_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sec. Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Secondary Bulk Stats Server Unreachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24005 - processors: - - label: unreachable_secondary_bulk_srv_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unreachable_secondary_bulk_srv_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sec. Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Secondary Bulk Stats Server Reachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24006 - processors: - - label: all_bulk_srv_unreachable_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: all_bulk_srv_unreachable_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "All Bulk Stats Servers Unreachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24007 - processors: - - label: all_bulk_srv_unreachable_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: all_bulk_srv_unreachable_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bulk Stats Server Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Bulk Stats Servers Reachable ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24008 - processors: - - label: unprovisioned_primary_bulk_srv_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unprovisioned_primary_bulk_srv_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Pri. Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary Bulk Stats Server Not Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24009 - processors: - - label: unprovisioned_primary_bulk_srv_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unprovisioned_primary_bulk_srv_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Pri. Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Primary Bulk Stats Server Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24010 - processors: - - label: unprovisioned_secondary_bulk_srv_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unprovisioned_secondary_bulk_srv_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sec. Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Secondary Bulk Stats Server Not Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24011 - processors: - - label: unprovisioned_secondary_bulk_srv_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: unprovisioned_secondary_bulk_srv_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Sec. Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Secondary Bulk Stats Server Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24012 - processors: - - label: no_provisioned_bulk_srv_detected_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: no_provisioned_bulk_srv_detected_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "No Bulk Stats Server Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 24013 - processors: - - label: no_provisioned_bulk_srv_cleared_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.unit = this.trap.VarBinds.index(5).Value - - label: no_provisioned_bulk_srv_cleared_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bulk Stats Server Prov. Status" - root.out.object.name = "Unit: " + this.trap.VarBinds.index(5).Value.string() - root.out.event.message = "Bulk Stats Server Provisioned ( Unit: " + this.trap.VarBinds.index(5).Value.string() + " )" - - check: this.trap.SpecificTrap == 20002 - processors: - - label: bulk_stats_interval_truncated_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - root.out.wavesmith.unit = this.trap.VarBinds.index(7).Value - - label: bulk_stats_interval_truncated_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Bulk Statistics Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() - root.out.event.message = "Bulk Statistics Reporting and/or Collecting Interval Truncated ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + ", Unit: " + this.trap.VarBinds.index(7).Value.string() + " )" - - check: this.trap.SpecificTrap == 34002 - processors: - - label: general_kernel_error_variables - mapping: |- - #!blobl - root = this - - root.out.wavesmith.naturalKey = this.trap.VarBinds.index(0).Value.snmp_octet_string() - root.out.wavesmith.raisedInstance = this.trap.VarBinds.index(1).Value - root.out.wavesmith.severityLevel = this.trap.VarBinds.index(2).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.2.1") - root.out.wavesmith.operStatus = this.trap.VarBinds.index(3).Value.enum_enrich(".1.3.6.1.4.1.7327.2.1.1.4") - root.out.wavesmith.operDiag = this.trap.VarBinds.index(4).Value.snmp_display_string() - root.out.wavesmith.shelf = this.trap.VarBinds.index(5).Value - root.out.wavesmith.fmSlot = this.trap.VarBinds.index(6).Value - - label: general_kernel_error_rules_1 - mapping: |- - #!blobl - root = this - - root.out.event.category.name = "Kernel Status" - root.out.object.name = "Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() - root.out.event.message = "General Kernel Error ( Shelf: " + this.trap.VarBinds.index(5).Value.string() + ", FM Slot: " + this.trap.VarBinds.index(6).Value.string() + " )" - - processors: - - label: default - mapping: | - #!blobl - root = this - - root.out.event.category.name = "Unknown Trap"