diff --git a/ansible/inventory/host_vars/hv00.balsillie.house/nut_client.yaml b/ansible/inventory/host_vars/hv00.balsillie.house/nut_client.yaml index d0f7d89..f404e84 100644 --- a/ansible/inventory/host_vars/hv00.balsillie.house/nut_client.yaml +++ b/ansible/inventory/host_vars/hv00.balsillie.house/nut_client.yaml @@ -1,7 +1,7 @@ nut_client_local_server: true nut_client_shutdown_cmd: /usr/bin/poweroff nut_client_shutdown_exit: "true" -nut_client_hostsync: 120 +nut_client_hostsync: 240 nut_client_notify_cmd: /scripts/notify.sh nut_client_min_supplies: 1 nut_client_ups_devices: @@ -10,11 +10,12 @@ nut_client_ups_devices: type: primary port: 3493 powervalue: 1 +nut_client_notify_messages: + - name: SHUTDOWN + message: "UPSMON shutdown triggered for HV00." + - name: LOWBATT + message: "UPS has reached low battery condition." nut_client_notify_flags: - - name: ONLINE - flags: SYSLOG+WALL+EXEC - - name: ONBATT - flags: SYSLOG+WALL+EXEC - name: LOWBATT flags: SYSLOG+WALL+EXEC - name: FSD diff --git a/ansible/inventory/host_vars/kube00.balsillie.house/nut_client.yaml b/ansible/inventory/host_vars/kube00.balsillie.house/nut_client.yaml index 1dc2ec4..515c998 100644 --- a/ansible/inventory/host_vars/kube00.balsillie.house/nut_client.yaml +++ b/ansible/inventory/host_vars/kube00.balsillie.house/nut_client.yaml @@ -10,6 +10,9 @@ nut_client_ups_devices: type: secondary port: 3493 powervalue: 1 +nut_client_notify_messages: + - name: SHUTDOWN + message: "UPSMON shutdown triggered for KUBE00." nut_client_notify_flags: - name: SHUTDOWN flags: SYSLOG+WALL+EXEC \ No newline at end of file