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.
Thanks, Regards
--
<mailinglist.benoit - at - gmail dot com>
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
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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:michael.nemeth at lmco.com] Sent: Monday, February 16, 2009 10:52 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk<mailto:hobbit-unsubscribe at hswn.dk>
On Monday 16 February 2009, Galen Johnson wrote:
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. I only use nfs on AIX and there you can specify on the client that even when you do a hard mount, you still can cancel the process that hangs. I don't know if this exists on linux clients ....
Stef
On Monday 16 February 2009 16:49:22 Naudit007 wrote:
Hello,
I wish monitored sharing NFS on my servers like classic disks.
Why? Aren't you monitoring the NFS server?
Or, do you really want alerts for 100 servers if one NFS server has low disk space?
(maybe you do want it, but IMHO, it usually makes more sense to monitor the NFS shares once on the NFS server).
Buchan Milne <mailto:bgmilne at staff.telkomsa.net> scribbled on Monday, February 16, 2009 8:15 AM:
On Monday 16 February 2009 16:49:22 Naudit007 wrote:
I wish monitored sharing NFS on my servers like classic disks.
Why? Aren't you monitoring the NFS server?
What if the NFS server is a NetApp or EMC box?
Or, do you really want alerts for 100 servers if one NFS server has low disk space?
Not necessarily a lot of servers -- maybe you only detail one server to keep an eye on the NFS partitions?
(maybe you do want it, but IMHO, it usually makes more sense to monitor the NFS shares once on the NFS server).
Only if the NFS server allows you to put a monitor on it. Think *big* company and turf politics...
David Masterson
Yes it's just to monitoring a NetApp appliance, I use currently two servers for monitore that (with df -P), and work well. But I search an other best way to monitore my nfs without have an issue type processes. I can't reboot my hobbit server...
Ok I try it :
http://www.deadcat.net/search.php?menuosfamily=0&menulicense=0&menusection=0...
2009/2/16 David Masterson (damaster) <damaster at cisco.com>
Buchan Milne <mailto:bgmilne at staff.telkomsa.net> scribbled on Monday, February 16, 2009 8:15 AM:
On Monday 16 February 2009 16:49:22 Naudit007 wrote:
I wish monitored sharing NFS on my servers like classic disks.
Why? Aren't you monitoring the NFS server?
What if the NFS server is a NetApp or EMC box?
Or, do you really want alerts for 100 servers if one NFS server has low disk space?
Not necessarily a lot of servers -- maybe you only detail one server to keep an eye on the NFS partitions?
(maybe you do want it, but IMHO, it usually makes more sense to monitor the NFS shares once on the NFS server).
Only if the NFS server allows you to put a monitor on it. Think *big* company and turf politics...
David Masterson
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
--
<mailinglist.benoit - at - gmail!com>
participants (6)
-
bgmilne@staff.telkomsa.net
-
damaster@cisco.com
-
Galen.Johnson@sas.com
-
mailinglist.benoit@gmail.com
-
michael.nemeth@lmco.com
-
stef.coene@docum.org