salt-common/sls/watchdog/watchdog.conf.tpl
Antsiferov Grigory e727626509 * sls/watchdog/watchdog.conf.tpl
Use pillar instead of grains, interval and logtick 10 seconds.
2016-08-07 13:42:21 +03:00

26 lines
867 B
Smarty

# Defaults compiled into the binary
watchdog-device = /dev/{{ salt['pillar.get']('watchdog_device', 'watchdog') }}
admin = root
interval = 10
logtick = 10
log-dir = /var/log/watchdog
# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
realtime = yes
priority = 1
# Check if sshd is still running
# pidfile = /run/sshd.pid
# Uncomment to enable test. Setting one of these values to '0' disables it.
# These values will hopefully never reboot your machine during normal use
# (if your machine is really hung, the loadavg will go much higher than 25)
#max-load-1 = 24
#max-load-5 = 18
max-load-15 = 120 # use auto-generated values from cpu count here?
# Note that this is the number of pages!
# To get the real size, check how large the pagesize is on your machine.
# min-memory = 4
# allocatable-memory = 4