ZFSMON (Nice WebApp to Monitor your ZFS Datasets)

https://github.com/CRBS/zfsmon
(Follow CRBS’s README for more info – I had to run into a few walls / do dome debugging in order for everything to work without issue on FreeBSD 10)
(Get Ruby and Gem and Bundle functioning)
(Get MySQL functioning)

(On Server):
# git clone https://github.com/CRBS/zfsmon
# cd zfsmon/webapp
# ruby start.rb run (will run with output to console (easier debugging) start will background it)

Browse to localhost:4567 (default) to test – I had to compete some debugging, reinstall some Gems etc…

(On Client (see CRBS’s README for more)):
# git clone https://github.com/CRBS/zfsmon
# cd zfsmon
# pip install requests
# easy_install zfsmond-0.3.1-py2.7.egg
# cp local/zfsmond.conf /etc/
# vim /etc/zfsmond.conf

(Modify accordingly, replace web address with appropriate host / port)

# crontab -e
(paste) */15 * * * * /usr/local/bin/updater.py
(esc :wq enter)

# /usr/local/bin/updater.py

Browse to localhost:4567 (default) to test – I had to compete some debugging, reinstall some Gems etc…

Leave a Reply

Your email address will not be published. Required fields are marked *