Eaton UPS integration

Install the latest wavestore-eaton-ups package.

Once installed, a check will be performed every 5 minutes. This is currently not configurable and may never be.

Every 5 minutes a check is performed as follows:

The server configuration is inspected to see if a [EatonUPS] section exists. If it does not, the check is complete and nothing is done.

The [EatonUPS] section can look something like this:

[EatonUPS]
IP=10.1.2.3
Port=123
Threshold=50
Community=mycommunity

Only the IP parameter is mandatory. The defaults for the other parameters are:

  • Port - 161
  • Threshold - 20 (percent)
  • Community - "public"

If the section exists with an IP parameter, SNMP is used to query the UPS capacity percentage. If successfully retrieved, this is logged. If the capacity is below the threshold, a Fault is logged and the system is powered off.

The mechanism can be disabled by deleting the EatonUPS section, or setting the Threshold to zero.

The checks are performed on every 5th minute past the hour, e.g. 09:00, 09:05, 09:10... 09:35, 09:40, etc. If the Wavestore is powered on at 09:39 and the battery is still below threshold, it will power off again, so it may need restarting and the system should be disabled quickly.