|
Hello
Jeremy
There is no problem about it... I have my checkcommands.cfg's check_nrpe configured like check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$, just in case I need lots of arguments. The only point you have to pay attention is passing no arguments at all... There may be - as far as I'm concerned - two problems: 1. Passing no arguments at service configuration will cause a blank -a execution of check_nrpe, causing and error (check_nrpe: option requires and argument -- a). In this case, you can use just a dummy argument, like check_command check_nrpe!check_cpu!1. No real function to the "1" argument, but solves your problem! 2. If the NRPE host was not compiled with --enable-command-args, you will receive an unkown status with the message "CHECK_NRPE output error" (or something like that). For both cases, another way to solve those problems would be creating two different check commands, i.e. check_nrpe_args and check_nrpe_noargs. I hope that helps you! Cheers, Rafael Costa [EMAIL PROTECTED] Curitiba / PR / Brasil Pavleck, Jeremy D. escreveu: Greetings, |
- Re: [Nagios-users] NRPE 2.0 arguments question Rafael Bandeira da Costa
- RE: [Nagios-users] NRPE 2.0 arguments questi... Steve Shipway
