zabbix_export: version: '5.4' date: '2021-11-21T21:36:01Z' groups: - uuid: 83761f47e4884f74a1c6851e01014167 name: DmOS - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: bab8ed5684f14e5ea43a28804c64a950 template: 'DATACOM DmOS - ONU Interfaces' name: 'DATACOM DmOS - ONU Interfaces' description: | ## Overview SNMP Discovery - Ethernet UNI Interfaces SNMP - Ethernet UNI Statistics SNMP - ONU Power ## Author Guilherme Zamora Rodrigues groups: - name: DmOS - name: Templates items: - uuid: a2122ec047f446048c36862de550fe2d name: 'Number of network interfaces' type: SNMP_AGENT snmp_oid: 'GPON-ONU-IF-MIB::ifNumber.0' key: onuifNumber delay: '3600' history: 7d description: 'The number of network interfaces (regardless of their current state) present on this system.' tags: - tag: Application value: ONU-Interfaces discovery_rules: - uuid: 188022c4fc7d4e7c85a163b2b43fac24 name: 'Network interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.3709.3.6.2.1.1.3]' key: onuifDescr delay: '3600' description: | You may also consider using IF-MIB::ifType or IF-MIB::ifAlias for discovery depending on your filtering needs. {$SNMP_COMMUNITY} is a global macro. item_prototypes: - uuid: 3d7dc407240c459daca1eb9d358d2255 name: 'Admin status of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.6.{#SNMPINDEX}' key: 'onuifAdminStatus[{#SNMPVALUE}]' delay: '60' history: 7d description: 'The desired state of the interface.' valuemap: name: 'SNMP interface status (ifAdminStatus)' tags: - tag: Application value: ONU-Interfaces - uuid: eab37198c7fa42469f9aa962b8a9103e name: 'Alias of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.23.{#SNMPINDEX}' key: 'onuifAlias[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: ONU-Interfaces - uuid: 632ede6b3009416fbe828eff1eda28d7 name: 'Description of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.3.{#SNMPINDEX}' key: 'onuifDescr[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software.' tags: - tag: Application value: ONU-Interfaces - uuid: 50da4bec5d81463fb2bc247406564282 name: 'Inbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.13.{#SNMPINDEX}' key: 'onuifInErrors[{#SNMPVALUE}]' delay: '60' history: 7d 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: ONU-Interfaces - uuid: a2e345b83f2a48c6afaed5587f9798e1 name: 'Incoming traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.8.{#SNMPINDEX}' key: 'onuifInOctets[{#SNMPVALUE}]' delay: '60' history: 7d units: bps description: 'The number of octets in valid MAC frames received on this interface, including the MAC header and FCS.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: ONU-Interfaces - uuid: 74826b3400ed4ce68cccd544e0e38cac name: 'Power RX on $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.22.{#SNMPINDEX}' key: 'onuIfOnuPowerRx[{#SNMPVALUE}]' delay: '60' history: 7d trends: '0' value_type: FLOAT units: dBm description: 'Values of power reported by the ONU.' preprocessing: - type: MULTIPLIER parameters: - '1' tags: - tag: Application value: ONU-Power trigger_prototypes: - uuid: c9bc771c2ff64bdabc2e30bbe2db928f expression: | last(/DATACOM DmOS - ONU Interfaces/onuIfOnuPowerRx[{#SNMPVALUE}])<-27.0 or last(/DATACOM DmOS - ONU Interfaces/onuIfOnuPowerRx[{#SNMPVALUE}])>-8.0 name: 'Power RX overload on {HOST.NAME} interface {#SNMPVALUE}' priority: HIGH - uuid: 73cabcb79a954c71829fa8d397330fad name: 'Power TX on $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.21.{#SNMPINDEX}' key: 'onuIfOnuPowerTx[{#SNMPVALUE}]' delay: '60' history: 7d trends: '0' value_type: FLOAT units: dBm description: 'Values of power reported by the ONU.' preprocessing: - type: MULTIPLIER parameters: - '1' tags: - tag: Application value: ONU-Power trigger_prototypes: - uuid: e9c06966581a42568cfd93d416659a23 expression: | last(/DATACOM DmOS - ONU Interfaces/onuIfOnuPowerTx[{#SNMPVALUE}])>5.0 or last(/DATACOM DmOS - ONU Interfaces/onuIfOnuPowerTx[{#SNMPVALUE}])<-0.5 name: 'Power TX overload on {HOST.NAME} interface {#SNMPVALUE}' priority: HIGH - uuid: e17f0ab0da8a46b18cd15a75d4bc1233 name: 'Operational status of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.7.{#SNMPINDEX}' key: 'onuifOperStatus[{#SNMPVALUE}]' delay: '60' history: 7d description: 'The current operational state of the interface.' valuemap: name: 'SNMP interface status (ifOperStatus)' tags: - tag: Application value: ONU-Interfaces trigger_prototypes: - uuid: 9f8b0c4e354f43f1be4ca142a0186917 expression: '(last(/DATACOM DmOS - ONU Interfaces/onuifOperStatus[{#SNMPVALUE}],#1)<>last(/DATACOM DmOS - ONU Interfaces/onuifOperStatus[{#SNMPVALUE}],#2))=1' name: 'Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}' priority: INFO - uuid: 1e4f0362268740e1a74258c1ba0d5d29 name: 'Outbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.20.{#SNMPINDEX}' key: 'onuifOutErrors[{#SNMPVALUE}]' delay: '60' history: 7d 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: ONU-Interfaces - uuid: d78a03f0230148eea0016340fc175472 name: 'Outgoing traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.3709.3.6.2.1.1.15.{#SNMPINDEX}' key: 'onuifOutOctets[{#SNMPVALUE}]' delay: '60' history: 7d units: bps description: 'The number of octets transmitted in MAC frames on this interface, including the MAC header and FCS.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: ONU-Interfaces graph_prototypes: - uuid: 4a59265e33c44436bef7bc1abfd94612 name: 'Power on ONU {#SNMPVALUE}' graph_items: - color: DD0000 item: host: 'DATACOM DmOS - ONU Interfaces' key: 'onuIfOnuPowerRx[{#SNMPVALUE}]' - sortorder: '1' color: 33FF33 item: host: 'DATACOM DmOS - ONU Interfaces' key: 'onuIfOnuPowerTx[{#SNMPVALUE}]' - uuid: 89e0792c992d450e8ea4d0da3796384c name: 'Traffic on ONU interface {#SNMPVALUE}' graph_items: - drawtype: GRADIENT_LINE color: 00AA00 item: host: 'DATACOM DmOS - ONU Interfaces' key: 'onuifInOctets[{#SNMPVALUE}]' - sortorder: '1' drawtype: GRADIENT_LINE color: 3333FF item: host: 'DATACOM DmOS - ONU Interfaces' key: 'onuifOutOctets[{#SNMPVALUE}]' valuemaps: - uuid: dbca44bc13644f48924432c5fd9a2b5b name: 'SNMP interface status (ifAdminStatus)' mappings: - value: '1' newvalue: up - value: '2' newvalue: down - value: '3' newvalue: testing - uuid: 084bace580354ab587365a8da0939ffd 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