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
-----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 |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 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-----
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
On Mon, May 2, 2011 at 11:54 PM, Ryan Novosielski <novosirj at umdnj.edu> 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 |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 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-----
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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
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
On Mon, May 9, 2011 at 10:26 PM, cED <work at infomaniak.ch> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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: 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.
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
participants (3)
-
everett.vernon@gmail.com
-
novosirj@umdnj.edu
-
work@infomaniak.ch