[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solaris vxfs filesystem monitor.
- To: <hobbit (at) hswn.dk>
- Subject: Solaris vxfs filesystem monitor.
- From: "Brian Catlin" <bcatlin (at) gmail.com>
- Date: Thu, 3 Sep 2009 20:13:24 -0400 (Eastern Daylight Time)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:message-id:date :content-type:x-mailer:from:x-fid:x-priority:to:subject; bh=etc9CWVw1A8GjziTuRdZ/tMuEOrluyQ/AunqOqklfz8=; b=bYaC6Ehu42+idAv6bHpg3bpi6FrfgaT/C/qPKwy2YUZCrK7FamrmFxOulVVbT8c3A4 7mVNkjNOmGC/JKtdK304nAXZ4B6ZO0f9frNKK5kHKtMh9HvqGte7YlLQDlLTOtUuNbj8 sHAZq6lCTirr9FBsT92NV62YxQS/Pvu7rKSeg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:message-id:date:content-type:x-mailer:from:x-fid :x-priority:to:subject; b=T0GZKj3hQ2kv1ZLg9dHbXofkYDwIF1iwF1lrSjC2QpqOlb1S1LSGQ3+6gflsjIcS52 6BalWATOzz8VOt1u3K9ixc6/iJnX+R0Hm9/cAXg3ubeXLxh/ah5Z7cqN2NCQudHwfzlt otgMXGSPuzQ76+cp4zJADHERhLKYCiHBoSUBI=
With Xyxmon - I am not using a specific monitor for the veritas file systems
on my server. The default script does not let them be seen in the display
I edited the $BB_HOME/bin/hobbitclient-sunos.sh script to fix this. I
would like to recommend this to be included in future builds - Its a simple
change:
Ine 25:
FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniq`
Change to:
FSTYPES=`/bin/df -n -l|awk -F: '{print $2}'|egrep -v
^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniq`
This allows the display of the vxfs filesystems.
The issue is the way they output under the default. Most have a space in
front of the colon, but veritas does not - its colon abuts the first field.
By splitting on the colon, yo get what is intended.
This may apply under other OS's, but I don't have ay with veritas outside of
the solaris one.
lurch (at) inorbit.com