best script to monitor pool status?

Posted:
Mon Feb 06, 2017 3:53 pm
by Ikukuru
I am looking for recommendations to do regular monitoring of my zpool and notify me if there is a disk failure, or errors, etc.
thanks
Re: best script to monitor pool status?

Posted:
Mon Feb 06, 2017 4:02 pm
by lundman
zed has the feature of running scripts when events happen, like that of degradation and so on, and comes with a few scripts - send email etc. Don't know if any of them work, since we inherited them from ZOL.
Someone on here also wrote a menubar icon util, which could do what you want.
Re: best script to monitor pool status?

Posted:
Wed Feb 08, 2017 7:12 pm
by neweralexwasserman
I wrote a menu-bar utility. It's crap from a dev perspective, but gets the job done.

- screen shot 2017-02-08 at 10.11.13 pm.png (95.3 KiB) Viewed 5815 times
https://github.com/alexwasserman/ZFSStatusScript