Difference between revisions of "UPS Monitor"

From Amahi Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
This page is an extention of [[UPS Setup]].  
+
This page is an extention of [[UPS setup]].  
  
 
== Possible configurations ==
 
== Possible configurations ==

Latest revision as of 21:16, 4 July 2011

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.