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.
SNMP problem - No data received from host
Re: SNMP problem - No data received from host
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.