[hobbit] NFS mounts in disk section

Kevin Kelly kkelly at lifetouch.com
Fri Jun 11 21:52:03 CEST 2010


You need to edit hobbitclient-sunos.sh

The following line:
FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v "^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniq`

Remove nfs


-----Original Message-----
From: Paulo Estrela [mailto:paulojbe at gmail.com] 
Sent: Friday, June 11, 2010 8:40 AM
To: hobbit at hswn.dk
Subject: [hobbit] NFS mounts in disk section

Hi,

I'm using Xymon 4.2.3 to monitor some UNIX/Linux servers. Serveral of
them mounts NFS exports via automount from a NetApp Filer that I don't
have access. Is it possible to show these mounts like partitions in
disk section? Now I have this:

Filesystem            kbytes    used   avail capacity  Mounted on
sharefs                    0       0       0     0%    /etc/dfs/sharetab
swap                 35311416    1616 35309800     1%    /etc/svc/volatile
swap                 35316104    6320 35309784     1%    /tmp
/dev/md/dsk/d10      8077589 1054407 6942407    14%    /
/dev/md/dsk/d30      13018467 3735788 9152495    29%    /usr
/dev/md/dsk/d40      10091716 1484894 8505905    15%    /var
/dev/md/dsk/d50      17146994 2438027 14537498    15%    /opt
/dev/md/dsk/d60      59179332 2325562 56261977     4%    /free

I would like to include NFS in this list:

Filesystem             size   used  avail capacity  Mounted on
swap                    34G   6.2M    34G     1%    /tmp
swap                    34G    48K    34G     1%    /var/run
/dev/md/dsk/d10        7.7G   1.0G   6.6G    14%    /
swap                    34G   1.6M    34G     1%    /etc/svc/volatile
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/md/dsk/d30         12G   3.6G   8.7G    29%    /usr
/dev/md/dsk/d40        9.6G   1.4G   8.1G    15%    /var
/dev/md/dsk/d50         16G   2.3G    14G    15%    /opt
/dev/md/dsk/d60         56G   2.2G    54G     4%    /free
cristal:/vol/vfbd1/ep_dba_pdt_pangea/oracle      180G    62G   118G
35%    /opt/oracle
cristal:/vol/vfbd2/ep_dba_instance                       540G   289G
251G    54%    /oracle/instance
cristal:/vol/vfbd5/ep_dba_instance_mirror          180G    56G   124G
  32%    /oracle_mirror/instance
cristal:/vol/vfbd1/ep_dba_pdt_hostname/cobol      180G    62G   118G
 35%    /opt/microfocus
cristal:/vol/vfbd4/ep_dba_instance2                       450G   208G
 242G    47%    /oracle/instance2
cristal:/vol/vfbd3/ep_dba_instance2_mirror          405G    86G   319G
   22%    /oracle_mirror/instance2
cristal:/vol/vfbd1/ep_dba_pdt_hostname/oem        180G    62G   118G
 35%    /opt/oem
cristal:/vol/vfbd1/ep_dba_pdt_hostname/bmc        180G    62G   118G
 35%    /opt/bmc


Thanks, and congratulations for this very good software!

Paulo Estrela
http://tabugado.com

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
_____________________________________________________________________


More information about the Xymon mailing list