Troubles using command argument

Werner Flamme werner.flamme at ufz.de
Wed Apr 5 12:57:00 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bart Poort schrieb am 05.04.2006 09:54:
> Hi,
> 
> I'm having some troubles using command arguments for the client checks. 
> This is what i have done:
> 
> - I compiled the nrpe 2.4 client with the --enable-command-args option
> - I placed the new client on the nagios server and the client os
>    check_nrpe should understand command-args.
> - The dont_blame_nrpe option is set to 1 on the client
> 
> This is the check i defined on the server:
> 
> define service{
>          host_name                       esmeralda
>          service_description             Disk Space /
>          check_command                   check_nrpe!check_disk!80!90!/
>          use                             template
>          }
> 
> This is the check definition i use on the client:
> 
> command[check_disk]=/local/nagios-plugins/check_disk $ARG1$ $ARG2$ $ARG3$

Maybe you better change the parameters to

.../check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ ?

> Can anyone tell me what i'm doing wrong?
> 
> Met vriendelijke groet,
> 

HTH,
Werner


- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme at ufz.de




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEM6J8k33Krq8b42MRAjFvAJ400xePIgD6bOaIwb8yLnVPEY/uKACfQ5/G
9Ay53ipokmm5QLW4nDxqqqk=
=vcts
-----END PGP SIGNATURE-----


-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
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