Exclude Disks in nsclient.ini

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
rodgerh
Posts: 1
Joined: Wed Jul 24, 2019 4:54 pm

Exclude Disks in nsclient.ini

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Exclude Disks in nsclient.ini

Post 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?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked