snmp checks
HP Geeza
getbacktome3 at hotmail.com
Thu May 5 16:56:18 CEST 2005
Hi
I am trying to read an SNMP value from a temperature probe in our server
using the commands below: I am just trying to see if it'll work from the
command line before actually adding it as a server/check command etc.
/usr/local/nagios/libexec/check_snmp <temp probe name> -o
.1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -wv 75 -cv 80 -l Temp: -r F
However the answer i get back is:
Temp: problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public envmon-chal-2003:161
.1.3.6.1.4.1.2012.1.1.1.4.2.0
I have also tried running:
check_snmp envmon-chal-2003 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -e 4
-wv 75 -cv 80 -l Temp. -r F
But get back:
Temp. problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 4 -m ALL -v 1 -c public envmon-chal-2003:161
.1.3.6.1.4.1.2012.1.1.1.4.2.0
Can somebody please tell me what i am doing wrong????
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
http://messenger.msn.co.uk
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list