Files
configpolicy/group_vars/nut-monitor.yml
Dustin C. Hatch 525f2b2a04 nut-monitor: Configure upsmon
`upsmon` is the component of [NUT] that monitors (local or remote) UPS
devices and reacts to changes in their state.  Notably, it is
responsible for powering down the system when there is insufficient
power to the system.
2024-01-19 20:50:03 -06:00

12 lines
354 B
YAML

nut_monitor:
- system: apc1300@nut.pyrocufflink.blue
powervalue: 1
username: '{{ ansible_hostname }}'
password: '{{ nut_monitor_password }}'
- system: apc1500@nut.pyrocufflink.blue
powervalue: 1
username: '{{ ansible_hostname }}'
password: '{{ nut_monitor_password }}'
nut_monitor_minsupplies: 1
nut_monitor_shutdowncmd: /sbin/shutdown -h +0