incoorect command line arguments supplied
donavan nelson
donavan at 4wx.net
Wed Jan 8 06:35:19 CET 2003
you can not use check_nrpe from the command line (I tried :) ) it must be used
from within nagios. That will eliminate that frustration.
Have you tried it from within the nagios config files?
.dn
--
Donavan Nelson
4wx Networks
www.4wx.net
---------- Original Message -----------
From: hrishy <hrishys at yahoo.co.uk>
To: donavan nelson <donavan at 4wx.net>, nagios-users
<nagios-users at lists.sourceforge.net>
Sent: Wed, 8 Jan 2003 05:27:13 +0000 (GMT)
Subject: Re: [Nagios-users] incoorect command line arguments supplied
> Hi Donovan
>
> LOL..thanks for that encouragement..;-D..
>
> 1)Yeah nrpe is restarted on the soalris box
> 2)Nagios is restarted on the Linux box
> 3)There is no firewall between them
> 4)I am able to do ping from the linux box to the
> solaris machine
>
> well from the commnad line of the nagios box..if i
> type
> ./check_nrpe -H 176.1.111.89 -p 5666 -c check_users \
>
> > -wt 20 -ct 10 -to 5
>
> i am still getting
> Incorrect command line arguments supplied
>
> am i missing something..
>
> regards
> Hrishy
> --- donavan nelson <donavan at 4wx.net> wrote: > that is
> what I would expect. are you doing any
> > other check_nrpe commands? It
> > might give us a clue as to were to look next. I'm
> > sure you have restarted
> > nrpe on the solaris box and nagios on the nagios
> > server? Any firewalls or
> > other network gadgets between you and the solaris
> > box?
> >
> > And can you ping from the nagios server to the
> > solaris box? (I'm sure this is
> > way to basic at this point :) )
> >
> > My time isn't too valuable right now....but you are
> > welcome.
> >
> > .dn
> >
> > --
> > Donavan Nelson
> > 4wx Networks
> > www.4wx.net
> >
> > ---------- Original Message -----------
> > From: hrishy <hrishys at yahoo.co.uk>
> > To: donavan nelson <donavan at 4wx.net>, nagios-users
> > <nagios-users at lists.sourceforge.net>
> > Sent: Wed, 8 Jan 2003 05:06:43 +0000 (GMT)
> > Subject: Re: [Nagios-users] incoorect command line
> > arguments supplied
> >
> > > Hi Donovan
> > >
> > > The format of command is
> > >
> > > define command{
> > > command_name check_nrpe
> > > command_line
> > /usr/local/nagios/libexec/check_nrpe
> > > $HOSTADDRESS$ -c $ARG1$
> > > }
> > >
> > > is this command format right ? And oofcourse
> > thanks
> > > for takin your valuable timeout to respond ;-D
> > >
> > > regards
> > > Hrishy
> > >
> > ***MONSTER SNIP***
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
------- End of Original Message -------
-------------------------------------------------------
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