Page 1 of 1

climate sensor data in nagios

Posted: Mon Oct 06, 2014 10:03 am
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

Re: climate sensor data in nagios

Posted: Mon Oct 06, 2014 10:46 am
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

Re: climate sensor data in nagios

Posted: Mon Oct 06, 2014 10:49 am
by anshul
Thanks a lot the active query path does work. i was able to get the data to the server.