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.
This commit is contained in:
@@ -45,3 +45,12 @@ networkd_networks:
|
||||
|
||||
samba_interfaces:
|
||||
- enp5s0
|
||||
|
||||
nut_monitor_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
33336330623563356364343833616665343930643764333863613036303530396232333062326466
|
||||
3035366466373630326664613335393661393830613137390a643966663637623332333163653263
|
||||
65356437323532313664306637353634376430316638326639626462346562326634316237363266
|
||||
3531323430393763310a346238316432653962336332613239616566666233303831303539353463
|
||||
33383935633432636334313531316533616231336662653735383661333630663830303264393965
|
||||
3365393866313665653530343635313762366637303733393434
|
||||
|
||||
@@ -45,3 +45,14 @@ networkd_networks:
|
||||
|
||||
samba_interfaces:
|
||||
- enp5s0
|
||||
|
||||
# Start shutting down the second VM host as soon as we lose the first UPS
|
||||
nut_monitor_minsupplies: 2
|
||||
nut_monitor_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63386530636535613663666261393132346564613365613866353638316164386365383831363439
|
||||
6437373831346664333965633936666437366338363034640a353532626531326639393938643463
|
||||
33386261386430396639333961323864633030383232353063376264396332333162616336643739
|
||||
6234323164393336620a396532313963353733663661393662313731363466316138633835386630
|
||||
34653731336331653535333465393934323738613534643934346238646461323363363336326337
|
||||
3937303465623136343730333033313766633863666539363462
|
||||
|
||||
Reference in New Issue
Block a user