Troubles using command argument
Bart Poort
bart.poort at omroep.nl
Wed Apr 5 09:54:06 CEST 2006
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$
I think it should work but status information says "Could not parse
arguments". Maybe i did something wrong in the check_command definition. I
tried serveral options but none of them works.
Can anyone tell me what i'm doing wrong?
Met vriendelijke groet,
--
Bart Poort
Publieke Omroep Internet Services []()
--Where's the GUI on this thing?--
-------------------------------------------------------
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