Page 1 of 1

SNMP problem - No data received from host

Posted: Wed Dec 30, 2009 5:36 pm
by rainbow_ya
Hi,

It's my first use of Nagios and I got the following error message:

"SNMP problem - No data received from host"

When navigating to Nagios core host view I got a more detailed error message:

"SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m " -v 1 [authpriv] xxx.xxx.xx.xxx:161 "

I used the settings below on host config (Nagios core settings):

Check_command : check_snmp

Command view : $USER1$/check_snmp -H $HOSTNAME$ $ARG1$

$ARG1$ : -C public
$ARG2$ : -o .13.6.1.2.1.2.2.1.2


I tried with snmpwalk from command line and received data from the snmp host. But I can't receive data by Nagios.

Thanks in advance for any help or ideas.

Re: SNMP problem - No data received from host

Posted: Sat Jan 02, 2010 8:51 am
by egalstad
Its looks like your command should have $ARG2$ at the end, instead of $ARG1$. Change it, restart Nagios core, and see if the problem goes away.