Check process Windows Server 2012

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nagios_aws
Posts: 76
Joined: Wed May 18, 2016 3:34 am

Check process Windows Server 2012

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by dwhitfield on Tue Jan 10, 2017 12:15 pm, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Check process Windows Server 2012

Post 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.
nagios_aws
Posts: 76
Joined: Wed May 18, 2016 3:34 am

Re: Check process Windows Server 2012

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Check process Windows Server 2012

Post 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
nagios_aws
Posts: 76
Joined: Wed May 18, 2016 3:34 am

Re: Check process Windows Server 2012

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check process Windows Server 2012

Post by mcapra »

Can you show us the new NSClient++ configuration being used by the machine since the upgrade?
Former Nagios employee
https://www.mcapra.com/
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check process Windows Server 2012

Post 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.
Former Nagios employee
nagios_aws
Posts: 76
Joined: Wed May 18, 2016 3:34 am

Re: Check process Windows Server 2012

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check process Windows Server 2012

Post 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]:

Code: Select all

NSClientServer = 1
And the following under [/settings/default]:

Code: Select all

password = my_cool_password
It doesn't look like your NSClient++ configuration includes the necessary directives for check_nt to function.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
nagios_aws
Posts: 76
Joined: Wed May 18, 2016 3:34 am

Re: Check process Windows Server 2012

Post 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
You do not have the required permissions to view the files attached to this post.
Locked