From your previous post that is showing the errors, it looks like the issue is with the -m option which should create the filename but it is adding the -l to the command.
It could be that the arguments being sent from the Nagios system to the Windows server may be causing the issue. Try running it like this and see if that works for you.
It could be that the single quotes are striped out of the argument so this will send the argument with the single quotes.
Code: Select all
./check_nrpe -H 192.168.5.232 -c check_log3 -a "-l d:\testfolder\ss -m '%y%m%d_*.txt' -p TEST"