diff --git a/collections/fm.eventclasses/Chassis/Hardware/Version_Upgrading.json b/collections/fm.eventclasses/Chassis/Hardware/Version_Upgrading.json new file mode 100644 index 0000000000000000000000000000000000000000..f418b0f5d706726885dc0ac772c82d4ce96e7ab1 --- /dev/null +++ b/collections/fm.eventclasses/Chassis/Hardware/Version_Upgrading.json @@ -0,0 +1,45 @@ +{ + "name": "Chassis | Hardware | Version Upgrading", + "$collection": "fm.eventclasses", + "uuid": "f64393bc-a1e8-4993-bf3a-6fc6e17ac18c", + "description": "An ISSU notification to indicate the new state of the system.", + "action": "A", + "vars": [ + { + "name": "issu_state", + "description": "The current ISSU state of the system.", + "type": "str", + "required": true, + "match_suppress": true + }, + { + "name": "from_version", + "description": "Version from is upgrading", + "type": "str", + "required": false, + "match_suppress": false + }, + { + "name": "to_version", + "description": "Version to is upgrading", + "type": "str", + "required": false, + "match_suppress": false + }, + { + "name": "reason", + "description": "Status Reason Code", + "type": "str", + "required": false, + "match_suppress": false + } + ], + "deduplication_window": 3, + "suppression_window": 0, + "ttl": 86400, + "subject_template": "RF Upgrading version", + "body_template": "RF Upgrading version from {{ from_version }} to {{ to_version }}. Change. Status code: {{reason}}", + "symptoms": "", + "probable_causes": "", + "recommended_actions": "" +} diff --git a/collections/fm.eventclasses/Chassis/Memory/Memory_Usage_Above_Threshold.json b/collections/fm.eventclasses/Chassis/Memory/Memory_Usage_Above_Threshold.json new file mode 100644 index 0000000000000000000000000000000000000000..8c2c0786baf1919210dd14a0484fd886907e3511 --- /dev/null +++ b/collections/fm.eventclasses/Chassis/Memory/Memory_Usage_Above_Threshold.json @@ -0,0 +1,38 @@ +{ + "name": "Chassis | Memory | Memory Usage Above Threshold", + "$collection": "fm.eventclasses", + "uuid": "6f07090f-6e2e-475b-9cc9-fdf199a7dc95", + "description": "Memory Usage Above Threshold", + "action": "A", + "vars": [ + { + "name": "slot", + "description": "Slot", + "type": "str", + "required": false, + "match_suppress": false + }, + { + "name": "ovalue", + "description": "", + "type": "int", + "required": false, + "match_suppress": false + }, + { + "name": "tvalue", + "description": "", + "type": "int", + "required": false, + "match_suppress": false + } + ], + "deduplication_window": 3, + "suppression_window": 0, + "ttl": 86400, + "subject_template": "{% if slot %}{{slot}} {% endif %} Memory Usage is above threshold", + "body_template": "{% if slot %}{{slot}} {% endif %} Memory Usage is above threshold {{ tvalue }}", + "symptoms": "", + "probable_causes": "", + "recommended_actions": "" +} diff --git a/collections/fm.eventclassificationrules/Cisco/IOS/Chassis/Hardware/RF/RF_State_Notif_rev_1_1_SNMP.json b/collections/fm.eventclassificationrules/Cisco/IOS/Chassis/Hardware/RF/RF_State_Notif_rev_1_1_SNMP.json index 5f8013cf2247926d77f68b5ae703969440f95d24..c5147067c650706d3a624b0477626ffdc0da97e5 100644 --- a/collections/fm.eventclassificationrules/Cisco/IOS/Chassis/Hardware/RF/RF_State_Notif_rev_1_1_SNMP.json +++ b/collections/fm.eventclassificationrules/Cisco/IOS/Chassis/Hardware/RF/RF_State_Notif_rev_1_1_SNMP.json @@ -3,7 +3,7 @@ "$collection": "fm.eventclassificationrules", "uuid": "ee7a71c0-6528-42d9-9e5f-f5056b6084f7", "description": "CISCO-RF-MIB::ciscoRFIssuStateNotifRev1", - "event_class__name": "Unknown | Default", + "event_class__name": "Chassis | Hardware | Version Upgrading", "preference": 1000, "patterns": [ { diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Error_1_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Error_1_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..b10d6097430acf8751a53dc1159b2570e08a745a --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Error_1_SNMP.json @@ -0,0 +1,34 @@ +{ + "name": "Juniper | JUNOS | Chassis | Hardware | Module | Module Error #1 (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "fd0b3bc6-c173-4862-a0fe-659d5fe7b99c", + "description": "Juniper-System-MIB::juniSystemModuleOperStatusChange", + "event_class__name": "Chassis | Hardware | Module | Module Error", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS(e|)$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^Juniper-System-MIB::juniSystemModuleOperStatusChange$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleCurrentType\\.(?P\\S+)$", + "value_re": "^(?P\\S+)$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleOperStatus\\.\\S+$", + "value_re": "hardwareError" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleDescr\\.\\S+$", + "value_re": "^(?P\\S+)$" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Offline_1_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Offline_1_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..f865002c57b2ad293adc51b4a2dc23143d08f41b --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Offline_1_SNMP.json @@ -0,0 +1,38 @@ +{ + "name": "Juniper | JUNOS | Chassis | Hardware | Module | Module Offline #1 (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "f9d0e2f1-6fdc-4e1a-8791-9927ab866b5d", + "description": "Juniper-System-MIB::juniSystemModuleOperStatusChange", + "event_class__name": "Chassis | Hardware | Module | Module Offline", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS(e|)$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^Juniper-System-MIB::juniSystemModuleOperStatusChange$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleCurrentType\\.(?P\\S+)$", + "value_re": "^(?P\\S+)$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleOperStatus\\.\\S+$", + "value_re": "disabled" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleDisableReason\\.\\S+$", + "value_re": "^(?P.+)$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleDescr\\.\\S+$", + "value_re": "^(?P\\S+)$" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Up_1_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Up_1_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..78783f079f89da578542a4afa00c26c0e7d56720 --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_Up_1_SNMP.json @@ -0,0 +1,34 @@ +{ + "name": "Juniper | JUNOS | Chassis | Hardware | Module | Module Up #1 (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "c4570f2b-b228-44f0-b063-dc045569521d", + "description": "Juniper-System-MIB::juniSystemModuleOperStatusChange", + "event_class__name": "Chassis | Hardware | Module | Module Up", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS(e|)$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^Juniper-System-MIB::juniSystemModuleOperStatusChange$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleCurrentType\\.(?P\\S+)$", + "value_re": "^(?P\\S+)$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleOperStatus\\.\\S+$", + "value_re": "(online|standby|inactive)" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleDescr\\.\\S+$", + "value_re": "^(?P\\S+)$" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_not_Present_1_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_not_Present_1_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..5c0409fe4a97885bce16f470996d74bb9510f576 --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Hardware/Module/Module_not_Present_1_SNMP.json @@ -0,0 +1,34 @@ +{ + "name": "Juniper | JUNOS | Chassis | Hardware | Module | Module not Present #1 (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "bc155020-eba4-400e-af10-721143369781", + "description": "Juniper-System-MIB::juniSystemModuleOperStatusChange", + "event_class__name": "Chassis | Hardware | Module | Module not Present", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS(e|)$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^Juniper-System-MIB::juniSystemModuleOperStatusChange$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleCurrentType\\.(?P\\S+)$", + "value_re": "^(?P\\S+)$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleOperStatus\\.\\S+$", + "value_re": "notPresent" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemModuleDescr\\.\\S+$", + "value_re": "^(?P\\S+)$" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Memory/Memory_Usage_Above_Threshold_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Memory/Memory_Usage_Above_Threshold_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..ec090b8c28be7e2596bb442a94d58cd161733b7c --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/Chassis/Memory/Memory_Usage_Above_Threshold_SNMP.json @@ -0,0 +1,38 @@ +{ + "name": "Juniper | JUNOS | Chassis | Memory | Memory Usage Above Threshold (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "6e099fa8-d124-467c-8961-a8ba43631cad", + "description": "Juniper-System-MIB::juniSystemUtilizationThreshold", + "event_class__name": "Chassis | Memory | Memory Usage Above Threshold", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS(e|)$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^Juniper-System-MIB::juniSystemUtilizationThreshold$" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemUtilizationResourceType\\..+$", + "value_re": "memory" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemUtilizationLocation\\..+$", + "value_re": "memory" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemUtilizationMaxCapacity\\..+$", + "value_re": "(?P.+)" + }, + { + "key_re": "^Juniper-System-MIB::juniSystemUtilizationCurrentValue\\..+$", + "value_re": "(?P.+)" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Juniper/JUNOS/System/Syslog_SNMP.json b/collections/fm.eventclassificationrules/Juniper/JUNOS/System/Syslog_SNMP.json new file mode 100644 index 0000000000000000000000000000000000000000..1a04c7ec4c19ab20b21755bf9b78ec2caf7d4243 --- /dev/null +++ b/collections/fm.eventclassificationrules/Juniper/JUNOS/System/Syslog_SNMP.json @@ -0,0 +1,30 @@ +{ + "name": "Juniper | JUNOS | Syslog (SNMP)", + "$collection": "fm.eventclassificationrules", + "uuid": "67e84b6d-d6ed-46c6-93e0-89a31a271630", + "description": "Notification of a generated syslog message", + "event_class__name": "Unknown | Syslog", + "preference": 1000, + "patterns": [ + { + "key_re": "^source$", + "value_re": "^SNMP Trap$" + }, + { + "key_re": "^profile$", + "value_re": "^Juniper\\.JUNOS$" + }, + { + "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", + "value_re": "^JUNIPER-SYSLOG-MIB::jnxSyslogTrap$" + }, + { + "key_re": "^JUNIPER-SYSLOG-MIB::jnxSyslogMessage.\\S+$", + "value_re": "^(?P.+)$" + }, + { + "key_re": "^JUNIPER-SYSLOG-MIB::jnxSyslogEventName.\\S+$", + "value_re": "^(?P.+)$" + } + ] +} \ No newline at end of file diff --git a/collections/fm.eventclassificationrules/Network/MPLS/LSP_Down_SNMP.json b/collections/fm.eventclassificationrules/Network/MPLS/LSP_Down_SNMP.json index 2b4323d4db969bafa3f8c53515ace07462a9e7fc..6a87d209839300d60069440654a4c944c8c20671 100644 --- a/collections/fm.eventclassificationrules/Network/MPLS/LSP_Down_SNMP.json +++ b/collections/fm.eventclassificationrules/Network/MPLS/LSP_Down_SNMP.json @@ -12,14 +12,14 @@ }, { "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", - "value_re": "^MPLS-MIB::mplsLspInfoDown$" + "value_re": "^MPLS-MIB::(mplsLspInfoDown|mplsLspDown)$" }, { - "key_re": "^MPLS-MIB::mplsLspInfoName\\.\\.+$", + "key_re": "^MPLS-MIB::(mplsLspInfoName|mplsLspName)\\.\\.+$", "value_re": "^(?P.+)$" }, { - "key_re": "^MPLS-MIB::mplsPathInfoName\\.\\.+$", + "key_re": "^MPLS-MIB::(mplsPathInfoName|mplsPathName)\\.\\.+$", "value_re": "^(?P.+)$" } ] diff --git a/collections/fm.eventclassificationrules/Network/MPLS/LSP_Up_SNMP.json b/collections/fm.eventclassificationrules/Network/MPLS/LSP_Up_SNMP.json index 5e72137d6cfedff746c6631f4608921d2c312aac..bbd2e1963cd3107ba60bcd2c090fab41071ee624 100644 --- a/collections/fm.eventclassificationrules/Network/MPLS/LSP_Up_SNMP.json +++ b/collections/fm.eventclassificationrules/Network/MPLS/LSP_Up_SNMP.json @@ -12,14 +12,14 @@ }, { "key_re": "^SNMPv2-MIB::snmpTrapOID\\.0$", - "value_re": "^MPLS-MIB::mplsLspInfoUp$" + "value_re": "^MPLS-MIB::(mplsLspInfoUp|mplsLspUp)$" }, { - "key_re": "^MPLS-MIB::mplsLspInfoName\\.\\.+$", + "key_re": "^MPLS-MIB::(mplsLspInfoName|mplsLspName)\\.\\.+$", "value_re": "^(?P.+)$" }, { - "key_re": "^MPLS-MIB::mplsPathInfoName\\.\\.+$", + "key_re": "^MPLS-MIB::(mplsPathInfoName|mplsPathName)\\.\\.+$", "value_re": "^(?P.+)$" } ]