zabbix_export: version: '6.0' date: '2021-11-21T21:24:13Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 9ecd11a2ecab4c0383518bc3d9f22de0 template: 'SNMP Brocade' name: 'SNMP Brocade' description: | ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger groups: - name: Templates items: - uuid: 9279ba120ab8496e962ade6a134954ea name: 'ICMP ping' type: SIMPLE key: icmpping delay: '60' history: 7d trends: 180d valuemap: name: 'Service state' tags: - tag: Application value: Ping triggers: - uuid: 6d436b469bc34af4ad86dbbcaf87b528 expression: 'max(/SNMP Brocade/icmpping,#3)=0' name: '{HOST.NAME} is unavailable by ICMP' priority: AVERAGE - uuid: 4142c4d940ff4503b75ff67cc212f987 name: 'ICMP loss' type: SIMPLE key: icmppingloss delay: '60' history: 7d trends: 180d value_type: FLOAT units: '%' tags: - tag: Application value: Ping triggers: - uuid: 72f673feb27e46eda91e1b5235f0dbcd expression: 'min(/SNMP Brocade/icmppingloss,5m)>20' name: 'Ping loss is too high on {HOST.NAME}' priority: WARNING dependencies: - name: '{HOST.NAME} is unavailable by ICMP' expression: 'max(/SNMP Brocade/icmpping,#3)=0' - uuid: 23126494647a4e5199bd6543c8355f1e name: 'ICMP response time' type: SIMPLE key: icmppingsec delay: '60' history: 7d trends: 180d value_type: FLOAT units: s tags: - tag: Application value: Ping triggers: - uuid: 5d0767569eee4a26a5d86c89b3c648a1 expression: 'avg(/SNMP Brocade/icmppingsec,5m)>0.30' name: 'Response time is too high on {HOST.NAME}' priority: WARNING dependencies: - name: '{HOST.NAME} is unavailable by ICMP' expression: 'max(/SNMP Brocade/icmpping,#3)=0' - uuid: 4a7ebe054ec142a8bcfff844b6e90f7d name: 'Number of network interfaces' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifNumber.0' key: ifNumber delay: '3600' history: 7d trends: 180d description: 'The number of network interfaces (regardless of their current state) present on this system.' tags: - tag: Application value: Interfaces - uuid: fa4bef2fac75447081afe7d6c9840bd3 name: 'Number of VLANs' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.17.7.1.1.4.0 key: ifVLAN delay: '3600' history: 7d trends: 180d description: 'The number of VLAN IDs include VLAN 1' tags: - tag: Application value: Interfaces - uuid: 8f933e2b6d6f41f1be508a1572be0865 name: 'CPU utilization' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.1991.1.1.2.11.1.1.5.1.1.1 key: snAgentCpuUtilPercent delay: '120' history: 7d trends: 180d description: 'The statistical CPU utilization in units of a percent.' tags: - tag: Application value: Performance - uuid: 4830a2d5142f4893bf60ad9a2132977a name: 'Memory Utilization' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.1991.1.1.2.1.53.0 key: snAgGblDynMemUtil delay: '120' history: 7d trends: 180d units: '%' description: | The system dynamic memory utilization, in unit of percentage. Deprecated:Refer to snAgSystemDRAMUtil tags: - tag: Application value: Performance - uuid: b1b62b780aaf4a859da329cb23120c31 name: Serialnumber type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.1991.1.1.1.1.2.0 key: snChasSerNum delay: '7200' history: 7d trends: 180d description: | The serial number of the chassis. If the serial number is unknown or unavailable then the value should be a zero length string. inventory_link: SERIALNO_A tags: - tag: Application value: General - uuid: 6cc0d3bf13144c07a7353c43784cfdcc name: 'Device contact details' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysContact.0' key: sysContact delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.' inventory_link: CONTACT tags: - tag: Application value: General - uuid: 70efa9b90c5f4338abf2c800f969ef3a name: 'Device description' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysDescr.0' key: sysDescr delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'A textual description of the entity. This value should include the full name and version identification of the system''s hardware type, software operating-system, and networking software.' inventory_link: HARDWARE tags: - tag: Application value: General - uuid: 05860c7448604bc99d143ecaaae2dab1 name: 'Device location' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysLocation.0' key: sysLocation delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'The physical location of this node (e.g., `telephone closet, 3rd floor''). If the location is unknown, the value is the zero-length string.' inventory_link: LOCATION tags: - tag: Application value: General - uuid: c8e5939af7d8407f94b0a3ca6f0fae10 name: 'Device name' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysName.0' key: sysName delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'An administratively-assigned name for this managed node. By convention, this is the node''s fully-qualified domain name. If the name is unknown, the value is the zero-length string.' inventory_link: NAME tags: - tag: Application value: General - uuid: 5b3974a90bd54c3f919d9323acd902fa name: 'Device uptime' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysUpTime.0' key: sysUpTime delay: '60' history: 7d trends: 180d units: uptime description: 'The time since the network management portion of the system was last re-initialized.' preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: General discovery_rules: - uuid: 7b5396a25b064f0ebb320cb815fc65d7 name: 'Temperatur sensors' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.1991.1.1.2.13.1.1.3]' key: snAgentTempSensorDescr delay: '3600' lifetime: 7d description: 'Describes the temperature sensor in a human readable form. This is the same as snAgentTempSensorId, which is numeric and used to traverse the temperature sensor table. The description provides the meaning and purpose of this senor.' item_prototypes: - uuid: e25389fcde944c14a12155f77281694e name: '{#SNMPVALUE} Chassi: {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.2.13.1.1.4.{#SNMPINDEX}' key: 'snAgentTempValue[{#SNMPINDEX}]' delay: '240' history: 7d trends: 180d value_type: FLOAT units: °C preprocessing: - type: MULTIPLIER parameters: - '0.5' tags: - tag: Application value: Temperature trigger_prototypes: - uuid: 56d1b3778ef0427089f87e18f4d60733 expression: 'last(/SNMP Brocade/snAgentTempValue[{#SNMPINDEX}])>{$CRITTEMP}' name: 'Temperature is > {$CRITTEMP} on {#SNMPVALUE} Chassi: {#SNMPINDEX}' priority: HIGH description: 'Temperature ist mire than {$CRITTEMP}' - uuid: 31a40765e295479a8391d0a9d17aca63 expression: 'last(/SNMP Brocade/snAgentTempValue[{#SNMPINDEX}])>{$WARNTEMP}' name: 'Temperature is > {$WARNTEMP} on {#SNMPVALUE} Chassi: {#SNMPINDEX}' priority: AVERAGE description: 'Temperature ist mire than {$WARNTEMP}' - uuid: 041651dabb39471fad2409027c4e580c name: 'power supply information' type: SNMP_AGENT snmp_oid: 'discovery[{#PWRSUPID},.1.3.6.1.4.1.1991.1.1.1.2.1.1.1]' key: snChasPwr.snChasPwrSupplyTable delay: '30' item_prototypes: - uuid: a8435672d49a4363a3bf635b535f11f3 name: 'Power Supply {#SNMPINDEX} Status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.1.2.1.1.3.{#SNMPINDEX}' key: 'snChasPwrSupplyDescription[{#SNMPINDEX}]' delay: '120' history: 7d trends: 180d valuemap: name: BrocadeStatus tags: - tag: Application value: 'Power Supply' trigger_prototypes: - uuid: c90b5371406c4abe97a94d73078b12a1 expression: '(last(/SNMP Brocade/snChasPwrSupplyDescription[{#SNMPINDEX}],#1)<>last(/SNMP Brocade/snChasPwrSupplyDescription[{#SNMPINDEX}],#2))=1' name: 'Operational status was changed on Power Supply {#PWRSUPID}' priority: AVERAGE description: 'The power supply operation has been changed' - uuid: d4268b988a6b4175b8e291b6c43d1e2c name: Fan type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.1991.1.1.1.3.1.1.2]' key: snChassis.snChasFan delay: '3600' lifetime: 7d description: 'Describes the temperature sensor in a human readable form. This is the same as snAgentTempSensorId, which is numeric and used to traverse the temperature sensor table. The description provides the meaning and purpose of this senor.' item_prototypes: - uuid: aa32566756f14dacaa9585ed24c99516 name: 'State of Fan Number {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.1.3.1.1.3.{#SNMPINDEX}' key: 'snChasFanOperStatus[{#SNMPINDEX}]' delay: '120' history: 7d trends: 180d valuemap: name: BrocadeStatus tags: - tag: Application value: Fan trigger_prototypes: - uuid: 8d434794c2b5445fb55ecc1ebddc7255 expression: 'last(/SNMP Brocade/snChasFanOperStatus[{#SNMPINDEX}])<>2' name: 'Fan Number {#SNMPINDEX} Failure' priority: AVERAGE macros: - macro: '{$CRITTEMP}' value: '100' - macro: '{$WARNTEMP}' value: '90' valuemaps: - uuid: 4cac83896efc47b3825ddd34af03b97f name: BrocadeStatus mappings: - value: '1' newvalue: other - value: '2' newvalue: normal - value: '3' newvalue: failure - uuid: 4e35849b6b044566a5239f31b1b19f5e name: 'Service state' mappings: - value: '0' newvalue: Down - value: '1' newvalue: Up - uuid: 01b74ed810e048199eda2c1b75efb1a2 template: 'SNMP Brocade-Copper' name: 'SNMP Brocade-Copper' description: | ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger groups: - name: Templates discovery_rules: - uuid: 71d352587e9a4daa855e61fc94821066 name: PortDiscover type: SNMP_AGENT snmp_oid: 'discovery[{#COPPER},.1.3.6.1.4.1.1991.1.1.3.3.5.1.9,{#IFDESCRCOP},.1.3.6.1.2.1.2.2.1.2,{#STATUS},.1.3.6.1.4.1.1991.1.1.3.3.5.1.11]' key: snSwIfInfoConnectorTypeCopper delay: '3600' filter: evaltype: FORMULA formula: '(A or B) and C' conditions: - macro: '{#COPPER}' value: '2' formulaid: A - macro: '{#FIBER}' value: '3' formulaid: B - macro: '{#STATUS}' value: '1' formulaid: C item_prototypes: - uuid: 532addfda65d4a2cbca40e5ede11e4f8 name: 'Inbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}' key: 'ifInErrors[{#IFDESCRCOP}]' delay: '60' history: 7d trends: 90d description: 'For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRCOP}' - uuid: 2768253a61924ae081fb1ef935ea75e6 name: 'Outbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}' key: 'ifOutErrors[{#IFDESCRCOP}]' delay: '60' history: 7d trends: 90d description: 'For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRCOP}' - uuid: 5464f43957604f9190f39e0381c1dde8 name: 'Incoming traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.46.{#SNMPINDEX}' key: 'snSwIfStatsInFrames[{#IFDESCRCOP}]' delay: '60' history: 7d trends: 90d units: bps description: 'The total number of packets transmitted out of the interface.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRCOP}' - uuid: 6ce9876e726244ca94da0f6bb3873ef1 name: 'Outgoing traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.47.{#SNMPINDEX}' key: 'snSwIfStatsOutFrames[{#IFDESCRCOP}]' delay: '60' history: 7d trends: 90d units: bps description: 'The total number of packets received on the interface.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRCOP}' - uuid: 0fb6c0c9d51b406cb73e44df3fd93515 name: 'Status of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.11.{#SNMPINDEX}' key: 'snSwPortInfoLinkStatus[{#IFDESCRCOP}]' delay: '60' history: 7d trends: 90d description: | The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. valuemap: name: 'SNMP interface status (ifOperStatus)' tags: - tag: Application value: '{#IFDESCRCOP}' trigger_prototypes: - uuid: 7b113fe29a7f480494a4f65a2b85815f expression: '(last(/SNMP Brocade-Copper/snSwPortInfoLinkStatus[{#IFDESCRCOP}],#1)<>last(/SNMP Brocade-Copper/snSwPortInfoLinkStatus[{#IFDESCRCOP}],#2))=1' name: 'Operational status was changed on {HOST.NAME} interface {#IFDESCRCOP}' priority: AVERAGE graph_prototypes: - uuid: 23dbf419bfaa4a28a1fd2c0656552fd2 name: 'In-/Output of Interface {#IFDESCRCOP}' graph_items: - color: FF3333 item: host: 'SNMP Brocade-Copper' key: 'ifInErrors[{#IFDESCRCOP}]' - sortorder: '1' color: 6666FF item: host: 'SNMP Brocade-Copper' key: 'snSwIfStatsInFrames[{#IFDESCRCOP}]' - sortorder: '2' color: '444444' item: host: 'SNMP Brocade-Copper' key: 'ifOutErrors[{#IFDESCRCOP}]' - sortorder: '3' color: 66FF66 item: host: 'SNMP Brocade-Copper' key: 'snSwIfStatsOutFrames[{#IFDESCRCOP}]' valuemaps: - uuid: cf6bd323342e4e20acf6664f0378a604 name: 'SNMP interface status (ifOperStatus)' mappings: - value: '1' newvalue: up - value: '2' newvalue: down - value: '3' newvalue: testing - value: '4' newvalue: unknown - value: '5' newvalue: dormant - value: '6' newvalue: notPresent - value: '7' newvalue: lowerLayerDown - uuid: 021b063cea534521987d33f92f19ee18 template: 'SNMP Brocade-Fiber' name: 'SNMP Brocade-Fiber' description: | ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger ## Overview Due OID/MIB limitations on Brocade side the trigger for PowerSupply based on diff(!!) not on "not normal", because not presents powersupplys will be marked as failure, so you will get some false positives triggers. Was tested on Brocade FCX/MLX/ICX and old FastIrons(Firmware >07.2.02eT7f1). It only discovered "UP"-ports. Discoveryrules for: temperatur, fan and power supply. every Port is an "Application" ## Author Stefan Krüger groups: - name: Templates discovery_rules: - uuid: 2064a38dec944c358b2df90b8a61f7d4 name: PortDiscover type: SNMP_AGENT snmp_oid: 'discovery[{#FIBER},.1.3.6.1.4.1.1991.1.1.3.3.5.1.9,{#IFDESCRFIB},.1.3.6.1.2.1.2.2.1.2]' key: snSwIfInfoConnectorTypeFiber delay: '3600' filter: evaltype: OR conditions: - macro: '{#COPPER}' value: '2' formulaid: A - macro: '{#FIBER}' value: '3' formulaid: B item_prototypes: - uuid: 8bdb50299ebf4a2d918f13fad10a3734 name: 'Inbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}' key: 'ifInErrors[{#IFDESCRFIB}]' delay: '60' history: 7d trends: 90d description: 'For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRFIB}' - uuid: 8693aa5a199b4c19928e0c73f04f7235 name: 'Outbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}' key: 'ifOutErrors[{#IFDESCRFIB}]' delay: '60' history: 7d trends: 90d description: 'For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRFIB}' - uuid: 2a8b7572427a46b7bdabd80ad246bc3b name: 'Incoming traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.46.{#SNMPINDEX}' key: 'snSwIfStatsInFrames[{#IFDESCRFIB}]' delay: '60' history: 7d trends: 90d units: bps description: 'The total number of packets transmitted out of the interface.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRFIB}' - uuid: e0357b25f75444fcb03acb8d4b62768a name: 'Outgoing traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.47.{#SNMPINDEX}' key: 'snSwIfStatsOutFrames[{#IFDESCRFIB}]' delay: '60' history: 7d trends: 90d units: bps description: 'The total number of packets received on the interface.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: '{#IFDESCRFIB}' - uuid: 6d0b520ea9cb452c869f60c8cb1809b6 name: 'Status of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.1991.1.1.3.3.5.1.11.{#SNMPINDEX}' key: 'snSwPortInfoLinkStatus[{#IFDESCRFIB}]' delay: '60' history: 7d trends: 90d description: | The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. valuemap: name: 'SNMP interface status (ifOperStatus)' tags: - tag: Application value: '{#IFDESCRFIB}' trigger_prototypes: - uuid: 030da5b47c6e4cefbaf802fc8ccb9d4b expression: '(last(/SNMP Brocade-Fiber/snSwPortInfoLinkStatus[{#IFDESCRFIB}],#1)<>last(/SNMP Brocade-Fiber/snSwPortInfoLinkStatus[{#IFDESCRFIB}],#2))=1' name: 'Operational status was changed on {HOST.NAME} interface {#IFDESCRFIB}' priority: AVERAGE graph_prototypes: - uuid: ab965acf9beb4413824534b8435eb706 name: 'In-/Output of Interface {#IFDESCRFIB}' graph_items: - color: FF3333 item: host: 'SNMP Brocade-Fiber' key: 'ifInErrors[{#IFDESCRFIB}]' - sortorder: '1' color: 6666FF item: host: 'SNMP Brocade-Fiber' key: 'snSwIfStatsInFrames[{#IFDESCRFIB}]' - sortorder: '2' color: '444444' item: host: 'SNMP Brocade-Fiber' key: 'ifOutErrors[{#IFDESCRFIB}]' - sortorder: '3' color: 66FF66 item: host: 'SNMP Brocade-Fiber' key: 'snSwIfStatsOutFrames[{#IFDESCRFIB}]' valuemaps: - uuid: df8db0b98d6a47f99a669c95983b6c7d name: 'SNMP interface status (ifOperStatus)' mappings: - value: '1' newvalue: up - value: '2' newvalue: down - value: '3' newvalue: testing - value: '4' newvalue: unknown - value: '5' newvalue: dormant - value: '6' newvalue: notPresent - value: '7' newvalue: lowerLayerDown