Solaris vxfs filesystem monitor.
Brian Catlin
bcatlin at gmail.com
Fri Sep 4 02:13:24 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090903/4307ffa3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faint_grain.jpg
Type: image/jpeg
Size: 1458 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090903/4307ffa3/attachment.jpg>
More information about the Xymon
mailing list