UPS Monitor

From Amahi Wiki
Jump to: navigation, search

This page is an extention of UPS setup.

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.