Xymon Mailing List Archive search

HOWTO monitored NFS

list Galen Johnson
Mon, 16 Feb 2009 11:07:41 -0500
Message-Id: <user-434cba86e061@xymon.invalid>

I highly recommend against disabling the local only df test.  As Michael points out, it will hang for a long time.  Not only hang but leave behind a LOT of df processes that can only be killed by rebooting the server...at least, kill -9 never works for me.  This is most likely due to the fact that it is waiting on a child to finish.

=G=

From: michael nemeth [mailto:user-609d3fab5b2d@xymon.invalid]
Sent: Monday, February 16, 2009 10:52 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] HOWTO monitored NFS

And may hang for a long time if the nfs server is down!

try looking on http://www.deadcat.net/ for a script.
I use one from there with a number of changes to fit my situation .

Stef Coene wrote:

On Monday 16 February 2009, Naudit007 wrote:


Hello,


I wish monitored sharing NFS on my servers like classic disks.

What is the best way to monitored NFS and apply the thresholds?

And how to proceed to monitored that ?


When I define the share NFS on "localclient.cfg", it doesn't work.

DISK    /mnt/test   70 95


I have try yet "rpc=nfs" in bb-hosts, but don't have graph and alerts.


The linux hobbit client uses (file hobbitclient-linux.sh)

df -Pl

And from the manpages:

       -l, --local

              limit listing to local file systems


So remove the "l" and the hobbit client will reporting all file systems.


Stef