04-16-2020 08:08 AM
Hi all,
I'm using NWC hardware health script (check_nwc_health) but it's not able to have information about FAN status for a c7200 router; the output of the script for the FAN is: SNMP error the requested table is empty or does not exist.
Seems like the script don't use the correct OID for the FAN, but I'm not sure.
The same script working well for CPU load, MEM usage, and so on but not for FAN.
Someone can suggest me how can I solve this problem? What is the OID for c7200 FAN?
Any information that you can send are welcomed.
Best Regards
--
Giovanni Davide Saccà
04-16-2020 10:06 AM
Try snmp-walking the CISCO-ENTITY-SENSOR-MIB and or the CISCO-ENTITY-FRU-CONTROL-MIB , check if something resembling fan status shows up. Note that sometimes low end hardware models don't implement such features.
M.
04-17-2020 03:05 AM
Hi marce1000,
thank you for your reply, I read the user guide use suggest me, where I already find that the FAN may be contain into CISCO-ENTITY-SENSOR-MIB and/or the CISCO-ENTITY-FRU-CONTROL-MIB .
I'm already download each MIB you suggest me.
Now my snmp-walking is this:
snmpwalk -v2c -c infra-mrtg <IP_router> enterprises.9.9.13
What does it mean try snmp-walking the CISCO-ENTITY-SENSOR-MIB and or the CISCO-ENTITY-FRU-CONTROL-MIB?
Best Regards
--
Giovanni Davide Saccà
04-17-2020 03:24 AM
- It means browsing the whole mib with snmpwalk.
M.
04-17-2020 08:01 AM
Thank for your help marce1000.
I browse the suggested MIB as indicate in the guide, in details look the .png file in attach.
The output of snmpwalk is in the file.txt in attach.
Checking seems like the FAN module is not listed.
Where I can find (except the MIB, also is obvious must be into it) the OID for the FAN?
Which kind of check may do again?
Any information that you can send me are welcomed.
Best Regards
--
Giovanni Davide Saccà
04-17-2020 08:58 AM
- It looks like the FAN status can not be retrieved by snmp because I can not find it either in your outputs; follow the below link to find out which mibs are supported by your device :
https://mibs.cloudapps.cisco.com/ITDIT/MIBS/MainServlet
M.
08-31-2024 05:32 PM - edited 08-31-2024 05:40 PM
The 7200 can't see the fan. But on other models you can (i.e. ISR4000 series).
Here's what you can monitor:
This lists out all the inventory of items in the system, including voltage sensors, temperature readings, fan speed, etc.. Make a note of the LAST number in each OID, because they'll match up with the next snmp walks below.
bash> snmpwalk -v 2c -c public 192.168.0.1 1.3.6.1.2.1.47.1.1.1.1.7
This lists values that exist for the items in inventory that have a value. For items not listed, they do not have a sensor. The last number of the OID matches up with the last number of the previous walk.
bash> snmpwalk -v 2c -c public192.168.0.1 1.3.6.1.4.1.9.9.91.1.1.1.1.1
This tells if the sensors are reporting a value that is unknown, ok, warning, or critical (0-4). Again, the last number in the OID matches up with the items above.
bash> snmpwalk -v 2c -c public192.168.0.1 1.3.6.1.4.1.9.9.91.1.1.1.1.5
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide