[Nagiosplug-help] check_disk reporting odd information

Israel Brewster israel at frontierflying.com
Thu Nov 11 19:24:24 CET 2010


I'm seeing something similar with the check_disk_smb plugin. I don't know for sure if it is related, but the result is the same- in my case it says "Disk ok - 2047.93G (53280%) free on \\otz-freenas\flight". It seems to me the problem is related to the disk being completely full. If I look at df on the machine in question, I get the following:

Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/ad0s2    3.9G    3.8G   -309M   109%    /mnt/flight

notice the negative available space and greater than 100% capacity. Perhaps the check_disk and check_disk_smb plugins don't deal with negative numbers and greater than 100% properly, resulting in a rollover?


On Nov 10, 2010, at 9:56 AM, Christopher McCoy wrote:

> Hi All,
> 
> I'm monitoring a few NAS systems with Nagios via NRPE.
> 
> check_disk works as expected on two of the three machines, outputting the
> following information :
> 
> System 1:
> [/opt/libexec] # ./check_disk -w 20% -c 10% -p /share/MD0_DATA -q
> DISK CRITICAL - free space: /share/MD0_DATA 756618 MB (7%);|
> /share/MD0_DATA=10501093MB;9006168;10131939;0;11257711
> 
> 
> System 2:
> [/opt/libexec] # ./check_disk -w 20% -c 10% -p /share/MD0_DATA
> DISK OK - free space: /share/MD0_DATA 6879728 MB (61%);|
> /share/MD0_DATA=4377983MB;9006168;10131939;0;11257711
> 
> 
> System 3 however reports the following :
> [/opt/libexec] # ./check_disk -w 20% -c 10% -p /share/MD0_DATA
> DISK CRITICAL - free space: /share/MD0_DATA 72057594037927936 MB
> (640073169734%);| /share/MD0_DATA=18020894MB;9006168;10131939;0;11257711
> 
> 
> 
> All three systems are identical in both hardware and software
> configurations (core2duo, 2gb ram, 8x2tb drives in a SWR6).  Is there any
> reason why check_disk would output such incredibly incorrect information?
> 
> 
> 
> ---
> Chris McCoy
> Internal Systems Engineer
> Damballa, Inc.
> cmccoy at damballa.com
> Office: 404.961.7412
> Cell: 404.492.6137 (google voice)
> 
> 
> 
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20101111/9c6a8f75/attachment.bin>
-------------- next part --------------



More information about the Help mailing list