zabbix_export: version: '6.0' date: '2021-11-21T21:50:58Z' groups: - uuid: 9d4d85c657ab4c6aaeecceba392d2988 name: 'Network Appliance' - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: fca5ba76a0844fd8908368c17fd839c5 template: 'SNMP OfficeConnect 19XX' name: 'SNMP OfficeConnect 19XX' description: | ## Overview SNMPV2 Works on Office Connect Switches 1910 1920 1950 Low Level Discovery for: * CPU * Fan Status * Interfaces (Ports) - includes Rx/Tx/Errors/Status * Mac Address * Memory Stats * PSU * Tempature Sensors * Entity - includes Serial Number, Model Name, Firmware, Hardware revision, OS ## Author Union College groups: - name: 'Network Appliance' - name: Templates items: - uuid: 663945bb998a4598b77dc6b89beb0289 name: Uptime type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.1.3.0 key: Uptime delay: '60' history: 7d trends: 90d units: s preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: General triggers: - uuid: 997e1a1a8bd948db953955df229da49d expression: 'last(/SNMP OfficeConnect 19XX/Uptime)<600' name: '{HOST.NAME} has just been restarted' priority: AVERAGE discovery_rules: - uuid: 8e36a7c5cc044ad593b46a03fa87d45b name: CPU type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.2.6.1.1.1.1.6]' key: cpu.discovery delay: '3600' filter: conditions: - macro: '{#SNMPVALUE}' value: '[^0]' formulaid: A lifetime: 7d item_prototypes: - uuid: e89b1eaf22f1427085516b96fb07be25 name: 'CPU Percent Utilization' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.6.{#SNMPINDEX}' key: 'cpu[{#SNMPINDEX}]' delay: '30' history: 7d trends: 90d tags: - tag: Application value: General trigger_prototypes: - uuid: 0063da959b304a2180d4341064add229 expression: 'last(/SNMP OfficeConnect 19XX/cpu[{#SNMPINDEX}])>85' name: 'CPU too high' priority: HIGH - uuid: cb8bebcbac064681a67cd0746616635f name: 'Entity 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]' key: entity.discovery delay: '3600' filter: conditions: - macro: '{#ENT_CLASS}' value: '3' formulaid: A item_prototypes: - uuid: 29f9dfb6e36f48a69ba7d6aef8e0c0f8 name: 'Firmware version' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.9.{#SNMPINDEX}' key: 'system.hw.firmware[entPhysicalFirmwareRev.{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: fb3249229ca1414eb5e7336ce2122f7c name: 'Hardware model name' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.2.{#SNMPINDEX}' key: 'system.hw.model[entPhysicalDescr.{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: f72971730b7a4dfcb4ca4945374887f9 name: 'Hardware serial number' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}' key: 'system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: feb26fdfdeda404ea7e40e90a29c1ae8 name: 'Hardware version(revision)' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.8.{#SNMPINDEX}' key: 'system.hw.version[entPhysicalHardwareRev.{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: 5f30f89f8d004560810eafe5f4bd2a55 name: 'Operating system' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.47.1.1.1.1.10.{#SNMPINDEX}' key: 'system.sw.os[entPhysicalSoftwareRev.{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: 9b262043f0574c4db7dba34971fe745f name: 'Fan 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_DESCR},1.3.6.1.2.1.47.1.1.1.1.2]' key: fan.discovery delay: '3600' filter: conditions: - macro: '{#ENT_CLASS}' value: '7' formulaid: A lifetime: 7d description: 'Discovering all entities of PhysicalClass - 7: fan(7)' item_prototypes: - uuid: 32f6e617a3794f119838e7d6336da85a name: '{#ENT_NAME}: Fan status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.19.{#SNMPINDEX}' key: 'sensor.fan.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d description: | MIB: HH3C-ENTITY-EXT-MIB Indicate the error state of this entity object. fanError(41) means that the fan stops working. tags: - tag: Application value: Fans trigger_prototypes: - uuid: 98094ea511604afa88e975fddb3266ce expression: | count(/SNMP OfficeConnect 19XX/sensor.fan.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}],#1,,"41")=1 or count(/SNMP OfficeConnect 19XX/sensor.fan.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}],#1,,"91")=1 name: '{#ENT_NAME}: Fan is in critical state' priority: HIGH description: | 41 = Fan Error 91 = Hardware Faulty - uuid: 4a111c3f3b6b42bcb22ea4c9def6680d name: Interfaces type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},IF-MIB::ifDescr]' key: interfaces.discovery delay: '3600' status: DISABLED filter: conditions: - macro: '{#SNMPVALUE}' value: Ten formulaid: A - macro: '{#SNMPVALUE}' value: Gigabit formulaid: B lifetime: 7d item_prototypes: - uuid: 6ddb089d820e4b3eaaf8e9e9e2ff99ec name: 'In Errors {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}' key: 'ifInErrors[{#SNMPINDEX}]' delay: '30' history: 7d trends: 90d tags: - tag: Application value: 'CRC Errors Rx' trigger_prototypes: - uuid: 53530f0f8f654228a0f0e9eafbc76737 expression: 'last(/SNMP OfficeConnect 19XX/ifInErrors[{#SNMPINDEX}])>100' name: 'CRC Errors RX on {#SNMPINDEX}' priority: WARNING - uuid: 931744adaf744c1ebece337cab8a63dc name: 'Incoming traffic on interface {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifInOctets.{#SNMPINDEX}' key: 'ifInOctets[{#SNMPVALUE}]' delay: '10' units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: 'Bytes Rx' - uuid: ed4a1d345b924bb2b6269e2105cf2da9 name: 'Status Port {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}' key: 'ifOperStatus[{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d tags: - tag: Application value: 'Port Status' - uuid: c5a6f62d0b8142f6ada2d7c2a6914136 name: 'Out Errors {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}' key: 'ifOutErrors[{#SNMPINDEX}]' delay: '30' history: 7d trends: 90d tags: - tag: Application value: 'CRC Errors Tx' trigger_prototypes: - uuid: 64644b62ff0c4b15b840f5a1895d9cbc expression: 'last(/SNMP OfficeConnect 19XX/ifOutErrors[{#SNMPINDEX}])>100' name: 'CRC Errors TX on {#SNMPINDEX}' priority: WARNING - uuid: 4372187fb15041e89c538a0ff2800dd3 name: 'Outgoing traffic on interface {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifOutOctets.{#SNMPINDEX}' key: 'ifOutOctets[{#SNMPVALUE}]' delay: '10' units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: 'Bytes Tx' graph_prototypes: - uuid: ddb87447291c4a058f16ab9033408f0f name: 'Traffic on interface {#SNMPINDEX}' width: '300' graph_items: - color: 1A7C11 item: host: 'SNMP OfficeConnect 19XX' key: 'ifInOctets[{#SNMPVALUE}]' - sortorder: '1' color: F63100 item: host: 'SNMP OfficeConnect 19XX' key: 'ifOutOctets[{#SNMPVALUE}]' - uuid: 60194774fba24789abdff67ee7ac7c04 name: 'Mac Address' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.2.6.1.1.1.1.18]' key: macaddress.discovery delay: '3600' filter: conditions: - macro: '{#SNMPVALUE}' value: '[^00 ]' formulaid: A lifetime: 7d item_prototypes: - uuid: a07df03b40864571a946e60c1e810588 name: 'Base MAC Address' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.18.{#SNMPINDEX}' key: 'macaddress[{#SNMPINDEX}]' delay: '86400' history: 7d trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: 78b97b4d4cd04ab3a561a351b8b6d246 name: 'Memory Useage' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.2.6.1.1.1.1.8]' key: memoryusage.discovery delay: '3600' filter: conditions: - macro: '{#SNMPVALUE}' value: '[^0]' formulaid: A lifetime: 7d item_prototypes: - uuid: ed13f9ceff4e4ca2bf32509c55e850bd name: 'Memory Total' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.10.{#SNMPINDEX}' key: 'memory.total[{#SNMPINDEX}]' delay: '86400' history: 7d trends: 90d units: B tags: - tag: Application value: General - uuid: 8aab1d73b1464b7083bc3b3e7ecbd78c name: 'Memory Useage' type: CALCULATED key: 'memoryusage.calc[{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d units: B params: 'last(//memory.total[{#SNMPINDEX}])*last(//memoryusage.perc[{#SNMPINDEX}])*0.01' tags: - tag: Application value: General - uuid: fa14d648bad446eead555a055339059b name: 'Memory Usage %' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.8.{#SNMPINDEX}' key: 'memoryusage.perc[{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d tags: - tag: Application value: General trigger_prototypes: - uuid: 151fa2b5b26a41baa2e5398be2767153 expression: 'avg(/SNMP OfficeConnect 19XX/memoryusage.perc[{#SNMPINDEX}],15m)>80' name: 'Low free memory on {HOST.NAME}' priority: AVERAGE - uuid: cc87c008dca5429c825f843bdc32ccd4 name: 'PSU 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_DESCR},1.3.6.1.2.1.47.1.1.1.1.2]' key: psu.discovery delay: '3600' filter: conditions: - macro: '{#ENT_CLASS}' value: '6' formulaid: A lifetime: 7d description: 'Discovering all entities of PhysicalClass - 6: powerSupply(6)' item_prototypes: - uuid: 2236cce42f484f09bba6d5e713a61056 name: '{#ENT_NAME}: Power supply status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.19.{#SNMPINDEX}' key: 'sensor.psu.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d description: | MIB: HH3C-ENTITY-EXT-MIB Indicate the error state of this entity object. psuError(51) means that the Power Supply Unit is in the state of fault. rpsError(61) means the Redundant Power Supply is in the state of fault. tags: - tag: Application value: 'Power Supply' trigger_prototypes: - uuid: 79e4c9587dba4e16a4968424e8068c54 expression: 'count(/SNMP OfficeConnect 19XX/sensor.psu.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}],#1,"eq","51")=1 or count(/SNMP OfficeConnect 19XX/sensor.psu.status[hh3cEntityExtErrorStatus.{#SNMPINDEX}],#1,"eq","61")=1' name: '{#ENT_NAME}: Power supply is in critical state' priority: DISASTER - uuid: b4d4395bb9c44e9a9094280fe2c0c69f name: 'Temperature Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.47.1.1.1.1.2,{#MODULE_NAME},1.3.6.1.2.1.47.1.1.1.1.7]' key: temp.discovery delay: '3600' filter: evaltype: OR conditions: - macro: '{#SNMPVALUE}' value: SENSOR formulaid: A lifetime: 7d description: 'Discovering modules temperature (same filter as in Module Discovery) plus and temperature sensors' item_prototypes: - uuid: b58b9bd265a34b2b8390beb7e2bfe800 name: '{#MODULE_NAME}: Temperature °C' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.25506.2.6.1.1.1.1.12.{#SNMPINDEX}' key: 'sensor.temp.value[hh3cEntityExtTemperature.{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d units: °C description: | MIB: HH3C-ENTITY-EXT-MIB The temperature for the {#MODULE_NAME}. tags: - tag: Application value: Temperature trigger_prototypes: - uuid: 78cf9b9ac95a4b4eb702e96b8d12c657 expression: 'last(/SNMP OfficeConnect 19XX/sensor.temp.value[hh3cEntityExtTemperature.{#SNMPINDEX}])>50' name: '{#SNMPVALUE}: Temp to high' priority: HIGH - uuid: 894c2dc5855d4e09899a92e4d7ca6e38 name: '{#MODULE_NAME}: Temperature °F' type: CALCULATED key: 'sensor.tempf.value[hh3cEntityExtTemperature.{#SNMPINDEX}]' delay: '60' history: 7d trends: 90d units: °F params: '32+9/5*last(//sensor.temp.value[hh3cEntityExtTemperature.{#SNMPINDEX}])' description: | MIB: HH3C-ENTITY-EXT-MIB The temperature for the {#MODULE_NAME}. tags: - tag: Application value: Temperature