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
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
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|uniqRemove nfs
df when using "-l" should never show NFS, this must be something else.
-----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:
On Mon, June 14, 2010 09:35, wiskbroom at hotmail.com wrote:
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|uniqRemove nfs
df when using "-l" should never show NFS, this must be something else.
-----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:
?? I don't see anything in the OP indicating that the issue is with Solaris.
The disk check is one of the murkier, dirtier pieces of Xymon/Hobbit. Although hobbitclient.cfg has variables for DF and DFCMD, it also has (accurate) comments that they are not used anywhere. You do have to hack the OS specific client script to alter the df behavior. For Solaris, you need to edit the hobbitclient-sunos.sh line noted above and remove both the "-l" and the superfluous "nfs". For Linux, you need to edit hobbitclient-linux.sh and change the "df -Pl" to "df -P", at least in the version I'm running.
I forgot to mention. It is a solaris 10 sparc box (v490).
Até mais,
Paulo Estrela http://tabugado.com
On Mon, Jun 14, 2010 at 12:34 PM, Xymon User in Richmond <hobbit at epperson.homelinux.net> wrote:
On Mon, June 14, 2010 09:35, wiskbroom at hotmail.com wrote:
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|uniqRemove nfs
df when using "-l" should never show NFS, this must be something else.
-----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:
?? I don't see anything in the OP indicating that the issue is with Solaris.
The disk check is one of the murkier, dirtier pieces of Xymon/Hobbit. Although hobbitclient.cfg has variables for DF and DFCMD, it also has (accurate) comments that they are not used anywhere. You do have to hack the OS specific client script to alter the df behavior. For Solaris, you need to edit the hobbitclient-sunos.sh line noted above and remove both the "-l" and the superfluous "nfs". For Linux, you need to edit hobbitclient-linux.sh and change the "df -Pl" to "df -P", at least in the version I'm running.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Now is working fine! Thanks everybody!
Paulo Estrela http://tabugado.com
On Mon, Jun 14, 2010 at 12:34 PM, Xymon User in Richmond <hobbit at epperson.homelinux.net> wrote:
On Mon, June 14, 2010 09:35, wiskbroom at hotmail.com wrote:
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|uniqRemove nfs
df when using "-l" should never show NFS, this must be something else.
-----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:
?? I don't see anything in the OP indicating that the issue is with Solaris.
The disk check is one of the murkier, dirtier pieces of Xymon/Hobbit. Although hobbitclient.cfg has variables for DF and DFCMD, it also has (accurate) comments that they are not used anywhere. You do have to hack the OS specific client script to alter the df behavior. For Solaris, you need to edit the hobbitclient-sunos.sh line noted above and remove both the "-l" and the superfluous "nfs". For Linux, you need to edit hobbitclient-linux.sh and change the "df -Pl" to "df -P", at least in the version I'm running.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
hobbit@epperson.homelinux.net
-
kkelly@lifetouch.com
-
paulojbe@gmail.com
-
wiskbroom@hotmail.com