What exactly did you try? Did you try the following?Sorry for the delay. I tried the change that was recommended.
Code: Select all
Try changing the following line in the NSC.ini (or nsclient.ini) from this:
runcmd=scripts\runcmd.bat $ARG1
to this:
runcmd=scripts\runcmd.bat "$ARG1$"
Restart the nsclinet++ service and run a check from the nagios server:
./check_nrpe -H 192.168.5.180 -p 5666 -c runcmd -a 'Klocwork 9.2 Server'It seems like that we are shifting the focus from restarting a windows service to troubleshooting custom powershell scripts...