zabbix_export: version: '6.0' date: '2021-11-21T21:20:52Z' groups: - uuid: a7e22a23386d4a5e94e51d50661eac7a name: ZBX-BROCADE-FC-TEMPLATES templates: - uuid: 48506acc088f46478dcedbd663f4eff9 template: KHP-BROCADE-FC-PORT name: KHP-BROCADE-FC-PORT groups: - name: ZBX-BROCADE-FC-TEMPLATES discovery_rules: - uuid: a968b482f9be4ecaaa7b6a0d9f0d6b8c name: Interface type: SNMP_AGENT snmp_oid: 'IF-MIB::ifDescr' key: ifDescr delay: '300' filter: conditions: - macro: '{#SNMPVALUE}' value: / formulaid: A lifetime: 7d item_prototypes: - uuid: 0bd49b795d32484a81e8ed23acf58b7b name: 'Incoming traffic on $1' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifInOctets.{#SNMPINDEX}' key: 'ifInOctets[{#SNMPVALUE}]' delay: '60' history: 7d units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Port(s) - uuid: 40c38b0df0db426281251e9ea8d77dad name: 'Outgoing traffic on $1' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifOutOctets.{#SNMPINDEX}' key: 'ifOutOctets[{#SNMPVALUE}]' delay: '60' history: 7d units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Port(s) graph_prototypes: - uuid: 315faa6d412448e0bb2e98b01ac0617d name: 'Port {#SNMPVALUE} - Traffic (bits/sec, 95th Percentile)' percent_left: '0.95' graph_items: - drawtype: FILLED_REGION color: 00CF00 item: host: KHP-BROCADE-FC-PORT key: 'ifInOctets[{#SNMPVALUE}]' - sortorder: '1' drawtype: BOLD_LINE color: 002A97 item: host: KHP-BROCADE-FC-PORT key: 'ifOutOctets[{#SNMPVALUE}]' - uuid: c850734f2cfb4abdaafba72e315b2a04 name: 'FiberChannel Ports' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},SW-MIB::swFCPortIndex]' key: swFCPortIndex delay: '300' lifetime: 7d item_prototypes: - uuid: 1c5435bb141a4dabaeb5e5d8261f859e name: 'Admin status of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortAdmStatus.{#SNMPINDEX}' key: 'swFcPortAdmStatus[{#SNMPVALUE}]' delay: '300' history: 7d description: '"The desired state of the port. A management station may place the port in a desired state by setting this object accordingly. The testing(3) state indicates that no user frames can be passed. As the result of either explicit management action or per configuration information accessible by the switch, swFCPortAdmStatus is then changed to either the online(1) or testing(3) states, or remains in the offline(2) state."' valuemap: name: swFcPortStatus tags: - tag: Application value: Port(s) - uuid: 57fd16c786b94fe7b7a4ff9e50a814eb name: 'Description of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortName.{#SNMPINDEX}' key: 'swFCPortName[{#SNMPVALUE}]' delay: '300' history: 7d trends: '0' value_type: CHAR description: '"A string indicates the name of the addressed port. The names should be persistent across switch reboots. Port names do not have to be unique within a switch or within a fabric."' tags: - tag: Application value: Port(s) - uuid: 38c344e6ca2e410d8a44bf28c5f852d2 name: 'Operational status of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortOpStatus.{#SNMPINDEX}' key: 'swFCPortOpStatus[{#SNMPVALUE}]' delay: '300' history: 7d description: '"This object identifies the operational status of the port. The online(1) state indicates that user frames can be passed. The unknown(0) state indicates that likely the port module is physically absent (see swFCPortPhyState)."' valuemap: name: swFcPortStatus tags: - tag: Application value: Port(s) - uuid: 395653f27a8940feba8c30da615fbe8b name: 'Bad EOF delimited frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxBadEofs.{#SNMPINDEX}' key: 'swFCPortRxBadEofs[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of received frames that have bad EOF delimiter."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 92a830831f1b42029c8d769354eca174 name: 'Class2 frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxC2Frames.{#SNMPINDEX}' key: 'swFCPortRxC2Frames[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of Class 2 frames that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 0b00517c55f54d2eb6a08a3462180146 name: 'Class3 frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxC3Frames.{#SNMPINDEX}' key: 'swFCPortRxC3Frames[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of Class 3 frames that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 4201db9d24bf4f7aa0e2e071afbaffb3 name: 'CRC errors received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxCrcs.{#SNMPINDEX}' key: 'swFCPortRxCrcs[{#SNMPVALUE}]' delay: '300' history: 7d units: errors description: '"This object counts the number of CRC errors detected for frames received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 23bc22321ed04e8dbec49058d1cc9ed6 name: 'Encoding or disparity errors in frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxEncInFrs.{#SNMPINDEX}' key: 'swFCPortRxEncInFrs[{#SNMPVALUE}]' delay: '300' history: 7d units: errors description: '"This object counts the number of encoding error or disparity error inside frames received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: b8ae45913c0e45e0b942ea5d586a7d18 name: 'Disparity errors received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxEncOutFrs.{#SNMPINDEX}' key: 'swFCPortRxEncOutFrs[{#SNMPVALUE}]' delay: '300' history: 7d units: errors description: '"This object counts the number of encoding error or disparity error outside frames received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 6c814017d13f4c608504b594fcb046c3 name: 'Frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxFrames.{#SNMPINDEX}' key: 'swFCPortRxFrames[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of (Fibre Channel) frames that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 8134b10dee17492497725224770f5833 name: 'Multicast frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxMcasts.{#SNMPINDEX}' key: 'swFCPortRxMcasts[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of Multicast frames that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: c456c342f80d4cd7a9ada81a6956bccb name: 'Truncated too-long frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxTooLongs.{#SNMPINDEX}' key: 'swFCPortRxTooLongs[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of received frames that are too long."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 314cf9a79b8143f9a7eaa9148b9b8332 name: 'Truncated frames received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxTruncs.{#SNMPINDEX}' key: 'swFCPortRxTruncs[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of truncated frames that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: dd1db6bc432649b38f8457b66638e05a name: 'Words received on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortRxWords.{#SNMPINDEX}' key: 'swFCPortRxWords[{#SNMPVALUE}]' delay: '300' history: 7d units: words description: '"This object counts the number of Fibre Channel words that the port has received."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 155fc0ed82834ea88a445e1cf68bb884 name: 'Speed of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortSpeed.{#SNMPINDEX}' key: 'swFCPortSpeed[{#SNMPVALUE}]' delay: '300' history: 7d description: '"The desired baud rate for the port. It can have the values of 1GB (1), 2GB (2), Auto-Negotiate (3), 4GB (4), 8GB (5), 10GB (6), 16GB (8). Some of the above values may not be supported by all type of switches."' valuemap: name: swFcPortSpeed tags: - tag: Application value: Port(s) - uuid: c38f2d08aca54ce7a21174de15c3469d name: 'Frames transmitted on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortTxFrames.{#SNMPINDEX}' key: 'swFCPortTxFrames[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of (Fibre Channel) frames that the port has transmitted."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 5d04e66b6d5a4bcda5942511d76ed38f name: 'Multicast frames transmitted on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortTxMcasts.{#SNMPINDEX}' key: 'swFCPortTxMcasts[{#SNMPVALUE}]' delay: '300' history: 7d units: frames description: '"This object counts the number of Multicast frames that has been transmitted."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: 7a79d552ea57450cb5b17b82e057cc5d name: 'Transmitter type of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortTxType.{#SNMPINDEX}' key: 'swFCPortTxType[{#SNMPVALUE}]' delay: '300' history: 7d description: '"This object indicates the media transmitter type of the port. The value may be: unknown(1) cannot determined to the port driver lw(2) long wave laser sw(3) short wave laser ld(4) long wave LED cu(5) copper (electrical)."' valuemap: name: swFcPortTXType tags: - tag: Application value: Port(s) - uuid: 4fe8dede244048acb0b4b69b8e9e426e name: 'Words transmitted on port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortTxWords.{#SNMPINDEX}' key: 'swFCPortTxWords[{#SNMPVALUE}]' delay: '300' history: 7d units: words description: '"This object counts the number of Fibre Channel words that the port has transmitted."' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Port(s) - uuid: f1e0b3e17c804f7ea27383cb04c3357b name: 'WWN of port $1' type: SNMP_AGENT snmp_oid: 'SW-MIB::swFCPortWwn.{#SNMPINDEX}' key: 'swFCPortWwn[{#SNMPVALUE}]' delay: '300' history: 7d trends: '0' value_type: CHAR description: '"The World_wide_Name of the Fibre Channel port. The contents of an instance are in the IEEE extended format as specified in FC-PH; the 12-bit port identifier represents the port number within the switch."' tags: - tag: Application value: Port(s) trigger_prototypes: - uuid: 65da5cbf043a4a998ef0b4d804ffdc3e expression: 'last(/KHP-BROCADE-FC-PORT/swFCPortRxCrcs[{#SNMPVALUE}])>0 or avg(/KHP-BROCADE-FC-PORT/swFCPortRxBadEofs[{#SNMPVALUE}],1s)>0 or avg(/KHP-BROCADE-FC-PORT/swFCPortRxEncOutFrs[{#SNMPVALUE}],1s)>0 or avg(/KHP-BROCADE-FC-PORT/swFCPortRxTooLongs[{#SNMPVALUE}],1s)>0 or avg(/KHP-BROCADE-FC-PORT/swFCPortRxTruncs[{#SNMPVALUE}],1s)>0' name: 'Error(s) was detected on {#SNMPVALUE}' priority: AVERAGE - uuid: c5a2a84bb9a347668d30a3282068fec6 expression: 'last(/KHP-BROCADE-FC-PORT/swFcPortAdmStatus[{#SNMPVALUE}],#2)<1 and last(/KHP-BROCADE-FC-PORT/swFCPortOpStatus[{#SNMPVALUE}],#2)<>1' name: 'Operational status {HOST.NAME} has changed on port {#SNMPVALUE}' priority: AVERAGE graph_prototypes: - uuid: 8f59e9de90ad4723aea4c513a5e27ab8 name: 'Monitor port {#SNMPVALUE}' graph_items: - drawtype: BOLD_LINE color: 7EE600 item: host: KHP-BROCADE-FC-PORT key: 'swFCPortTxWords[{#SNMPVALUE}]' - sortorder: '1' drawtype: BOLD_LINE color: 6DC8FE item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxWords[{#SNMPVALUE}]' - sortorder: '2' drawtype: BOLD_LINE color: 009F67 yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortTxFrames[{#SNMPVALUE}]' - sortorder: '3' drawtype: BOLD_LINE color: 6557D0 yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxFrames[{#SNMPVALUE}]' - sortorder: '4' drawtype: BOLD_LINE color: FFCCCC yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortTxMcasts[{#SNMPVALUE}]' - sortorder: '5' drawtype: BOLD_LINE color: AFECED yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxMcasts[{#SNMPVALUE}]' - sortorder: '6' drawtype: BOLD_LINE color: 0000FF yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxC2Frames[{#SNMPVALUE}]' - sortorder: '7' drawtype: BOLD_LINE color: FFC73B yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxC3Frames[{#SNMPVALUE}]' - sortorder: '8' drawtype: BOLD_LINE color: 942D0C yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxBadEofs[{#SNMPVALUE}]' - sortorder: '9' drawtype: BOLD_LINE color: FF0000 yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxCrcs[{#SNMPVALUE}]' - sortorder: '10' drawtype: BOLD_LINE color: FF5576 yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxEncInFrs[{#SNMPVALUE}]' - sortorder: '11' drawtype: BOLD_LINE color: 008A6D yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxTooLongs[{#SNMPVALUE}]' - sortorder: '12' drawtype: BOLD_LINE color: CAF100 yaxisside: RIGHT item: host: KHP-BROCADE-FC-PORT key: 'swFCPortRxTruncs[{#SNMPVALUE}]' valuemaps: - uuid: bc071e26ec364404b93d2bc4ed1cc9bb name: swFcPortSpeed mappings: - value: '1' newvalue: '1 Gb' - value: '2' newvalue: '2 Gb' - value: '3' newvalue: Auto-Negotiate - value: '4' newvalue: '4 Gb' - value: '5' newvalue: '8 Gb' - value: '6' newvalue: '10 Gb' - value: '7' newvalue: unknown - value: '8' newvalue: '16 GB' - uuid: de2eb437ada94d57bab913322d8faafa name: swFcPortStatus mappings: - value: '0' newvalue: unknown - value: '1' newvalue: online - value: '2' newvalue: offline - value: '3' newvalue: testing - value: '4' newvalue: faulty - uuid: 296fce1db4234eb9ab22e74ea0a52b03 name: swFcPortTXType mappings: - value: '1' newvalue: unknown - value: '2' newvalue: 'long wave laser' - value: '3' newvalue: 'short wave laser' - value: '4' newvalue: 'long wave LED' - value: '5' newvalue: 'copper (electrical)'