Agentless monitoring in Nagios Core

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
alien.king
Posts: 6
Joined: Tue Nov 12, 2013 3:44 am

Agentless monitoring in Nagios Core

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Agentless monitoring in Nagios Core

Post 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/
alien.king
Posts: 6
Joined: Tue Nov 12, 2013 3:44 am

Re: Agentless monitoring in Nagios Core

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Agentless monitoring in Nagios Core

Post 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).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
alien.king
Posts: 6
Joined: Tue Nov 12, 2013 3:44 am

Re: Agentless monitoring in Nagios Core

Post by alien.king »

Hi There,

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

Thank you.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Agentless monitoring in Nagios Core

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Agentless monitoring in Nagios Core

Post by tmcdonald »

It's been a bit since we heard from you - did you figure things out?
Former Nagios employee
Locked