incoorect command line arguments supplied

donavan nelson donavan at 4wx.net
Wed Jan 8 06:43:21 CET 2003


I don't have the -H in mine.  I'm running the latest released versions of the
plugins and nagios.

hrishy, what versions are you running?

.dn

--
Donavan Nelson
4wx Networks
www.4wx.net

---------- Original Message -----------
From: Showkilr <sysadmin at showkilr.com>
To: hrishy <hrishys at yahoo.co.uk>
Sent: 07 Jan 2003 23:37:53 -0600
Subject: Re: [Nagios-users] incoorect command line arguments supplied

> Here is what needs to be in the checkcommand.cfg for check_nrpe to work
> 
> define command{
>         command_name    check_nrpe
>         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
>         }
> 
> Showkilr
> 
> On Tue, 2003-01-07 at 23:06, hrishy wrote:
> > 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
> > 
> > 
> > 
> >  --- donavan nelson <donavan at 4wx.net> wrote: > what is
> > the format of your check_nrpe entry in
> > > chkcommands.cfg?
> > > 
> > > --
> > > Donavan Nelson
> > > 4wx Networks
> > > www.4wx.net
> > > 
> > > ---------- Original Message -----------
> > > From: hrishy <hrishys at yahoo.co.uk>
> > > To: donavan nelson <donavan at 4wx.net>
> > > Sent: Wed, 8 Jan 2003 04:19:21 +0000 (GMT)
> > > Subject: Re: [Nagios-users] incoorect command line
> > > arguments supplied
> > > 
> > > > Hi Donavan
> > > > 
> > > > Yep I have tried that...when i try that on the
> > > solaris
> > > > box it works does not complain at all..
> > > > 
> > > > when i try from my nagios host..only then this
> > > message
> > > > is thrown up
> > > > 
> > > > regards
> > > > Hrishy
> > > > 
> > > >  --- donavan nelson <donavan at 4wx.net> wrote: > run
> > > the
> > > > check_disk on the command line on the sun
> > > > > box to get the arguments
> > > > > sorted.  change the config file, restart nrpe
> > > and
> > > > > all should be good.
> > > > > 
> > > > > --
> > > > > Donavan Nelson
> > > > > 4wx Networks
> > > > > www.4wx.net
> > > > > 
> > > > > ---------- Original Message -----------
> > > > > From: hrishy <hrishys at yahoo.co.uk>
> > > > > To: nagios-users at lists.sourceforge.net
> > > > > Sent: Tue, 7 Jan 2003 10:08:30 +0000 (GMT)
> > > > > Subject: [Nagios-users] incoorect command line
> > > > > arguments supplied
> > > > > 
> > > > > > Hi All
> > > > > > 
> > > > > > My nagios host is running linux from where i
> > > want
> > > > > to
> > > > > > monitor my sun machine.My services.cfg file on
> > > > > nagios
> > > > > > host is like this
> > > > > > 
> > > > > > define service{
> > > > > >  use      generic-service       ; 
> > > > > >  host_name      unix1
> > > > > >  service_description    /dev/dsk/c0t0d0s0 Free
> > > > > Space
> > > > > >  is_volatile    0
> > > > > >  check_period   24x7
> > > > > >  max_check_attempts     3
> > > > > >  normal_check_interval  5
> > > > > >  retry_check_interval   1
> > > > > >  contact_groups  unix-admins
> > > > > >  notification_interval  120
> > > > > >  notification_period    24x7
> > > > > >  notification_options   w,u,c,r
> > > > > >  check_command check_nrpe!check_disk1
> > > > > >  }
> > > > > > 
> > > > > > and the /etc/nrpe.cfg file on the sun solaris
> > > > > machine
> > > > > > has the following lines in it..
> > > > > > 
> > > > > >
> > > > >
> > > command[check_disk1]=/usr/nagios/libexec/check_disk
> > > > > -w
> > > > > > 20 -c 10 -m /usr
> > > > > > 
> > > > > > I am getting incorrect command line arguments
> > > > > > supplied..while as when i run the command in
> > > stand
> > > > > > alone mode on the sun server it works..
> > > > > > 
> > > > > > Can anybody help..why this is happening
> > > > > > 
> > > > > > regards
> > > > > > Hrishy
> > > > > > 
> > > > > >
> > > __________________________________________________
> > > > > > 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
> > > > > > 
> > > > > >
> > > > >
> > > >
> > >
> > -------------------------------------------------------
> > > > > > 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
> > > > > ------- End of Original Message -------
> > > > >  
> > > > 
> > > > __________________________________________________
> > > > 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
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > >
> > https://lists.sourceforge.net/lists/listinfo/nagios-users 
> > 
> > __________________________________________________
> > 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
> > 
> > 
> > -------------------------------------------------------
> > 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
------- 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