check_disk question

Andy Moran amoran at apple.com
Wed Jul 9 20:44:12 CEST 2008


Sure:

nenc001:~ root# df -h /opt/itms_f39v4/
Filesystem                  Size   Used  Avail Capacity  Mounted on
nwk-its-filer39:/vol/vol4  9.6Ti  7.7Ti  1.9Ti    80%    /opt/itms_f39v4

nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p / 
opt/itms_f39v4/
DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| /opt/ 
itms_f39v4=-2147483648MB;1342616;1510443;0;1678270

nenc001:~ root# /opt/local/libexec/nagios/check_disk -vvv -w 20% -c  
10% -p /opt/itms_f39v4/
For /opt/itms_f39v4, total=3437097704, available=0,  
available_to_root=4164680672, used=18446744072981968648,  
fsp.fsu_files=31876689, fsp.fsu_ffree=31863221
For /opt/itms_f39v4, used_pct=100 free_pct=0 used_units=1.75922e+13  
free_units=0 total_units=1.67827e+06 used_inodes_pct=1  
free_inodes_pct=99 fsp.fsu_blocksize=512 mult=1048576
Freespace_units result=0
Freespace% result=2
Usedspace_units result=0
Usedspace_percent result=0
Usedinodes_percent result=0
Freeinodes_percent result=0
DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| /opt/ 
itms_f39v4=-2147483648MB;1342616;1510443;0;1678270
nenc001:~ root#

--Andy

On Jul 2, 2008, at 6:08 AM, Thomas Guyot-Sionnest wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/07/08 01:40 PM, Andy Moran wrote:
>>
>> Thanks for the response.  I updated to the latest plugins (1.4.12),  
>> but
>> still seeing negative numbers:
>>
>> nenc001:~ root# /opt/local/libexec/nagios/check_disk --version
>> check_disk v1991 (nagios-plugins *1.4.12*)
>> nenc001:~ root# df -h /opt/itms_f40v6
>> Filesystem                  Size   Used  Avail Capacity  Mounted on
>> nwk-its-filer40:/vol/vol6   11Ti  9.9Ti  900Gi    92%    /opt/ 
>> itms_f40v6
>> nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p
>> /opt/itms_f40v6
>> DISK OK - free space: /opt/itms_f40v6 921477 MB (*-1072952184026%*
>> inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478
>> nenc001:~ root#
>>
>> Is there a workaround?
>
> Please post the full debug output (-vvv) so I can see what's going  
> on here.
>
> Thanks
>
> Thomas
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIa33M6dZ+Kt5BchYRAl0AAKC2EjDNJ5NHd8xv9reglwBab1bupgCgtp54
> NqYNq9KDsBUrXV8JnlIx7pg=
> =ijrK
> -----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080709/f0048339/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-------------- 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