Question about check_disk "-L" option

Yueh-Hung Liu yuehung.liu at gmail.com
Tue May 10 07:03:22 CEST 2011


it's not an error, you specify to check /usr/local only and it's a
remote fs, so no local fs will be checked and the "-L" option just
test the access to nfs.


On Tue, May 10, 2011 at 1:08 AM, Dave Wallis <wallis at aps.anl.gov> wrote:
> On Red Hat 6 clients, I need to monitor some NFS mount points for conditions
> like stale NFS file handles. The "check_disk" plugin describes the "-L"
> (--stat-remote-fs) option as providing this functionality. However, either
> I'm not understanding how the option works, or it's not working properly.
> Here is an example of what I'm seeing:
>
> # df -h /usr/local
> Filesystem                 Size  Used   Avail  Use%  Mounted on
> oxygennfs48:/usr/local     250G  214G   37G    86%   /usr/local
> #
> # ./check_disk -w 20% -c 10% -p /usr/local
> DISK WARNING - free space: /usr/local 37846 MB (14% inode=98%);|
> /usr/local=218154MB;204800;230400;0;256000
> #
> # ./check_disk -w 20% -c 10% -p /usr/local -L
> DISK UNKNOWN - free space:|
> #
>
> Does anyone have any experience using this option, or have any guesses why
> it's generating an error?
>
> --
> David Wallis
>
> Principal Computer Engineer
> Information Technology Group
> Advanced Photon Source
> Argonne National Laboratory
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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