Page 1 of 1

Agentless Windows Monitoring

Posted: Tue Jan 14, 2014 3:24 pm
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:

Re: Agentless Windows Monitoring

Posted: Tue Jan 14, 2014 3:34 pm
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!

Re: Agentless Windows Monitoring

Posted: Tue Jan 21, 2014 5:16 pm
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!

Re: Agentless Windows Monitoring

Posted: Tue Jan 21, 2014 5:41 pm
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.