Agentless Windows Monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kberry70
Posts: 2
Joined: Tue Jan 14, 2014 11:36 am

Agentless Windows Monitoring

Post by kberry70 »

Yesterday morning, I completed my Nagios Core 3.4.4 install on a vm.

I have had no issue adding a switch to monitor......but I want to add a Windows server as well.....but it must be agentless. I've heard it can be done, and have seen some documentation, but it seems very confusing. I am assuming it is simply by editing a config file.....but don't know which one, or where. I am running this on Centos64.

Can anyone help?

Thanks!

-Kevin
:roll:
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Agentless Windows Monitoring

Post by slansing »

This can certainly be done, have you worked with WMI at all? You can follow our Nagios XI document on getting the windows server set up, then instead of using the wizard in Nagios XI (since you are on Core) you can use the plugin to set up the checks manually:

http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf

Plugin:

http://exchange.nagios.org/directory/Tu ... us/details

You will need to create a command definition for check_wmi_plus in your commands.cfg file to use it with your service definitions that would look similar to this:

Code: Select all

$USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -m $ARG3$ $ARG4$
Tt sounds like you have some practice in this already.

Let us know if you have questions!
kberry70
Posts: 2
Joined: Tue Jan 14, 2014 11:36 am

Re: Agentless Windows Monitoring

Post by kberry70 »

OK, so configured a win2k vm for WMI- no problem.....

But the nagios server....a headache.....

http://exchange.nagios.org/directory/Tu ... us/details

Looked to that....in French....converted to English.....still odd.....

Anyway, get down to doing the MAKE

It fails building WMI:
Missing ZENHOME

Help!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Agentless Windows Monitoring

Post by slansing »

Apologies I believe I meant to send you this link, I think I had both open in tabs:

http://exchange.nagios.org/directory/Pl ... us/details

The above should link to the creators site "in English..again, sorry for that" you should have a list of pre-reqs there, and the build should go smoothly, if the build fails, please copy the output.
Locked