-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: [EMAIL PROTECTED]
-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=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@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