5.02021-11-21T21:21:04ZTemplatesZBX-DLINK-TEMPLATESSNMP D-link DGS-3120-xxSNMP D-link DGS-3120-xx## Description
D-link do something realy wierd with swTemperatureTable. So it's values not discovered but set manualy as items
## Overview
Based on MIB from vendor. Checked on local single and stacked DGS/DWS-3120-xx devices.
Main system Items, Ttiggers and Graphs.
LLD Network interfaces.
LLD Memory, Temperature and Fan values (though D-link does something weird with fan and temperature OIDs, probably depends on firmware, so this prototypes was added semi-manualy).
TemplatesZBX-DLINK-TEMPLATESEnvironmentGeneralInterface(s)- Device CPU utilizationSNMP_AGENT.1.3.6.1.4.1.171.12.1.1.6.3.0agentCPUutilizationIn5min30030d0%The time scale is set at 5 minute intervals. The value will be between 0% (idle) and 100% (very busy).General
- Device serial numberSNMP_AGENT.1.3.6.1.4.1.171.12.1.1.12.0agentSerialNumber36001d0CHARA 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.SOFTWARE_APP_AGeneral
- Device contact detailsSNMP_AGENT.1.3.6.1.2.1.1.4.0sysContact36001d0CHARCONTACTGeneral
- Device descriptionSNMP_AGENT.1.3.6.1.2.1.1.1.0sysDescr36001d0CHARA 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.MODELGeneral
- Device firmware versionSNMP_AGENT.1.3.6.1.2.1.16.19.2.0sysFirmwareVersion36001d0CHARVersion number of the Firmware.SOFTWAREGeneral
- Device hardware versionSNMP_AGENT.1.3.6.1.2.1.16.19.3.0sysHardwareVersion36001d0CHARVersion number of the Hardware.HARDWAREGeneral
- Device locationSNMP_AGENT.1.3.6.1.2.1.1.6.0sysLocation36001d0CHARThe physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.LOCATIONGeneral
- Device nameSNMP_AGENT.1.3.6.1.2.1.1.5.0sysName36001d0CHARAn 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.ALIASGeneral
- Device uptimeSNMP_AGENT.1.3.6.1.2.1.1.3.0sysUpTime30030d0uptimeThe time since the network management portion of the system was last re-initialized.GeneralMULTIPLIER0.01
Environment managementSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.171.12.1.1.9.1.1]agentDRAMutilizationUnitID36001dDevice memory total, unit $1SNMP_AGENT.1.3.6.1.4.1.171.12.1.1.9.1.2.{#SNMPINDEX}agentDRAMutilizationTotalDRAM[{#SNMPVALUE}]30030d0BEnvironmentMULTIPLIER1024Device memory used, unit $1SNMP_AGENT.1.3.6.1.4.1.171.12.1.1.9.1.3.{#SNMPINDEX}agentDRAMutilizationUsedDRAM[{#SNMPVALUE}]30030d0BEnvironmentMULTIPLIER1024Device memory utilization, unit $1SNMP_AGENT.1.3.6.1.4.1.171.12.1.1.9.1.4.{#SNMPINDEX}agentDRAMutilization[{#SNMPVALUE}]30030d0%EnvironmentDevice fan $1-1SNMP_AGENT.1.3.6.1.4.1.171.12.11.1.7.1.6.{#SNMPINDEX}.7swFanSpeed.1.[{#SNMPVALUE}]30030d0RPMEnvironment{max(30m)}=0{HOST.NAME} unit {#SNMPVALUE} - 1st fan failedHIGHDevice fan $1-2SNMP_AGENT.1.3.6.1.4.1.171.12.11.1.7.1.6.{#SNMPINDEX}.8swFanSpeed.2.[{#SNMPVALUE}]30030d0RPMEnvironment{max(30m)}=0{HOST.NAME} unit {#SNMPVALUE} - 2nd fan failedHIGHDevice temperature, unit $1SNMP_AGENT.1.3.6.1.4.1.171.12.11.1.8.1.2.{#SNMPINDEX}swTemperatureCurrent[{#SNMPVALUE}]30030d0CEnvironment{avg(#3)}=40{HOST.NAME} unit {#SNMPVALUE} - temperature highHIGHFan 1 Speed, unit{#SNMPVALUE}00C800- SNMP D-link DGS-3120-xxswFanSpeed.1.[{#SNMPVALUE}]
Fan 2 Speed, unit{#SNMPVALUE}00C800- SNMP D-link DGS-3120-xxswFanSpeed.2.[{#SNMPVALUE}]
Memory Usage, unit{#SNMPVALUE}00C800- SNMP D-link DGS-3120-xxagentDRAMutilizationUsedDRAM[{#SNMPVALUE}]
Memory Utilization, unit{#SNMPVALUE}00C800- SNMP D-link DGS-3120-xxagentDRAMutilization[{#SNMPVALUE}]
Network InterfacesSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.2.2.1.2]ifIndex36001dAlias of interface $1SNMP_AGENT.1.3.6.1.2.1.31.1.1.1.18.{#SNMPINDEX}ifAlias[{#SNMPVALUE}]36001d0CHARInterface(s)Inbound errors on interface $1SNMP_AGENT.1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}ifInErrors[{#SNMPVALUE}]36007d0The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.Interface(s)SIMPLE_CHANGEIncoming traffic on interface $1SNMP_AGENT.1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}ifInOctets[{#SNMPVALUE}]300180dbpsThe total number of octets received on the interface, including framing characters.Interface(s)CHANGE_PER_SECONDMULTIPLIER8Operational status of interface $1SNMP_AGENT.1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}ifOperStatus[{#SNMPVALUE}]36007d0The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed.Interface(s)SNMP interface status (ifOperStatus)Outgoing traffic on interface $1SNMP_AGENT.1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}ifOutOctets[{#SNMPVALUE}]300180dbpsThe total number of octets transmitted out of the interface, including framing characters.Interface(s)CHANGE_PER_SECONDMULTIPLIER8Speed of interface $1SNMP_AGENT.1.3.6.1.2.1.2.2.1.5.{#SNMPINDEX}ifSpeed[{#SNMPVALUE}]36001d0bpsAn 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.Interface(s)interface {{HOSTNAME}:ifAlias[{#SNMPVALUE}].last(0)}00C800- SNMP D-link DGS-3120-xxifInOctets[{#SNMPVALUE}]
13333FF- SNMP D-link DGS-3120-xxifOutOctets[{#SNMPVALUE}]
CPU UtilizationEACC00- SNMP D-link DGS-3120-xxagentCPUutilizationIn5min
SNMP interface status (ifOperStatus)1up2down3testing4unknown5dormant6notPresent7lowerLayerDown