zabbix_export: version: '5.4' date: '2021-11-25T12:37:44Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates - uuid: 66179f97725244658e1019573f0eb03e name: ZBX-DLINK-TEMPLATES templates: - uuid: dc9b76fceb7340ad95cd2617f182e607 template: 'SNMP D-link DGS-1210-52 revB' name: 'SNMP D-link DGS-1210-52 revB' description: | ## Overview Based on official D-link MIB. Generic device data, not all figures available though (can't find CPU / RAM usage, probably it was removed by vendor). LLD Network interfaces. In general will work for rev C1 devices also. But better use specific template. Not shure if it will work with PoE version of devices rev B. groups: - name: Templates - name: ZBX-DLINK-TEMPLATES items: - uuid: 9e4f415773ee4d3ab66caabd239da0bf name: 'PoE total consumption, W' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.105.1.3.1.1.4.1 key: pethMainPseConsumptionPower delay: '300' history: 7d trends: 30d value_type: FLOAT units: W description: 'This object displays PoE total power consumption (e.g., `3.3, 15.4'').' tags: - tag: Application value: PoE - uuid: afeb9c49191447f5a490842e474b6c78 name: 'PoE total budget, W' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.105.1.3.1.1.2.1 key: pethMainPsePower delay: '3600' history: 1d trends: '0' value_type: FLOAT units: W description: 'This object displays PoE system power budget (e.g., `50.2'').' tags: - tag: Application value: PoE - uuid: 5615b28dc6914104b3636237e5ab1a14 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: 74462267c92441bcb74c704b7f107c6f name: 'Device firmware version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.17.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: adc0ac83faf24884b12a9bd76af453e3 name: 'Device hardware version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.171.10.76.17.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: 628836b19e674ac190954b256dc1967c name: 'Device location' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.6.0 key: sysLocation 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: edd7ea2687eb42679867ccc174ebc055 name: 'Device name' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.5.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: 27404836685c4c98a369ee0df5b3b5c9 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: e91d67daccef48a799e07ebf953c0395 name: 'Network Interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.2.2.1.1]' key: ifIndex delay: '3600' filter: conditions: - macro: '{#SNMPVALUE}' value: (48-52) formulaid: A lifetime: 1d item_prototypes: - uuid: e11049eff9354f8c828943e0f89b9d70 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' value_type: CHAR tags: - tag: Application value: Interface(s) - uuid: 37419cbcd8114fc68c8b631e50f54f1b 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' 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: 2028d14ae5654588be800dac2dfbde5c 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 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: bbaf763f25de4480ae85158170352eb0 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 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: 8ba696d9817a4aaa8ab3efef572af68c 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' 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: 4eb768825ab0412ab0ab0f5e3eab94e0 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' 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: 13e2e79619ed4ab0b23af1b2efd8be56 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 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: cb3474c7d10e4d2997bdc583611e0b31 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' 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: 2a285f4b7ffb41f78d61b99ab371bbf2 name: 'interface {{HOSTNAME}:ifAlias[{#SNMPVALUE}].last(0)}' graph_items: - color: 00C800 item: host: 'SNMP D-link DGS-1210-52 revB' key: 'ifInOctets[{#SNMPVALUE}]' - sortorder: '1' color: 3333FF item: host: 'SNMP D-link DGS-1210-52 revB' key: 'ifOutOctets[{#SNMPVALUE}]' valuemaps: - uuid: f5aaa8cdb73f44b4bb475008b29ad8f9 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