Page 1 of 1

Windows Disk Monitoring for specific folder

Posted: Wed Jul 31, 2013 4:16 am
by bojha
Hi All,

I are trying to monitor an windows machine so, as per the Nagios Xi documentation I have installed the 64 bit NSclient++ in the remote machine and ran the windows monitoring wizard from Nagios XI, all the services are running fine, and specifically for Disk monitoring I need to monitor some specific folder not the C or D drive instead i want for example C:/MyDrive.

and I have tried changing the argument value in the service definition from C to the path C:/MyDrive and C:\MyDrive but it is not getting monitored and throwing wrong -l argument and unknown status.

Please let me know, what changes i need to do for monitoring some specific folder.

Thanks in advance....

Below is my Service definition

define service {
host_name Windows Server
service_description Drive C: Disk Usage
use xiwizard_windowsdesktop_nsclient_service
check_command check_xi_service_nsclient!nagios!USEDDISKSPACE!-l C CS2 -w 80 -c 95!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
contacts bojha
_xiwizard windowsdesktop
register 1
}


With Regards,

Bijay Ojha

Re: Windows Disk Monitoring for specific folder

Posted: Wed Jul 31, 2013 9:59 am
by yancy
bojha,

Are you looking to monitor the size of a specific folder?

take a look at:
http://nsclient.org/nscp/wiki/CheckDisk/CheckFileSize

-Yancy