nut and acme working
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# File configured by Ansible playbook
|
||||
# Configuration reference:
|
||||
# https://man.archlinux.org/man/upsmon.conf.5
|
||||
# Reference documentation:
|
||||
# https://networkupstools.org/docs/man/upsmon.conf.html
|
||||
|
||||
{% for ups in nut_client_ups_devices %}
|
||||
{% if ups.type == 'primary' %}
|
||||
@ -21,13 +21,13 @@ HOSTSYNC {{ nut_client_hostsync | default('30') }}
|
||||
POLLFREQALERT 5
|
||||
POLLFREQ 5
|
||||
MINSUPPLIES {{ nut_client_min_supplies | default('1') }}
|
||||
CERTPATH /usr/ssl/certs
|
||||
CERTPATH /etc/ssl/certs
|
||||
FORCESSL 1
|
||||
CERTVERIFY 1
|
||||
NOTIFYCMD {{ nut_client_notify_cmd | default('/usr/bin/notify-send') }}
|
||||
{% for message in nut_client_notify_messages %}
|
||||
NOTIFYCMD "{{ nut_client_notify_cmd | default('/usr/bin/notify-send') }}"
|
||||
{% for message in (nut_client_notify_messages | default([])) %}
|
||||
NOTIFYMSG {{ message.name }} {{ message.message }}
|
||||
{% endfor %}
|
||||
{% for notify in nut_client_notify_flags %}
|
||||
{% for notify in (nut_client_notify_flags | default([])) %}
|
||||
NOTIFYFLAG {{ notify.name }} {{ notify.flags }}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user