SNMP problem - No data received from host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rainbow_ya
Posts: 7
Joined: Wed Dec 30, 2009 5:44 am

SNMP problem - No data received from host

Post 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.
User avatar
egalstad
Posts: 76
Joined: Thu Oct 29, 2009 2:07 pm

Re: SNMP problem - No data received from host

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked