Nrpe Error Message

Pete Dewell pete.dewell at VoltEurope.com
Wed Jan 8 18:56:15 CET 2003


Try leaving out the -H <host>.

Just use 

check_nrpe <hostname> .....

P

"Kaplan, Andrew H." wrote:
> 
> The command that I entered at the monitoring host was
> 
> ./check_nrpe -H oneofxeon -p 5666 -C /usr/local/nagios/libexec/check_disk -w
> 80 -c 95
> 
> The result was INCORRECT COMMAND LINE ARGUMENTS SUPPLIED
> 
> What gives?
> 
> -----Original Message-----
> From: Jeremy Tinley [mailto:jtinley at unirez.com]
> Sent: Wednesday, January 08, 2003 11:49 AM
> To: Kaplan, Andrew H.
> Subject: RE: [Nagios-users] Nrpe Error Message
> 
> Try running the check_nrpe command from the monitoring host.
> 
> check_nrpe -H <host> -p <port> -C check_userrs
> 
> see if that gets you any further.
> 
> I noticed that -H and -p were added in the change from nrpe 1.5 to 1.6
> 
> -J
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan,
> Andrew
> H.
> Sent: Wednesday, January 08, 2003 10:33 AM
> To: 'Carroll, Jim P [Contractor]'
> Cc: Nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nrpe Error Message
> 
> 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?
> 
> -----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
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users

-- 

Technical Support/Analyst
Volt Europe
Tel    : (+44) (0) 1737 774100
Fax    : (+44) (0) 1737 772949
Mobile : (+44) (0)  777 1513066
E-mail  pete.dewell at volteurope.com


-------------------------------------------------------
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