Page 1 of 1

Exclude Disks in nsclient.ini

Posted: Wed Jul 24, 2019 5:04 pm
by rodgerh
Hello There
This is my first post here, so maybe I'll get something wrong.
We have Nagios Core running on Ubuntu and monitoring a Windows Server which has C: & D: & E: drives and the nclient.ini we have the following to monitor the disks (alias_disk = CheckDriveSize MinWarn=5% MinCrit=3% CheckAllOthers FilterType=FIXED "exclude=D:\") but it will not stop monitoring this D: drive.
Can somebody please tell me how to exclude the D: drive for monitoring please?

Thank you
Rodger

Re: Exclude Disks in nsclient.ini

Posted: Thu Jul 25, 2019 11:28 am
by scottwilkerson
Can you show the command from the nagios configuration that Nagios is using to monitor this along with the arguments for the check_command on the service?