Auto detection of drives in Winodws Servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mohans_15
Posts: 8
Joined: Tue Sep 08, 2015 1:15 am

Auto detection of drives in Winodws Servers

Post by mohans_15 »

Dear Experts,
I am using Nagios XI 2014.
I am trying to configure the hosts and services through wizards as much as possible.
When I try to add a host (Windows, for this case), I have to manually select the desired drive letters to be monitored.
For this, I will have to login to each server and identify the avaialble drive letters and configure.
Secondly, after initial discovery and configuration of drives, say a new drive is being added to that server via VM.
Will Nagios XI automatically detect the new drive added to the server and start monitoring it?
If not, please advise on the easiest way to configure the disk moitoring in Windows server.

Thanks,

Mohan
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Auto detection of drives in Winodws Servers

Post by Box293 »

mohans_15 wrote:Will Nagios XI automatically detect the new drive added to the server and start monitoring it?
Nagios XI does not do that level of auto discovery.

The Windows wizards use the legacy check_nt commands which are very limited.

The check_nrpe commands are much more advanced and can monitor all drives in one service. WARNING: This works well until an extra drive is added and the performance graphs stop working because more datasources are present. Due to this one problem you are advised to have a service per drive.

Here's many examples of nrpe checks that will do this for you:
http://sites.box293.com/nagios/guides/c ... disk-usage

I also suggest you look at assigning services to hostgrpups, this way you can have one service defintion instead of one for every host. Here is some information on that:
http://sites.box293.com/nagios/guides/c ... n-services
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.