[hobbit] ZFS Monitoring Script
shea_greg at emc.com
shea_greg at emc.com
Thu Apr 12 17:32:34 CEST 2007
Hi,
Here's some output from one of my Sol10 boxes running ZFS.
Don't quote me but I think the filesystems are carved up from
the ZFS pools.
-Grs-
Gregory R Shea
EMC Corporation
[hobbit at solaris10 ]$ df -n -l
/ : ufs
/devices : devfs
/system/contract : ctfs
/proc : proc
/etc/mnttab : mntfs
/etc/svc/volatile : tmpfs
/system/object : objfs
/dev/fd : fd
/tmp : tmpfs
/var/run : tmpfs
/data : zfs
/data/docp1 : zfs
/data/docp1/dctm : zfs
/data/docp1/dctm/data: zfs
[hobbit at solaris10 ]$ /usr/sbin/zpool list -H
node_apps 123M 6.83M 116M 5% ONLINE -
ofcdocp1 7.94G 86K 7.94G 0% ONLINE -
ofcdocp1_data 398G 86K 398G 0% ONLINE -
ofcdocp1_doc 99.5G 88K 99.5G 0% ONLINE -
[hobbit at solaris10 ]$ df -lk
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/emcpower2a 12392428 4946137 7198443 41% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 6953160 1280 6951880 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
fd 0 0 0 0% /dev/fd
swap 6951992 112 6951880 1% /tmp
swap 6951928 48 6951880 1% /var/run
node_apps 93184 6911 86204 8% /data
ofcdocp1 8193024 25 8192941 1% /data/docp1
ofcdocp1_doc 102703104 26 102703019 1%
/data/docp1/dctm
ofcdocp1_data 410812416 24 410812333 1%
/data/docp1/dctm/data
-----Original Message-----
From: Rich Smrcina [mailto:rsmrcina at wi.rr.com]
Sent: Thursday, April 12, 2007 11:13 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] ZFS Monitoring Script
I concur, unless there's something specific that ZFS provides that is
critical to monitor. This way the back end client code will be similar
to (or the same as) that for Linux.
Charles Goyard wrote:
> Hi,
>
> Mike Rowell wrote :
>> File system sizes are set to alert yellow at 80% capacity and red at
>> 90%, the variables to alter this are at the top of the file.
>
> I don't know about ZFS, but are these the same kind of values "du"
> reports ? If so, maybe it's a duplicate, or maybe you should format
the
> output the way "disk" does.
>
> Just a question/suggestion.
>
> Regards,
>
--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service: 360-715-2467
rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list