Nrpe Error Message

Lennard Bakker bakkerl at lamp.xs4all.nl
Thu Jan 9 00:01:25 CET 2003


On Wed, 2003-01-08 at 17:33, Kaplan, Andrew H. wrote:
> Things got a little better since I sent out my e-mail. I am getting a connection
> to
> to the remote client. Now I am getting an INCORRECT COMMAND LINE ARGUMENTS
> SUPPLIED
> error.
> 
> When I run the check from the command line, it comes out fine.
> 
> Here is the syntax of the nrpe.cfg file on the client:
> 
> command[check_users]=/usr/local/nagios/libexec/check_users 50 80
> command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/sda8
> command[check_load]=/usr/local/nagios/libexec/check_load 15,10,5 30,25,20
> command[check_procs]=/usr/local/nagios/libexec/check_procs 150 200
> 
> What is going on?

After this last line in the nrpe.cfg the may not be a empty line. Delete
all chars after the last command-line and save the file.

Lennard


> 
> -----Original Message-----
> From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
> Sent: Wednesday, January 08, 2003 11:05 AM
> To: Kaplan, Andrew H.; Nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nrpe Error Message
> 
> 
> And running check_nrpe from the command line...?  Pass or fail...?
> 
> jc
> 
> > -----Original Message-----
> > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
> > Sent: Wednesday, January 08, 2003 9:00 AM
> > To: Nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Nrpe Error Message
> > 
> > 
> > I installed the latest nrpe client on a remote machine, and 
> > also copied the
> > necessary
> > plugins from the nagios server to the client. The nrpe.cfg 
> > file was modified
> > to suit the
> > remote machine's configuration. When I tried to monitor the 
> > various services
> > on the client
> > I was confronted with the following error message:
> > 
> > Return code of 127 is out of bounds - plugin may be missing.
> > 
> > I am running Nagios 1.0 with the latest nrpe client as well 
> > as the latest
> > nagios plug-ins.
> > 
> > There were no apparent problems with compiling and installing the nrpe
> > client on the remote machine.
> > 
> > The /etc/xinetd.d services were restarted after the nrpe install was
> > complete.
> > 
> > The nagios server is running on a Red Hat 8.0 box and the 
> > remote client is
> > Red Hat 7.3
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list