Page 1 of 1

check_nt query

Posted: Mon Apr 12, 2021 10:45 am
by s.diwakar1
Hi All,

I am using check_nt plugin for windows system monitoring.

For disk space monitoring, I am using below command:

Code: Select all

check_nt!USEDDISKSPACE!-l C -w 85 -c 90
Can we use Volume instead of percent value to trigger alerts like warning alert when 50GB space left?

Thanks in advance!!!

Regards,
Diwakar Sharma

Re: check_nt query

Posted: Mon Apr 12, 2021 11:08 am
by mcapra
I think the -l parameter of the USEDDISKSPACE module for check_nt is what you need. From the help info:
http://nagios-plugins.org/doc/man/check_nt.html

Code: Select all

     USEDDISKSPACE =
      Size and percentage of disk use.
      Request a -l parameter containing the drive letter only.
      Warning and critical thresholds can be specified with -w and -c.
Though it appears the USEDDISKSPACE module for check_nt is limited to just providing percentages as thresholds.

If you're communicating with the NSClient++ NRPE server, you can use the check_nrpe plugin with the NSClient++ CheckDisk module to use specific byte values for your thresholds. See the "NSClient++ via check_nrpe" section of this KB article:
https://support.nagios.com/kb/article/d ... free_value