Problem With check_snmp

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Thu Mar 18 14:08:01 CET 2004


Hi there --

I have two printers that I am using the check_snmp command to monitor.
Because I needed to use the -H -C and -o parameters, I created two
additional entries in the
checkcommands.cfg file. Here is what one of the entries looks like:

# 'check_lox18_phaser750' command definition
define command{
	command_name	check_snmp -H 192.168.1.110 -C public -o
xyz.noname.5
	command_line		/usr/local/nagios/libexec/check_snmp -H
192.168.1.110 -C public -o xyz.noname.5
	}

I then went to  the services.cfg file and had the following check_command
line for the printer:

	check_command	check_snmp -H 192.168.1.110 -C public -o
xyz.noname.5

Whenever I run the sanity check, it says the check command mentioned above,
as well as the other check_snmp command, are not defined anywhere. Is there
another place
that I need to configure the command besides the checkcommand and
services.cfg files? I have run the command manually, and it does provide
snmp feedback. Thanks.

P.S. This message was accidentally sent to the nagmin users group...my
apologies.





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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