Page 1 of 1

Agentless monitoring in Nagios Core

Posted: Fri Jul 25, 2014 1:55 pm
by alien.king
Dear All,

Good day to all of you. i've came across Nagios Core that is being mentioned to allow agentless monitoring. However, I can only find guide for agent-based monitoring on Windows and Linux server. Can I know will it be possible to perform agentless monitoring with Nagios core by using WMI or SSH instead of installing agent?

Thank you very much in advance.

Re: Agentless monitoring in Nagios Core

Posted: Fri Jul 25, 2014 2:04 pm
by slansing
Yep you could use WMI for one, you could also send traps from the windows system (though that will be more complicated) check this out:

http://www.edcint.co.nz/checkwmiplus/

Re: Agentless monitoring in Nagios Core

Posted: Sun Jul 27, 2014 6:15 am
by alien.king
slansing wrote:Yep you could use WMI for one, you could also send traps from the windows system (though that will be more complicated) check this out:

http://www.edcint.co.nz/checkwmiplus/
Hi There,

Thank you very much for the recommendation. It works for monitoring via WMI after installing the plugin. However, I can't find any information of displaying the information to Nagios webpage. Can I know if there is any guide to do so?

Thank you.

Re: Agentless monitoring in Nagios Core

Posted: Sun Jul 27, 2014 7:08 pm
by Box293
Do you have a grasp of how to define the Nagios configuration files? This is how you monitor servers and ultimately how they appear on the webpage.

I have a suggestion that will help you learn. Follow this guide here:

Code: Select all

http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html
While this is guide is all about agent based monitoring, set it up on a test windows system as it teaches you through how to configure Nagios to monitor a server and it's services.

Once you've got a grasp on that then it will make it easier for you to understand how to create the WMI checks (no agent required).

Re: Agentless monitoring in Nagios Core

Posted: Mon Jul 28, 2014 7:56 am
by alien.king
Hi There,

Thank you very much on this. Will look into this for now.

Thank you.

Re: Agentless monitoring in Nagios Core

Posted: Mon Jul 28, 2014 8:02 am
by eloyd
SSH and WMI monitoring are still "agents" they're just agents that usually come installed on the machine in the first place. :-) SSH requires a server to respond and then you have to be able to execute the appropriate command to get the result you're looking for. WMI is similar in that you have to be able to connect to the WMI server and then ask it for what you want. These are, basically, agents.

But I know that's not what you mean.

SSH is great for monitoring Linux machines that don't have the NRPE agent installed. You still need to install the Nagios plugins and then you can just use the /usr/local/nagios/libexec/check_by_ssh wrapper for sending checks to the client.

WMI is great for monitoring Windows machines and you've been given plenty of documentation on that.

It's not clear if you were looking for Windows help or Unix help or both.

Re: Agentless monitoring in Nagios Core

Posted: Mon Aug 04, 2014 10:25 am
by tmcdonald
It's been a bit since we heard from you - did you figure things out?