[Nagiosplug-devel] [ nagiosplug-Bugs-2863772 ] check_disk shows bad results on OS X

SourceForge.net noreply at sourceforge.net
Tue Sep 22 00:56:59 CEST 2009


Bugs item #2863772, was opened at 2009-09-21 16:14
Message generated for change (Settings changed) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2863772&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parsing problem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Doherty (acranox)
>Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: check_disk shows bad results on OS X

Initial Comment:
check_disk is reporting incorrect information for the large filesystem on a PPC Xserve.  It's NFS mounted.  It used to work, and then it spontaneously stopped working, I think once the disk had more than 2TB of data on it.  Using -x provides some information, but it's wrong.

# ~/check_disk -w 10% -c 5% -p /galactica/battlestar/
DISK CRITICAL - free space: /galactica/battlestar 0 MB (0% inode=63%);| /galactica/battlestar=2147483647MB;559964;591073;0;622183
# df 
Filesystem                         512-blocks       Used   Available Capacity  Mounted on
/dev/disk0s10                      1562355920 1059936744   501907176    68%    /
map -static                                 0          0           0   100%    /galactica/battlestar
192.168.1.213:/Volumes/battlestar 18454101336 6669463232 11784638104    37%    /galactica/battlestar
# df -h
Filesystem                          Size   Used  Avail Capacity  Mounted on
/dev/disk0s10                      745Gi  505Gi  239Gi    68%    /
map -static                          0Bi    0Bi    0Bi   100%    /galactica/battlestar
192.168.1.213:/Volumes/battlestar  8.6Ti  3.1Ti  5.5Ti    37%    /galactica/battlestar

# uname -a
Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

# ~/check_disk -x 192.168.1.213:/Volumes/battlestar
DISK OK - free space: / 245071 MB (32% inode=32%); /dev 0 MB (0% inode=98%);| /=517547MB;;;0;762869 /dev=0MB;;;0;0



----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-09-21 18:56

Message:
You did not specify the release you're using. If you're not using 1.4.12 or
later this is a known bug.

Please try against the latest version of nagios-plugins. If you can
reproduce it, please sent the output with "-vvv", your config.log and the
strace-like output (on Darwin I believe the command is ktrace) of both
check_disk and df.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2863772&group_id=29880




More information about the Devel mailing list