[Xymon] Support for ZFS?
Lists
lists at benjamindsmith.com
Fri Mar 14 02:41:00 CET 2014
I sent the below message a few days ago, but sent it to Ryan rather than
the list. I'd really like to see if there's a "more righter" way to do
this than the somewhat hackish response below.
-Ben
/////////////////
On 03/11/2014 01:36 PM, Novosielski, Ryan wrote:
> These things are configured now in $XYMONCLIENT/bin/xymonclient-$OSTYPE.sh.
Thanks for the tip! It appears that this line is the culprit:
EXCLUDES=`cat /proc/filesystems | grep nodev | awk '{print $2}' | xargs
echo | sed -e 's! ! -x !g'`;
It produces a bunch of "-x $filetype -x $filetype..." output used as an
exclusion for the df command. The output
of this line includes "-x zfs" in the output. Sadly, zfs is marked
"nodev" because it isn't mounted on a normal block device! So a quick
hack is to change to
EXCLUDES=`cat /proc/filesystems | grep nodev | grep -v zfs | awk '{print
$2}' | xargs echo | sed -e 's! ! -x !g'`;
This is by no means a good idea. Better suggestions? Perhaps it would be
a good idea to add a whitelist or something?
Thanks. Ben
More information about the Xymon
mailing list