I want to create a command using NSclient++ agent and run a Perl script of my own.
My Perl binaries are in NSClient ++ folder, without any links to Windows (not in path ...)
I currently have this in "commands" page in NagiosXI :
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c ""perl\bin\perl.exe" "check_flex.pl"" -a $ARG1$Code: Select all
check_flex_windows=perl\bin\perl.exe check_flex.pl -a $ARG1$How can I run my Perl script in this configuration ? I have to specify the Perl path but I can't manage to make it work.
any ideas ?
Thank you