check_nt query

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
s.diwakar1
Posts: 44
Joined: Thu Feb 27, 2020 9:45 am

check_nt query

Post 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
Thanks & Regards,
Diwakar Sharma
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: check_nt query

Post 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
Former Nagios employee
https://www.mcapra.com/
Locked