UPS Monitor

From Amahi Wiki
Revision as of 20:03, 4 July 2011 by SolaR (talk | contribs) (Creation of page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Possible configurations

Monitor Network UPS

Add an ACL to the upsd.conf configuration file on the host that has the UPS connected to it to let the HDA be able to read the values from nut:

ACL slaves 192.168.0.0/24
ACCEPT slaves

On the HDA add a new line to /etc/ups/hosts.conf:

MONITOR myups@remotehost "Description"

You can add multiple remote hosts to this file.

Create custom monitor template

You can edit the html templates for nut which are located in /etc/ups/.

See man upsstats.cgi for the available variables.