zabbix_export: version: '5.4' date: '2021-11-25T12:37:35Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates - uuid: 66179f97725244658e1019573f0eb03e name: ZBX-DLINK-TEMPLATES templates: - uuid: 8421d8307a7746d4994247d14cfad583 template: 'SNMP D-link DGS-1210-52 revC' name: 'SNMP D-link DGS-1210-52 revC' description: | ## Overview Based on official D-link MIB. Generic device data, not all figures available though (can't find CPU / RAM usage, probably was removed by vendor). LLD Network interfaces. Do not use with PoE version - vendor changed many OIDs. groups: - name: Templates - name: ZBX-DLINK-TEMPLATES items: - uuid: 81a34c1409244f938cdd70ca1bbcac10 name: 'Device description' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.1.0 key: sysDescr delay: '3600' history: 1d 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. It is mandatory that this only contain printable ASCII characters.' inventory_link: MODEL tags: - tag: Application value: General - uuid: 309692a892c74576a3952546f9234b91 name: 'Device firmware version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.22.1.1.3.0 key: sysFirmwareVersion delay: '3600' history: 1d trends: '0' value_type: CHAR description: 'Version number of the Firmware.' inventory_link: SOFTWARE tags: - tag: Application value: General - uuid: 9f903e3a9b014c1196194eb8fb75108a name: 'Device hardware version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.22.1.1.2.0 key: sysHardwareVersion delay: '3600' history: 1d trends: '0' value_type: CHAR description: 'Version number of the Hardware.' inventory_link: HARDWARE tags: - tag: Application value: General - uuid: 1ade5ad419ba4dd6815e89ed9d83b811 name: 'Device location' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.22.1.1.5.0 key: sysLocationName delay: '3600' history: 1d trends: '0' value_type: CHAR description: 'The physical location of this node (e.g., `telephone closet, 3rd floor'').' inventory_link: LOCATION tags: - tag: Application value: General - uuid: 307ba44d6fce47a5a85a4ce2f6ad5b90 name: 'Device name' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.22.1.1.1.0 key: sysName delay: '3600' history: 1d 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: ALIAS tags: - tag: Application value: General - uuid: 7c747015e4474951995293d9cc9814a6 name: 'Device uptime' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.3.0 key: sysUpTime delay: '300' history: 30d trends: '0' 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: 50161bceab5049d9b82d468748cc1bc3 name: 'Network Interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.2.2.1.1]' key: ifIndex delay: '3600' status: DISABLED filter: conditions: - macro: '{#SNMPVALUE}' value: (48-52) formulaid: A lifetime: 1d item_prototypes: - uuid: f9823724427542d28271c9deff3050f3 name: 'Alias of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.31.1.1.1.18.{#SNMPINDEX}' key: 'ifAlias[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' status: DISABLED value_type: CHAR tags: - tag: Application value: Interface(s) - uuid: e7f9a2376d754efe80a1b21dc05dad09 name: 'Description of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.2.{#SNMPINDEX}' key: 'ifDescr[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' status: DISABLED 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: Interface(s) - uuid: 7c34239307954ec3b9245c7cfcd7fc61 name: 'Inbound errors on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}' key: 'ifInErrors[{#SNMPVALUE}]' delay: '3600' history: 7d trends: 7d status: DISABLED description: 'The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.' preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: Interface(s) - uuid: fce60614d71245ad99095c6cc521c170 name: 'Incoming traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}' key: 'ifInOctets[{#SNMPVALUE}]' delay: '300' history: 30d trends: 180d status: DISABLED units: bps description: 'The total number of octets received on the interface, including framing characters.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Interface(s) - uuid: d7547a322e924879859bc370c7d37094 name: 'Uptime of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.9.{#SNMPINDEX}' key: 'ifLastChange[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' status: DISABLED units: uptime description: 'The value of sysUpTime at the time the interface entered its current operational state. If the current state was entered prior to the last re-initialization of the local network management subsystem, then this object contains a zero value.' preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: Interface(s) - uuid: 2d33025bdf6a4915ad26ab6ba16a5a4c name: 'Operational status of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}' key: 'ifOperStatus[{#SNMPVALUE}]' delay: '300' history: 7d trends: '0' status: DISABLED 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: Interface(s) - uuid: cd8575a801ee491fa3edf7c48819a170 name: 'Outgoing traffic on interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}' key: 'ifOutOctets[{#SNMPVALUE}]' delay: '300' history: 30d trends: 180d status: DISABLED units: bps description: 'The total number of octets transmitted out of the interface, including framing characters.' preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Interface(s) - uuid: 167ed4c4cffe4f6e8bec3e4d23f3c417 name: 'Speed of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.5.{#SNMPINDEX}' key: 'ifSpeed[{#SNMPVALUE}]' delay: '3600' history: 7d trends: '0' status: DISABLED units: bps description: 'An estimate of the interface''s current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.' tags: - tag: Application value: Interface(s) graph_prototypes: - uuid: 381abf1e0d1141359bf06b22db5ee060 name: 'interface {{HOSTNAME}:ifAlias[{#SNMPVALUE}].last(0)}' graph_items: - color: 00C800 item: host: 'SNMP D-link DGS-1210-52 revC' key: 'ifInOctets[{#SNMPVALUE}]' - sortorder: '1' color: 3333FF item: host: 'SNMP D-link DGS-1210-52 revC' key: 'ifOutOctets[{#SNMPVALUE}]' valuemaps: - uuid: 5981420958e9433cb599317a814e140c 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