forums.meulie.net

SNMP plugin

Hello,

I installed Nagios and trying to watch my printer status via SNMP
I downloaded check_snmp_printer version 3 from exchange.nagios.org/directory/Pl … ck/details.

My commands.cfg file:
define command{
command_name check_snmp_printer
command_line $USER1$/check_snmp_printer -H $HOSTADDRESS -C $ARG1$ -x $ARG2 -w $ARG3$ -c $ARG4$
}

printer.cfg looks like:
define service{
use generic-service
host_name hp1536dnf
service_description Toner Supply
check_command check_snmp_printer!192.168.115.70!public!CONSUM!20!10
}

Nagios shows: WARNING: No SNMP response from -C! Make sure host is up and SNMP is configured properly.

Where is the problem?

edit:
SNMP works fine
snmpd is running

snmpwalk -v 1 -p 192.168.115.70 works.