nrpe error message.

Voon, Ton Ton.Voon at egg.com
Tue Jan 14 12:49:58 CET 2003


The -c parameter to check_nrpe specifies a command defined in nrpe.cfg on
the agent end. Your parameters of "-w 20 -c 10 -p /dev/hda1" should be
nrpe.cfg.

There are plans to allow passing of parameters to the agent, but at the
moment you have to define each remote command you want to run.

> -----Original Message-----
> From:	Jim Greene [SMTP:jwgreene at megalink.net]
> Sent:	Tuesday, January 14, 2003 11:05 AM
> To:	nagios-users at lists.sourceforge.net
> Subject:	[Nagios-users] nrpe error message.
> 
> Hello,
> 	I am trying to use nagios with nrpe and am having some issues.
> I have the following in the checkcommands.cfg:
> 	define command{
>         command_name    check_nrpe
>         command_line    /usr/local/nagios/libexec/check_nrpe -H
> $HOSTADDRESS$ -c
>  $ARG1$
>         }
> 
> And I have the following in services.cfg:
> 	define service{
>         use                             generic-service
>         host_name                       pos.megalink.net
>         service_description             /dev/hda1 Free Space
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  linux-admins
>         notification_interval           240
>         notification_period             24x7
>         notification_options            c,r
>         check_command
> check_nrpe!/usr/local/nagios/libexec/che
> ck_disk -w 20 -c 10 -p /dev/hda1
>         }
> 
> I get the following error in nagios:
> 	Incorrect command line arguments supplied
> Any idea what I have set wrong?  Any help would be great.. Thanks...
> Jim G
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en




More information about the Users mailing list