[hobbit] hobbit client on AIX

Stef Coene stef.coene at docum.org
Fri Feb 2 14:39:43 CET 2007


On Friday 02 February 2007 14:19, pmalenfa at videotron.ca wrote:
> Hi Stef,
>
> On AIX, there is more than just excluding NFS and /proc.
>
> In fact, you just want JFS and JFS2 vfs types.  All other (procfs, nfs,
> cifs, etc) should not be checked with df at all for 2 reasons:
>
> - You will hang the df command if the remote host is not responding
> - Only jfs/jfs2 are usefull.
>
> Personnaly, what I do is the following (I'm sure there could be
> other/better methods):
>
> 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 '/^[^  ][^ ]*$/{
> ###########################################################################
>#####
Nice done.  

I just tested it on my AIX servers, and it is working flawless.


Henrik, can you change this for the next release ?


Stef



More information about the Xymon mailing list