NSClient++ Help (#1) - Difference between Debug Mode and Normal? (#827) - Message List

Difference between Debug Mode and Normal?

Hi!

I´m trying to get the check_arcserve_jobstatus script running under NSClient++ 0.3.9. In Test Mode everything is fine, i get the result i expect. But in Normal Mode i get a socket timeout in nagios and in the Log there is a "WARNING 'Command (cscript.exe nologo scripts\check_arcserve_jobstatus.vbs) didn't terminate within the timeout period (60s)!'

As it runs fine in debug mode, I ask myself: What (the hell) is different between these both modes?

Looking forward to any suggestions!

  • Message #2230

    Nothing really...

    But one important thing can cause various strange and unpredictable issues:

    • "normal mode" normally runs as a service by another user which can cause privilege issues.

    I would enable debug log and check the log file. Enabling debug log gives you the same result as "/test" in the way of logging but still running in the same fashion as the "normal mode". I would also make sure that the script in question works well in "non console mode" as well as without administrative privileges.

    Michael Medin

    • Message #2232

      It works now! I changed the service to run with administrator privileges and now everything is fine! Thanks a lot for your help! Keep up the good work on this!

      By the way: I had a lot of trouble with restarting the service after changing something in the nsc.ini. The ports stayed in "waiting_closing" and the service didn't run anymore. So i had to restart the whole machine after every change. I reproduced this on two virtual servers with windows 2008 R2.

      • Message #2233

        Yes that sometimes happends... it will (hopefully) be resolved in 0.4.0...

        Michael Medin

Subscriptions