check_disk question
Cristiano Ness
cristiano.ness at opservices.com.br
Tue Jul 1 13:27:31 CEST 2008
Try put the path, this option -p, see below
/opt/local/libexec/nagios/check_disk -w 20% -c 10% -p /opt/itms_f40v6
and check help command for more options
[]´s
---
Cristiano Ness cristiano.ness at opservices.com.br
OpServices www.opservices.com.br
Tel: 51-3275-3588 Cel: 51-8151-8214
----- "Andy Moran" wrote:
>
>
My check_disk seems to be returning negative values for monitoring a netapp filer from a Leopard machine:
>
[amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk --version
check_disk v1793 (nagios-plugins 1.4.10)
[amoran_local at nenc035] ~$ df -h /opt/itms_f40v6
Filesystem Size Used Avail Capacity Mounted on
nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 906Gi 92% /opt/itms_f40v6
[amoran_local at nenc035] ~$ df -k /opt/itms_f40v6
Filesystem 1024-blocks Used Available Capacity Mounted on
nwk-its-filer40:/vol/vol6 11597043876 10646964152 950079724 92% /opt/itms_f40v6
[amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk -w 20% -c 10% /opt/itms_f40v6
DISK OK - free space: /opt/itms_f40v6 927812 MB (- 1072952184025 % inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478
>
>
>
>
If there some obvious flag I'm missing? I haven't tried updating my plugins to the latest, but I suppose that is in order.
>
--Andy
> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
> _______________________________________________ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080701/2a940057/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- 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