question about check_disk

Jeffrey Watts jeffrey.w.watts at gmail.com
Fri Jan 20 21:46:50 CET 2012


You have it backwards.  'df' says 24% used, not remaining.  'check_disk'
shows how much is remaining (76% and 99% in this case).  I've never liked
how check_disk displays its results by default, most Unix tools show as a
primary metric how much of a resource is used and not how much is
remaining.  It always looks wrong.


Jeffrey.
On Fri, Jan 20, 2012 at 3:18 AM, Ensing, Harm <harm.ensing at atos.net> wrote:

>  Hi,
>
>
>
> Please help
>
> See this output:
>
>
>
> $ df -h /S00022_BACKUP
>
> Filesystem             size   used  avail capacity  Mounted on
>
> S00022_BACKUP          2.6T    94G   307G    24%    /S00022_BACKUP
>
>
>
> $ plugins/check_disk -E -w 20% -c 10% -W 10% -K 8% -u MB -p /S00022_BACKUP
>
> DISK OK - free space: /S00022_BACKUP 314182 MB (76% inode=99%);|
> /S00022_BACKUP=95885MB;328053;36906 0;0;410067
>
>
>
> $ zpool list S00022_BACKUP
>
> NAME            SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
>
> S00022_BACKUP  2.66T  2.32T   349G    87%  ONLINE  -
>
>
>
> df says FS is 24% free, so no problem.
>
> Check_disk says 76% full, so that matches, still no problem.
>
> Assuming inode=99% reports inode table 99% full (!) I would expect a
> warning/critical from ‘-W 10% -K 8%’ but it does not do that.
>
>
>
> ‘zpool list’ shows ‘87%’ which is totally different.
>
>
>
> -    Am I interpreting the info wrong?
>
> -    How can I dig up more detailed info on inode usage in a zpool?
>
> -    What causes the difference between ‘df –h’ and ‘check_disk’ on one
> side and ‘zpool list’ on the other side?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120120/bca36820/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list