zabbix_export: version: '6.0' date: '2021-11-21T21:36:04Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 084037afb3c84f3b88b6fb08935b76ea template: 'GM DDMI' name: 'GM DDMI' description: | ## Description Monitor HP transceivers ## Overview Low Level Discovery (LLD) for HP transceivers (switches) monitoring (gbic DDM DDMI DOM). Attention: You will want to have a regular expression called @isFiberTransceiver to filter out cooper gbics (stacking, etc) oid .1.3.6.1.4.1.25506.2.70.1.1.1.1 Triggers are created with thresholds given by gbic. Temperature, voltage, bias, serial, hardware type, fiber diameter, status, dbm, db, transmit power, receive power. ## Author Rafael Gustavo Gassner groups: - name: Templates discovery_rules: - uuid: 432bb7d8b7ee458da1075e31bdd867dd name: Transceivers type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.2.70.1.1.1.1,{#DESCRIPTION},IF-MIB::ifDescr,{#ALIAS},IF-MIB::ifAlias]' key: 'transceivers-[{#SNMPVALUE}]' delay: '240' filter: conditions: - macro: '{#SNMPVALUE}' value: '@isFiberTransceiver' formulaid: A lifetime: 7d item_prototypes: - uuid: 7923450274db4e0cbdc4e693e4b27a75 name: 'Bias on interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.17.{#SNMPINDEX}' key: 'hh3cTransceiverBiasCurrent.["{#SNMPINDEX}"]' delay: '600' history: 7d value_type: FLOAT units: mA description: 'Indicating the current bias electric current. The unit is in hundredths of mA' preprocessing: - type: MULTIPLIER parameters: - '.001' tags: - tag: Application value: Transceiver - uuid: 91b77689b35342da86ad65167feec1f8 name: 'Bias High Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.26.{#SNMPINDEX}' key: 'hh3cTransceiverBiasHiAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: mA description: 'Transceiver bias high alarm threshold limit in microamps.' preprocessing: - type: MULTIPLIER parameters: - '.0001' tags: - tag: Application value: Transceiver - uuid: c236c814c0534dda9d2698dfae7b9859 name: 'Bias Low Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.27.{#SNMPINDEX}' key: 'hh3cTransceiverBiasLoAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: mA description: 'Transceiver bias low alarm threshold limit in microamps.' preprocessing: - type: MULTIPLIER parameters: - '.0001' tags: - tag: Application value: Transceiver - uuid: 7b9a3f75f23348d9b635a2b4384e0649 name: 'Current received power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.12.{#SNMPINDEX}' key: 'hh3cTransceiverCurRXPower.["{#SNMPINDEX}"]' delay: '600' history: 7d value_type: FLOAT units: dBM description: 'Indicating the current received power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: c41b1a96e0774b8b996822db0183599a name: 'Current transmitted power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.9.{#SNMPINDEX}' key: 'hh3cTransceiverCurTXPower.["{#SNMPINDEX}"]' delay: '600' history: 7d value_type: FLOAT units: dBM description: 'Indicating the current transmitted power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: 68e46da9e0204a4693dc3bc28ae102aa name: 'Availability of diagnostics in interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.8.{#SNMPINDEX}' key: 'hh3cTransceiverDiagnostic.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' description: 'Indicating the digital diagnostic monitoring function.' valuemap: name: hh3cTransceiverDiagnostic tags: - tag: Application value: Transceiver - uuid: fb853e1f3bae454ea251f9845ec79393 name: 'Transceiver error of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.38.{#SNMPINDEX}' key: 'hh3cTransceiverErrors.["{#SNMPINDEX}"]' delay: '600' history: 30d trends: '0' value_type: CHAR description: 'Bitmask indicating transceiver errors. Transceiver information I/O error(0) Transceiver information checksum error(1) Transceiver type and port configuration mismatch(2) Transceiver type not supported by port hardware(3) WIS local fault(4) Receive optical power fault(5) PMA/PMD receiver local fault(6) PCS receive local fault(7) PHY XS receive local fault(8) Laser bias current fault(9) Laser temperature fault(10) Laser output power fault(11) TX fault(12) PMA/PMD transmitter local fault(13) PCS transmit local fault(14) PHY XS Transmit Local Fault(15) RX loss of signal(16) Unused(17-31)' tags: - tag: Application value: Transceiver - uuid: fc010f9f9ec7478ba73390a9c3936837 name: 'Fiber diameter type of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.6.{#SNMPINDEX}' key: 'hh3cTransceiverFiberDiameterType.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' description: 'The diameter of the fiber, measured in micron. fiber9 - 9 micron multi-mode fiber fiber50 - 50 micron multi-mode fiber fiber625 - 62.5 micron multi-mode fiber copper - copper cable.' valuemap: name: hh3cTransceiverFiberDiameterType tags: - tag: Application value: Transceiver - uuid: 7b364c9beeb046989599ea263882eae0 name: 'Hardware type of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.1.{#SNMPINDEX}' key: 'hh3cTransceiverHardwareType.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' value_type: CHAR description: 'Hardware type of the interface, such as SM(single mode).' tags: - tag: Application value: Transceiver - uuid: e5ed1b403211475699147f3f64562c47 name: 'Maximum received power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.13.{#SNMPINDEX}' key: 'hh3cTransceiverMaxRXPower.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: dBM description: 'Indicating the maximum received power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: bd9f3b24cd0e4cfba9f2f909cfdd8a2d name: 'Maximum transmitted power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.10.{#SNMPINDEX}' key: 'hh3cTransceiverMaxTXPower.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: dBM description: 'Indicating the maximum transmitted power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: b066e05087f24e259e2c945cc417d6d1 name: 'Minimum received power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.14.{#SNMPINDEX}' key: 'hh3cTransceiverMinRXPower.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: dBM description: 'Indicating the minimum received power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: ee9fbcce046b4585bf127f256887c563 name: 'Minimum transmitted power of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.11.{#SNMPINDEX}' key: 'hh3cTransceiverMinTXPower.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: dBM description: 'Indicating the minimum transmitted power. The unit is in hundredths of dBM.' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: e53e911594234de68f72bfa2dfc472c4 name: 'Serial number of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.5.{#SNMPINDEX}' key: 'hh3cTransceiverSerialNumber.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' value_type: CHAR description: 'Serial number of the interface.' tags: - tag: Application value: Transceiver - uuid: bd5d73132c904162ae857fb83eca241c name: 'Temperature interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.15.{#SNMPINDEX}' key: 'hh3cTransceiverTemperature.["{#SNMPINDEX}"]' delay: '600' history: 7d value_type: FLOAT units: C description: 'Indicating the current temperature. The unit is Celsius centigrade.' tags: - tag: Application value: Transceiver - uuid: 270785ad918f42848f8eb25bf2ac51c4 name: 'Temperature High Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.18.{#SNMPINDEX}' key: 'hh3cTransceiverTempHiAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: C description: 'Transceiver temperature high alarm threshold limit in thousandths of degrees Celsius. As an example: 49120 is 49.120 degrees Celsius.' preprocessing: - type: MULTIPLIER parameters: - '.001' tags: - tag: Application value: Transceiver - uuid: 65c4a112ee274c199b84200fe09d695a name: 'Temperature Low Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.19.{#SNMPINDEX}' key: 'hh3cTransceiverTempLoAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: C description: 'Transceiver temperature low alarm threshold limit in thousandths of degrees Celsius. As an example: 49120 is 49.120 degrees Celsius.' preprocessing: - type: MULTIPLIER parameters: - '.001' tags: - tag: Application value: Transceiver - uuid: ee2a54f72f634b7480f1c936733e5a48 name: 'Transfer distance of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.7.{#SNMPINDEX}' key: 'hh3cTransceiverTransferDistance.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' units: m description: 'The maximum distance which the interface can transmit, measured in meter.' tags: - tag: Application value: Transceiver - uuid: 19692687e9b7410898504c0537742b72 name: 'Transceiver type of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.2.{#SNMPINDEX}' key: 'hh3cTransceiverType.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' value_type: CHAR description: 'Type of the interface, such as SFP/XFP/GBIC.' tags: - tag: Application value: Transceiver - uuid: 504f7b2813ec475499ba3926de0ae098 name: 'VCC High Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.22.{#SNMPINDEX}' key: 'hh3cTransceiverVccHiAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: V description: 'Transceiver VCC high alarm threshold limit in hundreds of microvolts. As an example: 32928 is 3.2928 volts. Returns zero if not supported on the transceiver.' preprocessing: - type: MULTIPLIER parameters: - '.0001' tags: - tag: Application value: Transceiver - uuid: cc33c39421774a6fb4153bb66868c61b name: 'VCC Low Alarm interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.23.{#SNMPINDEX}' key: 'hh3cTransceiverVccLoAlarm.["{#SNMPINDEX}"]' delay: '3600' history: 7d trends: '0' value_type: FLOAT units: V description: 'Transceiver VCC low alarm threshold limit in hundreds of microvolts. As an example: 32928 is 3.2928 volts. Returns zero if not supported on the transceiver.' preprocessing: - type: MULTIPLIER parameters: - '.0001' tags: - tag: Application value: Transceiver - uuid: 1e58aa6d277d41e6b74c8def7fe0e5ec name: 'Vendor name of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.4.{#SNMPINDEX}' key: 'hh3cTransceiverVendorName.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' value_type: CHAR description: 'Vendor name of the interface.' tags: - tag: Application value: Transceiver - uuid: e1c3f275de834665bc1cd1d28f8df540 name: 'Transceiver Voltage $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.16.{#SNMPINDEX}' key: 'hh3cTransceiverVoltage.["{#SNMPINDEX}"]' delay: '600' history: 7d value_type: FLOAT units: V description: 'Indicating the current voltage. The unit is in hundredths of V' preprocessing: - type: MULTIPLIER parameters: - '.01' tags: - tag: Application value: Transceiver - uuid: 32bba058404b42b19a03af05d092f07f name: 'Wave Length of interface $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.2.70.1.1.1.3.{#SNMPINDEX}' key: 'hh3cTransceiverWaveLength.["{#SNMPINDEX}"]' delay: '86400' history: 7d trends: '0' units: nm description: 'Wave length of the interface, measured in nanometer.' tags: - tag: Application value: Transceiver - uuid: 1ddf096b363c461784d15149e004e20a name: 'Description of transceiver $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifDescr.{#SNMPINDEX}' key: 'ifDescrAliasTransceiver[{#SNMPINDEX}]' delay: '86400' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: Transceiver - uuid: e7d3d73d99c34644b344cc1b9ec33003 name: 'Alias of transceiver $1#{#DESCRIPTION}#{#ALIAS}' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifAlias.{#SNMPINDEX}' key: 'TransceiverAlias[{#SNMPINDEX}]' delay: '86400' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: Transceiver trigger_prototypes: - uuid: 17392ae4ea8b4959a80dfac20eed27a1 expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( last(/GM DDMI/hh3cTransceiverCurRXPower.["{#SNMPINDEX}"])> last(/GM DDMI/hh3cTransceiverMaxRXPower.["{#SNMPINDEX}"]) ) and last(/GM DDMI/hh3cTransceiverCurRXPower.["{#SNMPINDEX}"])<>21474836.47 name: 'Current RX Power is higher than the maximum threshold on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current RX Power is {ITEM.VALUE3}. Maximum RX power should be {ITEM.VALUE4}. Equipment {HOST.HOST}' - uuid: 66e3b0ff64b74060a23c9b4f00261c8c expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( last(/GM DDMI/hh3cTransceiverCurRXPower.["{#SNMPINDEX}"])< last(/GM DDMI/hh3cTransceiverMinRXPower.["{#SNMPINDEX}"]) ) and last(/GM DDMI/hh3cTransceiverCurRXPower.["{#SNMPINDEX}"])<>21474836.47 name: 'Current RX Power is lower than the minimum threshold on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current RX Power is {ITEM.VALUE3}. Minimum RX power should be {ITEM.VALUE4}. Equipment {HOST.HOST}' description: 'This happens when there is no fiber connected.' - uuid: 3a7cc2c4c00c41bcab17bf915e1f13d3 expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( last(/GM DDMI/hh3cTransceiverCurTXPower.["{#SNMPINDEX}"])> last(/GM DDMI/hh3cTransceiverMaxTXPower.["{#SNMPINDEX}"]) ) and last(/GM DDMI/hh3cTransceiverCurTXPower.["{#SNMPINDEX}"])<>21474836.47 name: 'Current TX Power is higher than the maximum threshold on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current TX Power is {ITEM.VALUE3}. Maximum TX power should be {ITEM.VALUE4}. Equipment {HOST.HOST}' - uuid: 1f28db5912ba43b2bf6dedca7f337e41 expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( last(/GM DDMI/hh3cTransceiverCurTXPower.["{#SNMPINDEX}"])< last(/GM DDMI/hh3cTransceiverMinTXPower.["{#SNMPINDEX}"]) ) and last(/GM DDMI/hh3cTransceiverCurTXPower.["{#SNMPINDEX}"])<>21474836.47 name: 'Current TX Power is lower than the minimum threshold on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current TX Power is {ITEM.VALUE3}. Minimum TX power should be {ITEM.VALUE4}. Equipment {HOST.HOST}' - uuid: 02b6d467f96949eca99ad8bdbbf8eef5 expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( ( last(/GM DDMI/hh3cTransceiverTemperature.["{#SNMPINDEX}"])>last(/GM DDMI/hh3cTransceiverTempHiAlarm.["{#SNMPINDEX}"]) ) and last(/GM DDMI/hh3cTransceiverTemperature.["{#SNMPINDEX}"])<> 2147483647 ) name: 'Temperature is too high on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current temperature is {ITEM.VALUE3}. Maximum temperature should be {ITEM.VALUE4}. Equipment {HOST.HOST}' - uuid: b8e8d7c3ea3e4ce89ac2bb7b7f0fc8e8 expression: | (find(/GM DDMI/ifDescrAliasTransceiver[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or (find(/GM DDMI/TransceiverAlias[{#SNMPINDEX}],,"regexp","$blablablabla^")=1) or ( ( last(/GM DDMI/hh3cTransceiverTemperature.["{#SNMPINDEX}"]) 2147483647 ) name: 'Temperature is too low on transceiver {ITEM.VALUE1} {ITEM.VALUE2}. Current temperature is {ITEM.VALUE3}. Lower temperature should be {ITEM.VALUE4}. Equipment {HOST.HOST}' valuemaps: - uuid: bb40b2dd9ff744cba91b1195533600aa name: hh3cTransceiverDiagnostic mappings: - value: '1' newvalue: 'True' - value: '2' newvalue: 'False' - uuid: 8e363d1c3ded49be91987e8be69c7321 name: hh3cTransceiverFiberDiameterType mappings: - value: '1' newvalue: 'fiber 9 micron multi-mode fiber' - value: '2' newvalue: 'fiber 50 micron multi-mode fiber' - value: '3' newvalue: 'fiber 62.5 micron multi-mode fiber' - value: '4' newvalue: cooper - value: '65535' newvalue: unknown