Need To Pull WatchDog 100 Temperature Via SNMP or XML
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Need To Pull WatchDog 100 Temperature Via SNMP or XML
Hi,
I've been trying for several days to configure a SNMP check that will display the current temperature of the internal sensor of a WatchDog 100.
I've performed the steps in the "How to Integrate SNMP Traps With Nagios XI" document
I've uploaded the MIB file into NagiosXI.
I have access to the WatchDog 100 MIB table. I also have access to the data via XML
The closet that I've gotten to getting it to work is a "SNMP OK - Such Object available on this agent at this OID" status for the check. I need to pull the actual temperature reading.
Here's the OID I'm trying to capture.
internalTemp 1.3.6.1.4.1.17373.4.1.2.1.5 read-only Integer32(-40..200) 0.1 Degrees
I've been trying for several days to configure a SNMP check that will display the current temperature of the internal sensor of a WatchDog 100.
I've performed the steps in the "How to Integrate SNMP Traps With Nagios XI" document
I've uploaded the MIB file into NagiosXI.
I have access to the WatchDog 100 MIB table. I also have access to the data via XML
The closet that I've gotten to getting it to work is a "SNMP OK - Such Object available on this agent at this OID" status for the check. I need to pull the actual temperature reading.
Here's the OID I'm trying to capture.
internalTemp 1.3.6.1.4.1.17373.4.1.2.1.5 read-only Integer32(-40..200) 0.1 Degrees
You do not have the required permissions to view the files attached to this post.
Thanks so much,
Tom
Tom
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
Can you show us the actual command that you are running along with the output of it? (Hide sensitive info).
BTW, there are some plugins on the Nagios Exchange that might do the job for you:
http://exchange.nagios.org/directory/Pl ... se/details
http://exchange.nagios.org/directory/Pl ... 15/details
Have you checked any of these?
BTW, there are some plugins on the Nagios Exchange that might do the job for you:
http://exchange.nagios.org/directory/Pl ... se/details
http://exchange.nagios.org/directory/Pl ... 15/details
Have you checked any of these?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
COMMAND: /usr/local/nagios/libexec/check_snmp -H 192.168.xxx.xxx -o 1.3.6.1.4.1.17373.4.1.2.1.5 -C public -P 2c -w 72 -c 82
OUTPUT: No valid data returned (Such Object available on this agent at this OID)
I did read the info related to both scripts but opted not to use them as they received no votes from other users.
OUTPUT: No valid data returned (Such Object available on this agent at this OID)
I did read the info related to both scripts but opted not to use them as they received no votes from other users.
Thanks so much,
Tom
Tom
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
Did you upload the MIB file for the Watchdog 100 on the XI server?
This can be done through the XI interface by browsing to the Admin → Manage MIBs page via the top
navigation bar, browsing to the MIB to be added, then click Upload MIB.
This can be done through the XI interface by browsing to the Admin → Manage MIBs page via the top
navigation bar, browsing to the MIB to be added, then click Upload MIB.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
Yes, I uploaded the WatchDog 100 MIB file to NagiosXI.
Thanks so much,
Tom
Tom
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
Can you walk the device from the Nagios XI CLI?
If that doesn't work, lets try
we are just trying to verify we can actually make the connection from your XI Server to that OID first, and then to the server at all if that doesn't work
Code: Select all
snmpwalk -v 2c -c public 192.168.xxx.xxx 1.3.6.1.4.1.17373.4.1.2.1Code: Select all
snmpwalk -v 2c -c public 192.168.xxx.xxx 1-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
Code: Select all
[root@nagiosxi ~]# snmpwalk -v 2c -c public 192.168.xxx.xxx 1.3.6.1.4.1.17373.4.1.2.1
SNMPv2-SMI::enterprises.17373.4.1.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.17373.4.1.2.1.2.1 = STRING: "170004A3F25F2EC3"
SNMPv2-SMI::enterprises.17373.4.1.2.1.3.1 = STRING: "WatchDog 100"
SNMPv2-SMI::enterprises.17373.4.1.2.1.4.1 = Gauge32: 1
SNMPv2-SMI::enterprises.17373.4.1.2.1.5.1 = INTEGER: 650
SNMPv2-SMI::enterprises.17373.4.1.2.1.6.1 = INTEGER: 13
SNMPv2-SMI::enterprises.17373.4.1.2.1.7.1 = INTEGER: 129
SNMPv2-SMI::enterprises.17373.4.1.2.1.8.1 = INTEGER: 99
SNMPv2-SMI::enterprises.17373.4.1.2.1.9.1 = INTEGER: 99
SNMPv2-SMI::enterprises.17373.4.1.2.1.10.1 = INTEGER: 99
SNMPv2-SMI::enterprises.17373.4.1.2.1.11.1 = INTEGER: 100
SNMPv2-SMI::enterprises.17373.4.1.2.1.12.1 = Gauge32: 0
SNMPv2-SMI::enterprises.17373.4.1.2.1.12.1 = No more variables left in this MIB View (It is past the end of the MIB tree)Thanks so much,
Tom
Tom
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
It looks like .5 does not exist, but .5.1 does:
Although I am unsure how to read this, does it mean 65.0 degrees?
Code: Select all
SNMPv2-SMI::enterprises.17373.4.1.2.1.5.1 = INTEGER: 650Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
That is it! I need to get decimal place in there. (divide 650 by 10)
Thanks so much,
Tom
Tom
Re: Need To Pull WatchDog 100 Temperature Via SNMP or XML
If you use check_temp_watchdog15.sh, it has the tempature divided by 10 in the script.