climate sensor data in nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
anshul
Posts: 5
Joined: Wed Aug 27, 2014 11:17 am

climate sensor data in nagios

Post by anshul »

HI

I have a climate sensor in our server room of which i need to fetch temperature data from

snmpwalk command gives this reply

snmpwalk <hostipaddress> -v 1 -c public -On .1.3.6.1.4.1.17373.3.2.1.14
.1.3.6.1.4.1.17373.3.2.1.14.1 = INTEGER: 11

I am not able to pull this data to nagios server to monitor it.

Request you to please help as in how can i monitor this data from nagios server
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: climate sensor data in nagios

Post by slansing »

Are you setting this up as a trap, or an active SNMP query? That will decide the path we take. If you are setting it up as a trap, you are going to want to grab the required MIB and let us know once you have it on your Core system so we can help you out further. If you want to set up an active query you can use a"check_snmp" command similar to this:

Code: Select all

/path/to/check_snmp -H <hostaddress> -P <snmpversion> -C <communitystring> -o <OID> -l Temp
anshul
Posts: 5
Joined: Wed Aug 27, 2014 11:17 am

Re: climate sensor data in nagios

Post by anshul »

Thanks a lot the active query path does work. i was able to get the data to the server.
Locked