diff options
Diffstat (limited to 'templates/net/cisco_snmp/template_net_cisco_snmp.yaml')
-rw-r--r-- | templates/net/cisco_snmp/template_net_cisco_snmp.yaml | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/templates/net/cisco_snmp/template_net_cisco_snmp.yaml b/templates/net/cisco_snmp/template_net_cisco_snmp.yaml index c4ab9cfadb6..970d352e5f4 100644 --- a/templates/net/cisco_snmp/template_net_cisco_snmp.yaml +++ b/templates/net/cisco_snmp/template_net_cisco_snmp.yaml @@ -1,13 +1,16 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:25Z' groups: - + uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules - + uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' templates: - + uuid: 51af5cf9312b41d38ab22e02c9af6bbc template: 'Cisco CISCO-ENVMON-MIB SNMP' name: 'Cisco CISCO-ENVMON-MIB SNMP' description: | @@ -22,6 +25,7 @@ zabbix_export: name: Templates/Modules discovery_rules: - + uuid: 31e5f90d88574fa0a35664e2c6b51e98 name: 'FAN Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SENSOR_INFO},1.3.6.1.4.1.9.9.13.1.4.1.2]' @@ -30,6 +34,7 @@ zabbix_export: description: 'The table of fan status maintained by the environmental monitor.' item_prototypes: - + uuid: 62a05225a1634d7486fab92cf100544e name: '{#SENSOR_INFO}: Fan status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.13.1.4.1.3.{#SNMPINDEX}' @@ -46,12 +51,14 @@ zabbix_export: value: Fans trigger_prototypes: - + uuid: f404fa64ee3c40dd87526b6e922b0715 expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1' name: '{#SENSOR_INFO}: Fan is in critical state' opdata: 'Current state: {ITEM.LASTVALUE1}' priority: AVERAGE description: 'Please check the fan unit' - + uuid: 0e09c5b691374639b4cbfd9073402f88 expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"warning\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"notFunctioning\"}")=1' name: '{#SENSOR_INFO}: Fan is in warning state' opdata: 'Current state: {ITEM.LASTVALUE1}' @@ -62,6 +69,7 @@ zabbix_export: name: '{#SENSOR_INFO}: Fan is in critical state' expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1' - + uuid: 932817396a5b47f29af28e439711ef59 name: 'PSU Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SENSOR_INFO},1.3.6.1.4.1.9.9.13.1.5.1.2]' @@ -70,6 +78,7 @@ zabbix_export: description: 'The table of power supply status maintained by the environmental monitor card.' item_prototypes: - + uuid: d500235d63ca41888585d267a7d82e2a name: '{#SENSOR_INFO}: Power supply status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.13.1.5.1.3.{#SNMPINDEX}' @@ -86,12 +95,14 @@ zabbix_export: value: 'Power supply' trigger_prototypes: - + uuid: 97cc3af1a88746b3847a196c1091a910 expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1' name: '{#SENSOR_INFO}: Power supply is in critical state' opdata: 'Current state: {ITEM.LASTVALUE1}' priority: AVERAGE description: 'Please check the power supply unit for errors' - + uuid: 503f176185df46e29a98f9e9dc29ef42 expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1' name: '{#SENSOR_INFO}: Power supply is in warning state' opdata: 'Current state: {ITEM.LASTVALUE1}' @@ -102,6 +113,7 @@ zabbix_export: name: '{#SENSOR_INFO}: Power supply is in critical state' expression: 'count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco CISCO-ENVMON-MIB SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1' - + uuid: e61bb682818b4f31a669acd31335160c name: 'Temperature Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.13.1.3.1.2]' @@ -112,6 +124,7 @@ zabbix_export: maintained by the environmental monitor. item_prototypes: - + uuid: 72f0970a636d44278b75f30a1dabfeb8 name: '{#SNMPVALUE}: Temperature status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.13.1.3.1.6.{#SNMPINDEX}' @@ -129,6 +142,7 @@ zabbix_export: tag: Application value: Temperature - + uuid: 4859221e53d7485485db1c9060d7f705 name: '{#SNMPVALUE}: Temperature' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.13.1.3.1.3.{#SNMPINDEX}' @@ -145,6 +159,7 @@ zabbix_export: value: Temperature trigger_prototypes: - + uuid: 8159958d04a84507b5d5e2f1baefb948 expression: 'avg(/Cisco CISCO-ENVMON-MIB SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'min(/Cisco CISCO-ENVMON-MIB SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}+3' @@ -153,6 +168,7 @@ zabbix_export: priority: AVERAGE trigger_prototypes: - + uuid: db3a2b24c4014e8e9a992a66898ce4e0 expression: | avg(/Cisco CISCO-ENVMON-MIB SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"} or @@ -166,6 +182,7 @@ zabbix_export: priority: HIGH description: 'This trigger uses temperature sensor values as well as temperature sensor status if available' - + uuid: 1e9f13790a1f451da9577ab2db9ccc53 expression: | avg(/Cisco CISCO-ENVMON-MIB SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SNMPVALUE}"} or @@ -237,6 +254,7 @@ zabbix_export: value: '2' valuemaps: - + uuid: 96da9a43fa60420696714c57d3e72f13 name: 'CISCO-ENVMON-MIB::CiscoEnvMonState' mappings: - @@ -258,6 +276,7 @@ zabbix_export: value: '6' newvalue: notFunctioning - + uuid: d7c122cde75447248d4b1613cdc25d5b template: 'Cisco CISCO-MEMORY-POOL-MIB SNMP' name: 'Cisco CISCO-MEMORY-POOL-MIB SNMP' description: | @@ -272,6 +291,7 @@ zabbix_export: name: Templates/Modules discovery_rules: - + uuid: d84cfe9db46d49c8971317f7e09d9537 name: 'Memory Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.48.1.1.1.2]' @@ -282,6 +302,7 @@ zabbix_export: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html item_prototypes: - + uuid: a88a818dfdf743408698d7a45bc29edc name: '{#SNMPVALUE}: Free memory' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}' @@ -297,6 +318,7 @@ zabbix_export: tag: Application value: Memory - + uuid: 32d6bbb06c624f9e9a236fb53507948c name: '{#SNMPVALUE}: Used memory' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}' @@ -312,6 +334,7 @@ zabbix_export: tag: Application value: Memory - + uuid: 5065203cb8244befadc54cdb004d4b40 name: '{#SNMPVALUE}: Memory utilization' type: CALCULATED key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]' @@ -326,12 +349,14 @@ zabbix_export: value: Memory trigger_prototypes: - + uuid: eb241250ee984ac3a8e79c1fe57d2b13 expression: 'min(/Cisco CISCO-MEMORY-POOL-MIB SNMP/vm.memory.util[vm.memory.util.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}' name: '{#SNMPVALUE}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)' priority: AVERAGE description: 'The system is running out of free memory.' graph_prototypes: - + uuid: 754f4378d0fb43c288e891285efee8a5 name: '{#SNMPVALUE}: Memory utilization' ymin_type_1: FIXED ymax_type_1: FIXED @@ -347,6 +372,7 @@ zabbix_export: macro: '{$MEMORY.UTIL.MAX}' value: '90' - + uuid: 3eadb8a2ad4a479cb59bfa6402deee3f template: 'Cisco CISCO-PROCESS-MIB IOS versions 12.0_3_T-12.2_3.5 SNMP' name: 'Cisco CISCO-PROCESS-MIB IOS versions 12.0_3_T-12.2_3.5 SNMP' description: | @@ -361,6 +387,7 @@ zabbix_export: name: Templates/Modules discovery_rules: - + uuid: 372b5656330f41d18ccf99ca89fa8504 name: 'CPU Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.109.1.1.1.1.5]' @@ -374,6 +401,7 @@ zabbix_export: In case of a single CPU, cpmCPUTotalTable has only one entry. item_prototypes: - + uuid: b7a375f679024cb990ae97933e5f77d6 name: '{#SNMPVALUE}: CPU utilization' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.109.1.1.1.1.5.{#SNMPINDEX}' @@ -396,6 +424,7 @@ zabbix_export: value: CPU trigger_prototypes: - + uuid: 99d6ce6dfa1d474fbfae5b83c6479e8e expression: 'min(/Cisco CISCO-PROCESS-MIB IOS versions 12.0_3_T-12.2_3.5 SNMP/system.cpu.util[cpmCPUTotal5min.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}' name: '{#SNMPVALUE}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)' opdata: 'Current utilization: {ITEM.LASTVALUE1}' @@ -403,6 +432,7 @@ zabbix_export: description: 'CPU utilization is too high. The system might be slow to respond.' graph_prototypes: - + uuid: 8e045ff24e564afc9a55d4bd08529d22 name: '{#SNMPVALUE}: CPU utilization' ymin_type_1: FIXED ymax_type_1: FIXED @@ -418,6 +448,7 @@ zabbix_export: macro: '{$CPU.UTIL.CRIT}' value: '90' - + uuid: f934f5e71db642c689ed2f945f73ce6c template: 'Cisco CISCO-PROCESS-MIB SNMP' name: 'Cisco CISCO-PROCESS-MIB SNMP' description: | @@ -432,6 +463,7 @@ zabbix_export: name: Templates/Modules discovery_rules: - + uuid: dc4773499a1d419caa5c2c96bd4afb7b name: 'CPU Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.109.1.1.1.1.5]' @@ -445,6 +477,7 @@ zabbix_export: In case of a single CPU, cpmCPUTotalTable has only one entry. item_prototypes: - + uuid: 884048f6fc414188b58341ecaca9aea3 name: '#{#SNMPINDEX}: CPU utilization' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}' @@ -463,6 +496,7 @@ zabbix_export: value: CPU trigger_prototypes: - + uuid: cf98ae5c5f7e4ea1a902005062414e1d expression: 'min(/Cisco CISCO-PROCESS-MIB SNMP/system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}' name: '#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)' opdata: 'Current utilization: {ITEM.LASTVALUE1}' @@ -470,6 +504,7 @@ zabbix_export: description: 'CPU utilization is too high. The system might be slow to respond.' graph_prototypes: - + uuid: 6fed03a2555949178f96550fcdb449ca name: '#{#SNMPINDEX}: CPU utilization' ymin_type_1: FIXED ymax_type_1: FIXED @@ -485,6 +520,7 @@ zabbix_export: macro: '{$CPU.UTIL.CRIT}' value: '90' - + uuid: 90c99055648f40df8517005a7670158c template: 'Cisco Inventory SNMP' name: 'Cisco Inventory SNMP' description: | @@ -500,6 +536,7 @@ zabbix_export: name: Templates/Modules items: - + uuid: edb172996a954eb986c97bcfee052a36 name: 'Hardware model name' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.47.1.1.1.1.13.1 @@ -520,6 +557,7 @@ zabbix_export: tag: Application value: Inventory - + uuid: 3b54e3692fe643e99704767f9a58a1c2 name: 'Hardware serial number' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.47.1.1.1.1.11.1 @@ -541,12 +579,14 @@ zabbix_export: value: Inventory triggers: - + uuid: 2870574500184ba7ae783bd5b051f946 expression: '(last(/Cisco Inventory SNMP/system.hw.serialnumber,#1)<>last(/Cisco Inventory SNMP/system.hw.serialnumber,#2))=1 and length(last(/Cisco Inventory SNMP/system.hw.serialnumber))>0' name: 'Device has been replaced (new serial number received)' priority: INFO description: 'Device serial number has changed. Ack to close' manual_close: 'YES' - + uuid: 51b1c178adff415bbe36a4363d6e06c1 name: 'Operating system' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.1.1.0 @@ -573,6 +613,7 @@ zabbix_export: value: Inventory triggers: - + uuid: f7b175a60a1540cb9b02c45917362d9e expression: '(last(/Cisco Inventory SNMP/system.sw.os[sysDescr.0],#1)<>last(/Cisco Inventory SNMP/system.sw.os[sysDescr.0],#2))=1 and length(last(/Cisco Inventory SNMP/system.sw.os[sysDescr.0]))>0' name: 'Operating system description has changed' priority: INFO @@ -580,6 +621,7 @@ zabbix_export: manual_close: 'YES' discovery_rules: - + uuid: 0908cfd197214f6c8092bbd426ef83bf name: 'Entity Serial Numbers Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#ENT_CLASS},1.3.6.1.2.1.47.1.1.1.1.5,{#ENT_NAME},1.3.6.1.2.1.47.1.1.1.1.7,{#ENT_SN},1.3.6.1.2.1.47.1.1.1.1.11]' @@ -598,6 +640,7 @@ zabbix_export: formulaid: A item_prototypes: - + uuid: 3a6277e70ce6448b857bfc170ded8542 name: '{#ENT_NAME}: Hardware serial number' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}' @@ -618,12 +661,14 @@ zabbix_export: value: Inventory trigger_prototypes: - + uuid: 0de96646852d454980fc9683cfa59ede expression: '(last(/Cisco Inventory SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#1)<>last(/Cisco Inventory SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#2))=1 and length(last(/Cisco Inventory SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]))>0' name: '{#ENT_NAME}: Device has been replaced (new serial number received)' priority: INFO description: 'Device serial number has changed. Ack to close' manual_close: 'YES' - + uuid: 1bb42fbdb9054645a62ff81f14ba3b99 template: 'Cisco IOS prior to 12.0_3_T SNMP' name: 'Cisco IOS prior to 12.0_3_T SNMP' description: | @@ -645,6 +690,7 @@ zabbix_export: - name: 'Templates/Network devices' - + uuid: aa3ce9bd8c1d40a2b0f83f9e642e88ee template: 'Cisco IOS SNMP' name: 'Cisco IOS SNMP' description: | @@ -676,6 +722,7 @@ zabbix_export: - name: 'Templates/Network devices' - + uuid: 40c233aaa3424fd29dc378022ff3461d template: 'Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP' name: 'Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP' description: | @@ -699,6 +746,7 @@ zabbix_export: - name: 'Templates/Network devices' - + uuid: 1b0025aaf71f47ec91d08c17a399c6a6 template: 'Cisco OLD-CISCO-CPU-MIB SNMP' name: 'Cisco OLD-CISCO-CPU-MIB SNMP' description: | @@ -713,6 +761,7 @@ zabbix_export: name: Templates/Modules items: - + uuid: 1b8784537cc04a939b8ceb26a5d3b5a1 name: 'CPU utilization' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.9.2.1.58 @@ -731,6 +780,7 @@ zabbix_export: value: CPU triggers: - + uuid: 9d97a750d01b48a7b937e3d7a8e8551e expression: 'min(/Cisco OLD-CISCO-CPU-MIB SNMP/system.cpu.util[avgBusy5],5m)>{$CPU.UTIL.CRIT}' name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)' opdata: 'Current utilization: {ITEM.LASTVALUE1}' @@ -742,6 +792,7 @@ zabbix_export: value: '90' graphs: - + uuid: c998de5517bd45f19719dbe7d6cb371e name: 'CPU utilization' ymin_type_1: FIXED ymax_type_1: FIXED |