we're using a C3750 switch in our setup and wanted to poll the switch for some of the CISCO MIB counters. We found however that the switch snmp agent is not returning data for some OID's that we are polling, e.g.:
- OID 126.96.36.199.188.8.131.52.184.108.40.206.7 (CISCO-ENVMON-MIB)
- OID 220.127.116.11.18.104.22.168.22.214.171.124.2 (CISCO-MEMORY-POOL-MIB)
Below the output from snmpwalk command for CISCO-ENVMON counters:
[email protected] # snmpwalk -v2c -c public 192.168.1.254 126.96.36.199.188.8.131.52.13
SNMPv2-SMI::enterprises.184.108.40.206.1.0 = INTEGER: 13
SNMPv2-SMI::enterprises.220.127.116.11.18.104.22.1684 = STRING: "Switch#1, Fan#1, Status is Normal "
SNMPv2-SMI::enterprises.22.214.171.124.126.96.36.1994 = INTEGER: 1
SNMPv2-SMI::enterprises.188.8.131.52.184.108.40.2063 = STRING: "Switch#1, PowerSupply#1, Status is Normal, RPS Not Present"
SNMPv2-SMI::enterprises.220.127.116.11.18.104.22.1683 = INTEGER: 1
SNMPv2-SMI::enterprises.22.214.171.124.126.96.36.1993 = INTEGER: 2
SNMPv2-SMI::enterprises.188.8.131.52.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.184.108.40.206.2.0 = INTEGER: 1
SNMPv2-SMI::enterprises.220.127.116.11.3.0 = INTEGER: 1
SNMPv2-SMI::enterprises.18.104.22.168.4.0 = INTEGER: 1
SNMPv2-SMI::enterprises.22.214.171.124.5.0 = INTEGER: 1
SNMPv2-SMI::enterprises.126.96.36.199.6.0 = INTEGER: 1
So although these MIB's are supported for the C3750 switch, not all counters seem to be implemented ?
Is this the normal expected behaviour, is it a bug, or are we still missing some extra configuration for this ?
Thanks in advance,
This is expected behavior from the CISCO-ENVMON-MIB. This device does not have all the necessary sensors to fully implement the MIB. Basically, all you get is fan and PS information. This should agree with "show env all".
Just because a MIB is supported by a device, that does not mean the device supports all the objects in the MIB. You can use the command "show snmp mib" to get a definitive list of all objects supported by the device.
The memory pool utilization objects are typically only supported by CatOS devices.