Ad Widget

Collapse

Getting temperature readout from Cisco ASR920 routers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arctica
    Junior Member
    • Apr 2023
    • 18

    #1

    Getting temperature readout from Cisco ASR920 routers

    I am new to modifying MIB/OID for SNMP and would appreciate some guidance on how to proceed.

    I have some 70+ Cisco ASR920 routers that I would like to read and monitor temperature from.
    I have tried quite a few of the existing templates for Zabbix, but so far no luck with getting temperature values.
    Here is as an example the "Cisco IOS by SNMP" output:

    Click image for larger version

Name:	ios1.png
Views:	230
Size:	390.2 KB
ID:	503884

    I do know that it is possible to get the temperature readout, because I have added the routers to another monitoring tool that I am trying to decommission, HP iMC, it looks like this:

    Click image for larger version

Name:	ios2.png
Views:	115
Size:	187.8 KB
ID:	503885

    I think I would need some guidancde as how to proceed.
    When asking AI how to get the value it respnded with the following:

    "The Cisco ASR 920 router can report temperature data via SNMP. This information is typically accessible through the Cisco System Health sensor, which queries the OID 1.3.6.1.4.1.9.9.13.1.3. You can then use SNMP tools to monitor and analyze these temperature readings."

    I am walking out on thin ice here, but is this the way to go ahead?

    I took the template "Cisco IOS by SNMP" and exported the YAML locally. I opened it in an editor and searched for the word "temperature". Found this:

    Click image for larger version

Name:	ios3.png
Views:	113
Size:	420.9 KB
ID:	503886

    Should I just modify the OID value that I got from the AI query and rename the YAML to a new modified name and then import it into Zabbix again?
    Is this the right way to do this, or is there a better way?
    Thanks for any suggestion on best way to get this working.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    That thing in HP iMC might be a trap, not a polled value.

    and no, do not go and modify that template. AI just pointed you to general "tempertute status table", which is used in this template anyway... https://mibs.observium.org/mib/CISCO...ureStatusTable
    That walk there on your first pic (and in template pic), is using 3 entries from that same table...ciscoEnvMonTemperatureStatusDescr, ciscoEnvMonTemperatureStatusValue, ciscoEnvMonTemperatureState. That same walk is so called "master item" - its data is not saved, it is used for discovery and data extraction. If you do not have any temperature sensors discovered, then start with investigating, can you get data from command line (snmpget/-walk). You can also change that master item to save the data for some time, so you can see, if it manages to poll something.

    Comment

    Working...