NRPE: Command 'check_swap' not defined

yu-ting_liu at agilent.com yu-ting_liu at agilent.com
Wed May 2 10:49:57 CEST 2007


Hi, all, 

I just manually run command for testing purpose on my monitor server:

	/usr/local/nagios/check_nrpe -H remote_host_name -c check_load

I've not configured it in Nagios configuration files yet.

Regards,

Yu Ting

-----Original Message-----
From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] 
Sent: Wednesday, May 02, 2007 4:36 PM
To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined

Is the check load command specified on the nagios monitoring box

Here is how my config is defined.

Remote nrpe box. /usr/local/etc/nrpe.cfg

command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20

>From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg

# ' check load on remote systems using nrpe define command{
        command_name    check_nrpe_load
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
        }

This works fine for me.

Regards

Tom



-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com
Sent: 02 May 2007 09:26
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] NRPE: Command 'check_swap' not defined

Hi, 

I've run into following NRPE issue. 

	NRPE: Command 'check_load' not defined

I've checked my remote client nrpe.cfg and the command definition is properly configured there.

	command[check_load]=/usr/local/nagios/libexec/check_load -w
15,10,5 -c 30,25,20
	...

Does anybody know what reason else can cause such issue? Thanks in advance.

Regards, 

Yu Ting 


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits.
Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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