Xymon Mailing List Archive search

NFS mounts in disk section

list Xymon User in Richmond
Mon, 14 Jun 2010 11:34:21 -0400
Message-Id: <user-ed9ee8f87b84@xymon.invalid>

On Mon, June 14, 2010 09:35, user-ddebaeecde97@xymon.invalid 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|uniq`

Remove nfs

df when using "-l" should never show NFS, this must be something else.
-----Original Message-----
From: Paulo Estrela [mailto:user-1a357e9f6e54@xymon.invalid]
Sent: Friday, June 11, 2010 8:40 AM
To: user-ae9b8668bcde@xymon.invalid
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.