Check process Windows Server 2012
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Check process Windows Server 2012
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 : currently, I have this error : CRITICAL - Socket timeout after 10 seconds
Thank you for your help
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 : 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
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
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.
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
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.
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
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
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
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
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
Can you show us the new NSClient++ configuration being used by the machine since the upgrade?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Check process Windows Server 2012
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.nagios_aws wrote:We paid thousand dollars for a Professional solution, so I expect it to work as expected.
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
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
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.
Re: Check process Windows Server 2012
Did you include the check_nt option when running through the installer as well as a password?
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.
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 = 1Code: Select all
password = my_cool_passwordYou do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Check process Windows Server 2012
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
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.