Page 2 of 3

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 1:52 am
by jamesc23
Found another issue where check_nt isn't reporting correctly when looking running process. This was running find before the upgrade. The weird thing is I have about 7 processes. 6 of them are find but 1 is reporting that it's not running. Nothing has changed except the client upgrade.

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 11:00 am
by tgriep
Could you post how you are running the check that is failing and your nsclient.ini file?

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 6:46 pm
by jamesc23
So the command I'm running is check_nt -H server1 -p 12489 -v PROCSTATE -l process.exe -d SHOWALL. As I've mentioned earlier, this command works for 6 other processes, but doesn't for only 1. All 7 processes are running in Windows.

Thanks.

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 6:53 pm
by Box293
What is the version of NSClient++ you upgraded to?

What is the name of the process?

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 7:18 pm
by jamesc23
Latest version 0.4.3 and the process is called sip.exe

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 7:49 pm
by Box293
I suggest uninstalling NSClient++ and making sure the C:\Program Files\NSClient++ directory is deleted. After this re-install and see if the problem exists.

I've seen some issues with upgrades and old files left behind.

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 8:40 pm
by jamesc23
OK so clean install didn't help.

However, I managed to get this fixed by changing the process name from lower case to upper case. The process shows in Windows in caps.

Is the syntax case sensitive? I'm obviously new to this.
Thanks.

Re: Servers not reporting after client upgrade

Posted: Wed Aug 19, 2015 9:10 pm
by Box293
jamesc23 wrote:However, I managed to get this fixed by changing the process name from lower case to upper case. The process shows in Windows in caps.

Is the syntax case sensitive? I'm obviously new to this.
This must be an issue with the newer version of NCSlient++.

You could enable debug logging and investigate further, you could report this issue on GitHub perhaps.

Re: Servers not reporting after client upgrade

Posted: Thu Aug 20, 2015 1:20 am
by jamesc23
So, I've fixed most of the issues except for one last one.

I have 4 servers that aren't reporting back to the server. The weird thing is that all these servers are ADFS related, not sure if there's any link there.

I'm getting CRITICAL - Socket timeout after 10 seconds as mentioned earlier. These servers are running on 2012. Any idea why none of the services are working? I have a mix commands of check_nt and check_nrpe

Re: Servers not reporting after client upgrade

Posted: Thu Aug 20, 2015 1:28 am
by Box293
Can you post the nsclient.ini file from these servers please.