For example, I will take Cisco Nexus 3064 (N3K-C3064PQ-10GX) and make a template for it in Zabbix, I will briefly describe the main SNMP OID/MIB that I used:
Let’s see the status of the power supplies:
1.3.6.1.4.1.9.9.117.1.1.2.1.2 (cefcFRUPowerOperStatus)
offEnvOther(1),on(2),offAdmin(3),offDenied(4),offEnvPower(5),offEnvTemp(6),offEnvFan(7),failed(8),onButFanFail(9),offCooling(10),offConnectorRating(11),onButInlinePowerFail(12)
For example, I got:
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2.22 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2.470 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2.471 = INTEGER: 2
Let’s see the status of the fans:
1.3.6.1.4.1.9.9.117.1.4.1.1.1 (cefcFanTrayOperStatus)
I have displayed:
SNMPv2-SMI::enterprises.9.9.117.1.4.1.1.1.534 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.117.1.4.1.1.1.539 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.117.1.4.1.1.1.540 = INTEGER: 2
Now let’s see the description of the filling of the device:
1.3.6.1.2.1.47.1.1.1.1.7 (entPhysicalName)
With the list displayed, I found this:
...
SNMPv2-SMI::mib-2.47.1.1.1.1.7.22 = STRING: "Module-1 48x10GE + 4x40G Supervisor"
...
SNMPv2-SMI::mib-2.47.1.1.1.1.7.470 = STRING: "PowerSupply-1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.471 = STRING: "PowerSupply-2"
...
SNMPv2-SMI::mib-2.47.1.1.1.1.7.534 = STRING: "Fan Module-1"
CPUUtilization:
1.3.6.1.4.1.9.9.305.1.1.1.0 (cseSysCPUUtilization)
1.3.6.1.4.1.9.9.109.1.1.1.1.6 (cpmCPUTotal5secRev)
1.3.6.1.4.1.9.9.109.1.1.1.1.7 (cpmCPUTotal1minRev)
1.3.6.1.4.1.9.9.109.1.1.1.1.8 (cpmCPUTotal5minRev)
Memory utilization:
1.3.6.1.4.1.9.9.305.1.1.2.0 (cseSysMemoryUtilization)
1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 (cpmCPUMemoryFree)
1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 (cpmCPUMemoryUsed)
Device model and serial number:
1.3.6.1.2.1.47.1.1.1.1.13.10 (entPhysicalModelName)
1.3.6.1.2.1.47.1.1.1.1.11.10 (entPhysicalSerialNum)
Information about power, current consumption:
1.3.6.1.4.1.9.9.117.1.1.1 (cefcFRUPowerSupplyGroupEntry)
See also my articles:
Cisco Nexus SNMP OID for Transceiver
SNMP OID and MIB for interfaces
List of SNMP OID and MIB for Cisco