Menu

Tree [510bfc] master /
 History

HTTPS access


File Date Author Commit
 LICENSE 2016-04-30 Michael Renner Michael Renner [510bfc] Initial commit
 README 2016-04-30 Michael Renner Michael Renner [510bfc] Initial commit
 susv_capbat 2016-04-30 Michael Renner Michael Renner [510bfc] Initial commit
 susv_pwr 2016-04-30 Michael Renner Michael Renner [510bfc] Initial commit
 susv_vin 2016-04-30 Michael Renner Michael Renner [510bfc] Initial commit

Read Me

Three simple scripts for Munin to monitors the UPS for the Raspberry Pi.

Version: 0.1
author: Michael Renner <michael.renner@gmx.de>

Requirements:
The binary /opt/susvd/susv
An additional entry in the munin-conf:
 [susv_*]
   user root

Install:
Copy the three files to /etc/munin/plugins/ at your RaspberryPi with the S.USV and
make them executable. Add the new section to /etc/munin/plugin-conf.d/munin-node.

Then, let munin search for the new plugins:
$ sudo munin-node-configure --suggest --shell

You should get three commands to create new symbolic links:
ln -s '/usr/share/munin/plugins/susv_capbat' '/etc/munin/plugins/susv_capbat'
ln -s '/usr/share/munin/plugins/susv_pwr' '/etc/munin/plugins/susv_pwr'
ln -s '/usr/share/munin/plugins/susv_vin' '/etc/munin/plugins/susv_vin'


Execute these commands and restart the munin-node deamon:
$ sudo ln -s '/usr/share/munin/plugins/susv_capbat' '/etc/munin/plugins/susv_capbat'
$ sudo ln -s '/usr/share/munin/plugins/susv_pwr' '/etc/munin/plugins/susv_pwr'
$ sudo ln -s '/usr/share/munin/plugins/susv_vin' '/etc/munin/plugins/susv_vin'
$ sudo /etc/init.d/munin-node restart
[ ok ] Restarting munin-node (via systemctl): munin-node.service.

After a while, maybe 5, mayby 15 minutes, you should see the new "usv" section at your
munin page and soon the values.