Page 1 of 3
Check process Windows Server 2012
Posted: Tue Dec 13, 2016 4:31 am
by nagios_aws
Hello everyone,
i'm currently trying to monitor if a process is running on a Windows 2012 Server using Nagios XI.
I have the conf file attached, does something is missing ?
I have configured it like this in Web interface, and haven't modify the checks :
2016-12-13_10h28_09.png
currently, I have this error : CRITICAL - Socket timeout after 10 seconds
Thank you for your help
Re: Check process Windows Server 2012
Posted: Tue Dec 13, 2016 12:17 pm
by dwhitfield
What version of NSClient are you using? PROCSTATE has known (and terrible!) issues in the version we suggest (.3.9). There are reasons we suggest .3.9 not worth getting into here (unless you are curious). We have a backup in XI (.4.3), but it has known bugs too. If memory serves, the latest in the .4 series is .4.4, but NSClient also has .5 out. I guess it is up to you to decide how bleeding edge you want to be.
Anyway...can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of Show Profile in the thread (that will at least get us some info).
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Re: Check process Windows Server 2012
Posted: Wed Dec 14, 2016 10:44 am
by nagios_aws
I'm using the 0.3.9.328 included with Nagios XI Enterprise.
How I can monitor a process ? I don't care if I have to change my commands or stuff, please let me know.
Re: Check process Windows Server 2012
Posted: Wed Dec 14, 2016 10:51 am
by dwhitfield
Update to .4.3. In the XI window that's the one that's the smaller one we have in there for occasions such as this. (And here it is to make it easier:
https://www.nsclient.org/download/0.4.3/)
Alternatively, you can download .4.4 at
https://www.nsclient.org/download/0.4.4/
FOR TECH: Profile received and shared
Re: Check process Windows Server 2012
Posted: Tue Dec 20, 2016 8:26 am
by nagios_aws
Hello,
I have installed the 0.5.0 instead of 0.4.4, but it doesn't work either with the current checks.
Is there a way to monitor processes on Windows ? because you have a wizard proposing that in XI Enterprise, but it doesn't work either ...
We paid thousand dollars for a Professional solution, so I expect it to work as expected.
Thank you
Re: Check process Windows Server 2012
Posted: Tue Dec 20, 2016 3:49 pm
by mcapra
Can you show us the new NSClient++ configuration being used by the machine since the upgrade?
Re: Check process Windows Server 2012
Posted: Tue Dec 20, 2016 5:01 pm
by tmcdonald
nagios_aws wrote:We paid thousand dollars for a Professional solution, so I expect it to work as expected.
I can assure you it works, we just need to troubleshoot and find out why it is not in your case. As has been mentioned, we will need to look at your configuration files and possibly suggest some changes.
Also, if you are a current customer I can move this to the Customer Support section of the forum, which carries our SLA.
Re: Check process Windows Server 2012
Posted: Thu Dec 22, 2016 8:54 am
by nagios_aws
Hello everyone,
here is the new configuration file (conf.txt), coming with the 0.5.0 bundle.
I didn't modified anything in it.
and also the old one, from 0.3.9 (oldconf.txt)
I don't think I have to modify anything for a standard process check, right ?
thank you
Re: Check process Windows Server 2012
Posted: Thu Dec 22, 2016 2:59 pm
by mcapra
Did you include the check_nt option when running through the installer as well as a password?
2016_12_22_13_53_44_192.168.67.99_Remote_Desktop_Connection.png
I noticed that despite checking both those options my nsclient.ini still did not include the required directives for check_nt. Might be a bug in the installer wizard.
Try altering the nsclient.ini configuration to include the following directive under
[/modules]:
And the following under
[/settings/default]:
It doesn't look like your NSClient++ configuration includes the necessary directives for check_nt to function.
Re: Check process Windows Server 2012
Posted: Fri Dec 23, 2016 8:47 am
by nagios_aws
Hello,
i added the NSClientServer = 1 and it seems to improve the situation (in attachment, the error I get now)
But I didn't set a password to this point, and I don't want to do it, how can I manage that ?
Thank you