Pass plugin options like arguments
Posted: Fri Apr 24, 2015 5:31 am
Hi Guys.
I need to know if it's possible to pass a plugin option like "-w" or "-c" throuth nrpe like Argument.
I mean:
I have the next command definition: $USER1$/check_nrpe -H $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
/check_nrpe -H x.x.x.x -c check_disk -w 20% -c 30% -p /
and it's call to the next client command: command[check_arg]=/usr/local/nagios/libexec/$ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
There is any way to get some thing like this?
Thanks a lot.
I need to know if it's possible to pass a plugin option like "-w" or "-c" throuth nrpe like Argument.
I mean:
I have the next command definition: $USER1$/check_nrpe -H $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
/check_nrpe -H x.x.x.x -c check_disk -w 20% -c 30% -p /
and it's call to the next client command: command[check_arg]=/usr/local/nagios/libexec/$ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
There is any way to get some thing like this?
Thanks a lot.