apcupsd polltime als Variable

This commit is contained in:
Michael Grote 2021-02-16 08:04:40 +01:00
parent b81136753a
commit eb228e997a
3 changed files with 4 additions and 3 deletions

View file

@ -15,8 +15,8 @@
smart_smartctlmail_cron_weekday: "3" smart_smartctlmail_cron_weekday: "3"
### mgrote.zfs_extra # Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_* ### mgrote.zfs_extra # Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_*
zfs_extra_max_usage_health: "80" zfs_extra_max_usage_health: "80"
### mgrote.apcupsd
apcupsd_slave_polltime: 10 #in Sekunden
# Ansible Variablen # Ansible Variablen
### sudo ### sudo

View file

@ -8,6 +8,7 @@
apcupsd_slave_batterylevel_for_shutdown: 60 apcupsd_slave_batterylevel_for_shutdown: 60
apcupsd_slave_minutes_for_shutdown: 11 apcupsd_slave_minutes_for_shutdown: 11
apcupsd_slave_nologon_when_active: always apcupsd_slave_nologon_when_active: always
apcupsd_slave_polltime: 10 #in Sekunden
apcupsd_nis_master: on apcupsd_nis_master: on
apcupsd_nis_master_hostname: pve2.grote.lan apcupsd_nis_master_hostname: pve2.grote.lan

View file

@ -7,7 +7,7 @@ DEVICE {{ apcupsd_nis_master_hostname }}:{{ apcupsd_nis_master_listen_port }}
LOCKFILE /var/lock LOCKFILE /var/lock
UPSCLASS standalone UPSCLASS standalone
UPSMODE disable UPSMODE disable
POLLTIME 10 POLLTIME {{ apcupsd_slave_polltime }}
ONBATTERYDELAY {{ apcupsd_slave_onbatterydelay }} ONBATTERYDELAY {{ apcupsd_slave_onbatterydelay }}
BATTERYLEVEL {{ apcupsd_slave_batterylevel_for_shutdown }} BATTERYLEVEL {{ apcupsd_slave_batterylevel_for_shutdown }}