snmp checks

Subhendu Ghosh sghosh at sghosh.org
Thu May 5 18:12:17 CEST 2005


On Thu, 5 May 2005, HP Geeza wrote:

> 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????

Looks like the device "envmon-chal-2003" is not responding to snmp 
queries.

Can you confirm this device is responding to snmp v1 with community 
"public"?

-- 
-sg


-------------------------------------------------------
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