pyupsmon/pyupsmon.yml.example

37 lines
646 B
Plaintext
Raw Permalink Normal View History

2017-09-07 16:27:39 +02:00
# Serial port parameters
serial:
# Serial port the UPS is connected to
#
# Default: /dev/ttyS0
#port: /dev/ttyS0
# Baud rate to set for the serial port
#
# Default: 2400
#baudrate: 2400
# Daemon settings
daemon:
# UPS query interval (in seconds)
#
# Default: 1.0
#interval: 2
# Enable debug output?
#
# Default: 0
#debug: 1
# Shutdown settings
shutdown:
# Shutdown the monitoring host after this many seconds
# on battery (0 to disable)
#
# Default: 3600.0
#timeout: 180.0
# Shutdown command to execute after timeout expired
#
2017-09-07 16:37:43 +02:00
# Default: /sbin/shutdown -h +2
2017-09-07 16:27:39 +02:00
#command: /sbin/shutdown -h now