Disk check - warning and critical setting

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
Phil7269
Posts: 24
Joined: Tue Oct 16, 2012 1:13 pm

Disk check - warning and critical setting

Post by Phil7269 »

I am using the command "check_nt!USEDDISKSPACE" to monitor the drive space of a server. This is an iscsi drive connected to a windows 2008 r2 server. This drive is 1.6TB in size. I currently have the warning set to 99 and critical set to 100. Due to the size of the drive when the warning alert is inacted there is still 15GB of space available on the drive. I tried changing the warning setting from 99 to 99.5 and restarted nagios without issue, but this has no effect. Is it possible to set half numbers (i.e. .5, .75, etc..) in the warning and critical settings or must I only use whole numbers? If it is possible how is it implemented?

thanks for your assistance.

PT
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Disk check - warning and critical setting

Post by Box293 »

I suggest switching to NRPE checks where you can be GB specific. I've a bunch of examples here:

http://sites.box293.com/nagios/guides/c ... disk-usage

Does this help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked