nrpe: incorrect command line arguments supplied

Morris, Patrick patrick.morris at hp.com
Wed Jul 19 17:40:45 CEST 2006


 

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of Denny Schierz
> Sent: Wednesday, July 19, 2006 8:35 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nrpe: incorrect command line 
> arguments supplied
> 
> define service{
>         use generic-service     ; Name of service template to use
>         host_name                       mx02
>         service_description             Current Load
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_options            w,u,c,r
>         notification_interval           960
>         notification_period             24x7
> check_command check_nrpe!check_load -w 15,10,5 -c 30,25,20
>         }
> 
> my nrpe config:
> 
> 
> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c
> 30,25,20


> The plugins are on both systems the same. What is my mistake?

You're specifying the same arguments twice.  Take them out of the
service definition.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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