NSClient++ Help (#1) - Passing arguments with NRPE (#182) - Message List
Passing arguments with NRPE
Hi,
I'm a little bit stuck here... I try to pass some arguments to a custom script with check-nrpe, but the arguments are not passed to the script.
The command i'm using is something like ./check_nrpe -H host -P 1234 -c test-script -a arg1 arg2 arg3
On the client side i've set all 'allow_arguments' and 'allow_nasty_meta_chars' to 1
The external script def. is this: test_script=scripts\test_script.exe
How can i pass some arguments to this program? (I've tried all posts on this forum to get is work, but no can do...also with $arg1$ $arg2$...ec...)
Thanks for the help,
Tim
Talder
06/26/08 13:57:52 (5 years ago)
-
Message #510
$ARG1$ should work.
could you post:
- your nrpe cmd line
- nsc.ini
- ooutput from "nsclient++ /test" ?
MickeM
mickem06/26/08 14:11:01 (5 years ago)








