I have installed and configured NSClient on Windows boxes successfully. But after few days I found the issue that Nagios service automatically stopped in some time after starting it. Below is error log from client server. Please advice what can be fix for such kind of issues.
Hi,
I am using latest NSClient version and configured the service to restart on failure. Still NSClient is getting crashed within 10 min after service restart.
Do you see anything in nsclient.log that could give us some clues as to why NSClient is crashing? Do you have a new error to post since changing versions?
I never saw this before. Might be a bug. If you sure you are using the latest stable NSClient version which is 0.4.3.143 on Medin's site, you could make an issue on GitHub https://github.com/mickem/nscp/issues
Of course he has relesased some pre-releases, in fact NSClient is already at 0.4.4.2 =>https://github.com/mickem/nscp/releases/tag/0.4.4.2
Maybe you could give that a try first. Ah yes and please post the nsclient.log file first.
I have a couple of suggestions. One is to just repeat hsmith:
hsmith wrote:Do you see anything in nsclient.log that could give us some clues as to why NSClient is crashing? Do you have a new error to post since changing versions?
The other - if that doesn't offer any useful information try to run the program in the foreground and see what the on-screen output is when it crashes. From an elevated command prompt: