08-12-2024 11:21 AM
Hi
I am having a bit of trouble locating SNMP MIB files for a C8200-1N-4T router (IOS XE c8000be-universalk9.17.12.02.SPA.conf) for hardware monitoring data such as device/chassis temperature. I tried some of the MIB files which contained such things (by looking for files with Cisco SNMP Object Navigator) but they don't appear to work for this model. I also tried searching for which MIBs are supported by a somewhat similar model (c8300) via Cisco Feature Navigator (could not find the model I used specifically) but they also largely failed to work for polling for the desired data from the device.
I believe the SNMP configuration itself is working based on the fact that I am able to poll for data corresponding to the device name and the domain it is in and confirmed it is correct. I would greatly appreciate any advice from anyone who might have run into similar problems in the past or can tell where I went wrong and can point me in the right direction.
Thanks
Solved! Go to Solution.
08-15-2024 06:24 AM
>....or if they only allow for the alarm notification,
= A MIB like CISCO-ENVMON-MIB contains OID's that can be queried with SNMP , have a look at :
https://github.com/cisco/cisco-mibs/blob/main/oid/CISCO-ENVMON-MIB.oid
and look for temperature with find in the browser ; then you can try to use those OID's with snmp(walk,get...)
and see how your device reacts to it,
M.
08-13-2024 12:13 AM
- Note that these days cisco snmp mibs for various devices are kept in :
https://github.com/cisco/cisco-mibs/
(specific) https://github.com/cisco/cisco-mibs/tree/main/supportlists
which you can browse and look for your model (e.g.)
Check below and use the highlighted MIBS to browse for OID's related to your needs.
- Ref : https://www.cisco.com/c/en/us/td/docs/routers/cloud_edge/c8300/software_config/cat8300swcfg-xe-17-book/isr9000swcfg-xe-16-12-book_chapter_01001.html
>...To use SNMP to get alarm notification, use the following MIBs:
ENTITY-MIB, RFC 4133 (required for the CISCO-ENTITY-ALARM-MIB and CISCO-ENTITY-SENSOR-MIB to work)
M.
08-15-2024 06:07 AM
Hi,
Thanks for the response.
I've tried looking into the Github repository you mentioned previously, but unless I'm interpreting the supportlist directory names wrong, I don't see any that would correspond to a Catalyst C8200-1N-4T router.
I also came across the reference link you posted, and it initially looked quite promising. However, I am hoping to monitor hardware information via SNMP as opposed to only receiving alarm notifications. I am unsure if such information is also accessible via the files mentioned or if they only allow for the alarm notification, I would greatly appreciate if you could clarify this for me should you happen to know.
Thank you.
08-15-2024 06:24 AM
>....or if they only allow for the alarm notification,
= A MIB like CISCO-ENVMON-MIB contains OID's that can be queried with SNMP , have a look at :
https://github.com/cisco/cisco-mibs/blob/main/oid/CISCO-ENVMON-MIB.oid
and look for temperature with find in the browser ; then you can try to use those OID's with snmp(walk,get...)
and see how your device reacts to it,
M.
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