[Xymon] Support for ZFS?

John Thurston john.thurston at alaska.gov
Tue Mar 11 17:35:00 CET 2014


On 3/10/2014 5:03 PM, Lists wrote:
> Xymon 4.3.7 doesn't seem to report on partitions created/mounted on ZFS.
>
> Here's some sample output from df:
>
> [root at hume db2]# df
> Filesystem            1K-blocks       Used   Available Use% Mounted on
> /dev/sdh2              20161204    3285836    15851228  18% /
> tmpfs                   1461616          0     1461616   0% /dev/shm
> /dev/sdh1                101086      71234       24633  75% /boot
> /dev/sdm1            2884252924 2605050008   249900596  92% /media/a2012
> bpart/db1            2995879424  728979328  2266900096  25% /bpart/db1
> zfspool             12188961408        384 12188961024   1% /zfspool
> zfspool/db          13033537920  844576896 12188961024   7% /mnt/db
> zfspool/host          209715200   50983680   158731520  25% /backups/host
>
> Is there a recommended way to set up support for ZFS? I'm not looking
> for anything elaborate; simple reporting of free space as is the default
> for other FS types would be fine for my needs.

It is my understanding that the newer Xymon clients for Solaris report 
on zfs. What operating system and client are you running?

I use an old BB client to report to my Xymon servers. By modifying 
'etc/bbsys.local' on the client, I was able to make it report zfs 
information. I modified the definition of 'DF' to include zfs.
   DF="( /bin/df -F zfs -kl ; /bin/df -F tmpfs -kl )"

[ By digging through the email archives, I determined that the lack of 
reporting for zfs dated back to 1999 when this DF definition was 
introduced. The DF was introduced to provide better reporting of 
information for swap. At that time, zfs didn't exist, so there was no 
reason to consider how the improvement to swap-reporting might affect it. ]

-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list