[hobbit] Ignore NFS
Pierre Malenfant
pmalenfa at malavix.com
Thu Jan 4 14:36:45 CET 2007
Hello,
I have tried different recommendations from the mailing list and I played
around with different ways of ignoring some mount types.
There is two problems I always had:
- NFS/CIFS/SMB mounts hang/delay the "df" command if remote host does not
respond
- Special devices should be ignored (CD/DVD/etc)
Now, I'm using the following method and as of now, it look like it work
very well for me (mostly AIX or Linux environments)
*** If somebody has other ideas or think this could be done in a simpler
ways, I would be glad to hear your comments. ***
My actual "method" if to catch only some vfs types from the "mount"
command and pass the filesystem list to "df"
In the file /home/hobbit/client/bin/hobbitclient-aix.sh
################################################################################
# Change to remove NFS and CIFS filesystems
#df -Ik | sed -e '/^[^ ][^ ]*$/{
df -Ik `mount | awk '$3~/jfs/ {printf $2 " "}'` | sed -e '/^[^ ][^ ]*$/{
################################################################################
Pierre
Richard Leon <rleon at racenter.com>
2007-01-04 07:39
Please respond to
hobbit at hswn.dk
To
hobbit at hswn.dk
cc
Subject
[hobbit] Ignore NFS
I searched the archive and found a few posts about monitoring nfs mounts.
But how can I ignore nfs mounts from showing up?
Weekly ignite backups mount a filesystem and unmount it.
I would like to ignore this filesystem on the clients but have it
monitored on the server.
How can I go about this?
And also how can I delete the extra chart that it created today.
For now I just set the default higher so it would not page out.
Thanks
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070104/382dfc11/attachment.html>
More information about the Xymon
mailing list