[Nagiosplug-devel] [ nagiosplug-Bugs-1144727 ] check_disk fails on Solaris with large available space

SourceForge.net noreply at sourceforge.net
Fri Jun 1 04:20:08 CEST 2007


Bugs item #1144727, was opened at 2005-02-20 02:44
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1144727&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: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: John-David Childs (diskmuncher)
Assigned to: Ton Voon (tonvoon)
Summary: check_disk fails on Solaris with large available space

Initial Comment:
check_disk returns a CRITICAL on Solaris (test 5.7 and
5.9) if a checked_filesystem actually has > 1TB of free
space.  This does NOT happen on Linux.  Verifying
functionality on IRIX.

controldev [10:21am] plugins 69% df -k
Filesystem            kbytes    used   avail capacity 
Mounted on
/proc                      0       0       0     0%   
/proc
/dev/dsk/c0t0d0s0    9075677 6666149 2318772    75%    /
fd                         0       0       0     0%   
/dev/fd
/dev/dsk/c0t0d0s4     482455  138924  295286    32%    /var
swap                 1757696   79080 1678616     5%    /tmp
/dev/dsk/c0t0d0s6    6196234    6161 6128111     1%   
/ewrt
/dev/dsk/c0t1d0s0    20652353 13923398 6522432    69% 
  /bronze
/dev/dsk/c0t1d0s1    20652353 4633312 15812518    23% 
  /tools
/dev/dsk/c0t1d0s4    29281179 23773695 5214673    83% 
  /home
opsnas1:/vol/home    1767421352 653768396 1113652956  
 37%    /mnt
controldev [10:23am] plugins 70% ./check_disk -w 10% -c
5% -e
DISK CRITICAL - free space: /mnt 9007199254740993 MB
(521854746624%);| /=6598MB;7975;8418;0;8862
/var=183MB;423;447;0;471 /tmp=77MB;1544;1630;0;1716
/ewrt=67MB;5445;5748;0;6051
/bronze=13799MB;18151;19159;0;20168
/tools=4727MB;18151;19159;0;20168
/home=23502MB;25734;27164;0;28594
/mnt=2735598MB;1553397;1639697;0;1725997


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

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-05-31 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Matthias Eble (psychotrahe)
Date: 2007-05-17 09:36

Message:
Logged In: YES 
user_id=1694341
Originator: NO

Hi John-David,

have you tried newer versions of the plugins which don't rely on df any
more?
Please post a comment if the problem persists.

I'm setting this case to "pending" which means it will be closed
automatically within 14 days if you won't post a reply until then.

Best regards
Matthias
			

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

Comment By: Ton Voon (tonvoon)
Date: 2006-07-19 16:20

Message:
Logged In: YES 
user_id=664364

John,

Can you try this out with the latest snapshot at
http://nagiosplug.sf.net/
snapshot please? There have been major changes to check_disk to sync it
with 
coreutils' df command.

Ton

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

Comment By: M. Sean Finney (seanius)
Date: 2005-06-27 19:23

Message:
Logged In: YES 
user_id=226838

hi john,

have you had the chance to look into this more? 
unfortunately i don't have access to a solaris system with >
1TB storage so my powers to debug are a bit diminished.   i
suspect some number may be truncated somewhere, either in
check_disk.c (most likely) or fsusage.c (harder to read, but
also less likely the source).

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

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




More information about the Devel mailing list