Xymon Mailing List Archive search

external script : zfs

8 messages in this thread

list cED · Mon, 02 May 2011 15:00:32 +0200 ·
Hi,

I've developped an interesting external script for people needing to
follow zfs files.

All the info about it are hosted on github:
https://github.com/briner/zfs-4-xymon

and you can also check the screenshots here:
https://github.com/briner/zfs-4-xymon/blob/master/doc/zfs-4-xymon.png

Hope that it can helps.

Regards

cED
list cED · Mon, 02 May 2011 16:22:26 +0200 ·
Hi,

I've developped an interesting external script for people needing to
follow zfs files.

All the info about it are hosted on github:
https://github.com/briner/zfs-4-xymon

and you can also check the screenshots here:
https://github.com/briner/zfs-4-xymon/blob/master/doc/zfs-4-xymon.png

Hope that it can helps.

Regards

cED
list Ryan Novosielski · Mon, 02 May 2011 11:54:56 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from cED

On 05/02/2011 10:22 AM, cED wrote:
Hi,

I've developped an interesting external script for people needing to
follow zfs files.

All the info about it are hosted on github:
https://github.com/briner/zfs-4-xymon

and you can also check the screenshots here:
https://github.com/briner/zfs-4-xymon/blob/master/doc/zfs-4-xymon.png

Hope that it can helps.
It probably will. There is one for Big Brother that exists currently. I
didn't need to make any changes for it to work, but it does not do any
graphing. That said, the disk test does. Looking at it now, the tests
that that script does (I use it):

Output of: 'df -F zfs -h'
Output of: 'zpool list'
Output of: 'zpool iostat'
Output of: 'zpool status -x'
Output of: 'zpool status -v'
Output of: 'zpool iostat -v'

HTH.
- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2+09AACgkQmb+gadEcsb7VWQCfY1YR0Lf4bnfQOfp4neMywy1X
Jj4AoKyVX6COipSVEzSyn0W29xwaRcNz
=RJ85
-----END PGP SIGNATURE-----
list Vernon Everett · Tue, 3 May 2011 09:50:42 +0800 ·
Why reinvent the wheel?
http://xymonton.org/doku.php/monitors:bb-zfs
With graphing goodness.

If there's some other features you want added, tell me.

Cheers
     Vernon
quoted from Ryan Novosielski

On Mon, May 2, 2011 at 11:54 PM, Ryan Novosielski <user-ae4522577e16@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/2011 10:22 AM, cED wrote:
Hi,

I've developped an interesting external script for people needing to
follow zfs files.

All the info about it are hosted on github:
https://github.com/briner/zfs-4-xymon

and you can also check the screenshots here:
https://github.com/briner/zfs-4-xymon/blob/master/doc/zfs-4-xymon.png

Hope that it can helps.
It probably will. There is one for Big Brother that exists currently. I
didn't need to make any changes for it to work, but it does not do any
graphing. That said, the disk test does. Looking at it now, the tests
that that script does (I use it):

Output of: 'df -F zfs -h'
Output of: 'zpool list'
Output of: 'zpool iostat'
Output of: 'zpool status -x'
Output of: 'zpool status -v'
Output of: 'zpool iostat -v'

HTH.
- --
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2+09AACgkQmb+gadEcsb7VWQCfY1YR0Lf4bnfQOfp4neMywy1X
Jj4AoKyVX6COipSVEzSyn0W29xwaRcNz
=RJ85
-----END PGP SIGNATURE-----

list cED · Tue, 03 May 2011 11:25:05 +0200 ·
quoted from Vernon Everett
On 05/03/2011 03:50 AM, Vernon Everett wrote:
Why reinvent the wheel?
http://xymonton.org/doku.php/monitors:bb-zfs
With graphing goodness.

If there's some other features you want added, tell me.
we had the problems to identify which of the sub zfs really consumes the
space, due to the fact that the counting of size in a zfs does include
all the size of the subzfs.

We've seen on the new solaris, that zfs does include a new option:
zfs list -t filesystem -o space, which could be used in our scripts.

Can you tell me if the graphing does groups the values by 4 ?

Cheers
     Vernon
cED
list cED · Mon, 09 May 2011 16:26:44 +0200 ·
quoted from Vernon Everett
On 05/03/2011 03:50 AM, Vernon Everett wrote:
Why reinvent the wheel?
http://xymonton.org/doku.php/monitors:bb-zfs
With graphing goodness.

If there's some other features you want added, tell me.
I'd like the possibility to mesure the zfs size itself, without counting
the subzfs.This is what is done through zfs-4-xymon

I'd like to group the graph.

I'd like to have a page which includes snapshot.

Cheers
     Vernon
cED
list Vernon Everett · Tue, 10 May 2011 11:13:28 +0800 ·
Measuring the size can be done, even if we need to manually tally up subzfs.
However, how do we graph the size? It might not make sense. As an
example, I have a 3Tb rpool, and a 100mb rpool on the same server.
(Data and transaction logs.)
On the same graph, any detail for the 100mb rpool will be lost.

Also, xymon is limited to one graph per page, so to graph the zfs size
as you want it, I will lose the rpool size graph as I currently have
it. Which is why I think a new test script is required.

Regards
    Vernon
quoted from cED

On Mon, May 9, 2011 at 10:26 PM, cED <user-fad1cdbad586@xymon.invalid> wrote:
On 05/03/2011 03:50 AM, Vernon Everett wrote:
Why reinvent the wheel?
http://xymonton.org/doku.php/monitors:bb-zfs
With graphing goodness.

If there's some other features you want added, tell me.
I'd like the possibility to mesure the zfs size itself, without counting
the subzfs.This is what is done through zfs-4-xymon

I'd like to group the graph.

I'd like to have a page which includes snapshot.

Cheers
     Vernon
cED
list cED · Tue, 10 May 2011 12:07:37 +0200 ·
Hello Vernon,
Measuring the size can be done, even if we need to manually tally up subzfs.
I do know that this can be done manually, but it is true also that it
takes a lot of time and that it is quite difficult to do it manually.

Furthermore, what I'd like to see when looking at my graphics is to see
which zfs did jump is consumption lately. So in that case, we should not
use the standard output of zfs list. But treat this output to extract
what is the real consumption of the zfs itself (I mean without counting
the subzfs).

This is what has be done on my xymon-scripts.

Notice also that the zfs commands do, now, includes new usefull option
to do this:
quoted from Vernon Everett
zfs list -t filesystem -o space
However, how do we graph the size? It might not make sense. As an
example, I have a 3Tb rpool, and a 100mb rpool on the same server.
(Data and transaction logs.)
On the same graph, any detail for the 100mb rpool will be lost.
mmh, that's why I use percent of use of the zfs related to the pool.
quoted from Vernon Everett
Also, xymon is limited to one graph per page, so to graph the zfs size
as you want it, I will lose the rpool size graph as I currently have
it. Which is why I think a new test script is required.
I do not really understand what is a page in your comment. But check
this screenshots from the git web portal.
https://github.com/briner/zfs-4-xymon/blob/master/doc/zfs-4-xymon.png
Regards
    Vernon
cED