mg
5c8c608ab4
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#325 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
---
|
|
## Values: http://www.apcupsd.org/manual/manual.html
|
|
|
|
## Master
|
|
# Wenn "true" ist dieser Host master.
|
|
apcupsd_nis_master: true
|
|
|
|
# Interface auf dem der "Master" erreichbar ist.
|
|
apcupsd_nis_master_listen_ip: 0.0.0.0
|
|
|
|
# Post auf dem der "Master" erreichbar ist.
|
|
apcupsd_nis_master_listen_port: 3551
|
|
|
|
# Name der USV
|
|
apcupsd_ups_name: APC-BX950U-GR
|
|
|
|
## Slave
|
|
# Zeitspanne zwischen dem pollen
|
|
apcupsd_slave_polltime: 10 #in Sekunden
|
|
|
|
|
|
## Master & Slave
|
|
# FQDN oder IP des "master"
|
|
apcupsd_nis_master_hostname: pve2.grote.lan
|
|
|
|
# Zeitspanne in Sekunden, ab der der Systemdienst einen Stromausfall annimmt. Nuetzlich, um sehr kurze Ausfaelle ignorieren zu koennen.
|
|
apcupsd_master_onbatterydelay: 10
|
|
apcupsd_slave_onbatterydelay: 10
|
|
|
|
# Durch die USV gemeldete Restkapazitaet in Prozent, ab der der Rechner heruntergefahren wird.
|
|
apcupsd_master_batterylevel_for_shutdown: 50
|
|
apcupsd_slave_batterylevel_for_shutdown: 60
|
|
|
|
# apcupsd will shutdown the system during a power failure when the remaining runtime on batteries as internally calculated by the UPS falls below the specified minutes. Jeweils Master und Slave.
|
|
apcupsd_master_minutes_for_shutdown: 10
|
|
apcupsd_slave_minutes_for_shutdown: 11
|
|
|
|
# Specifies when apcupsd should create the NOLOGON file to prevent users from logging on to the system. Jeweils Master und Slave.
|
|
apcupsd_master_nologon_when_active: always
|
|
apcupsd_slave_nologon_when_active: always
|