Incorrect command line arguments supplied

Marc Powell marc at ena.com
Mon Mar 13 16:13:25 CET 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of rod at arwholesalers.com
> Sent: Monday, March 13, 2006 12:24 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Incorrect command line arguments supplied
> 
> 
> I'm moving Nagios to a new server. I've installed and set-up as per
> instructions and its running fine except for all the UNIX check
commands
> that use check_nrpe.
> They all show the "Incorrect command line arguments supplied" error
in
> status information.

This error indicates that you are passing incorrect values to the
check_nrpe command on your Nagios server.

[chop]

> 
> This is my config for zombie process, as an example. All check_nrpe
> processes give the same error.
> 
> checkcommands.cfg
>         define command {
>         command_name                    check_local_procs
>         command_line                       $USER1$/check_procs -w
$ARG1$ -
> c $ARG2$ -s $ARG3$
>         }

It's your check_nrpe command definition that is incorrect somehow. Can
you post that? It should look something like the following --

define command{
        command_name    check_nrpe
        command_line    $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ -to
30
        }


> 
>   services.cfg
>         define service {
>         use
generic-service
>         host_name                               mercury
>         service_description                     Zombie Processes
>         contact_groups                          sysadmins
>         check_command
> check_nrpe!check_zombie_procs
>         }

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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