Hey Leute,
ich bastel jetzt schon eine ganze weile mit dem Watchdog rum. Allerdings klappt es einfach nicht, habe das System schon oft nur installiert und verschiedene Variablen in der Watchdog Config probiert.
Ich nutze Noobs OS (Raspbian) auf dem Raspberry3
Hier mal das Logfile:
Code
watchdog[1470]: int=10s realtime=yes sync=no soft=no mla=0 mem=0
watchdog[1470]: ping: no machine to check
watchdog[1470]: file: no file to check
watchdog[1470]: pidfile: no server process to check
watchdog[1470]: interface: no interface to check
watchdog[1470]: temperature: no sensors to check
watchdog[1470]: test=none(0) repair=none(0) alive=/dev/watchdog heartbeat=none to=root no_act=no force=no
watchdog[1470]: cannot set timeout 60 (errno = 22 = 'Invalid argument')
watchdog[1470]: hardware watchdog identity: Broadcom BCM2835 Watchdog timer
systemd[1]: Started watchdog daemon.
In der Watchdog Config ist eigentlich gar nichts weiter aktiviert. Am Ende soll Ping, File und Max-load aktiviert werden.
(Für file hab ich dann noch eine Frage, suche nämlich ein Temp-File für Chromium was immer beschrieben wird, Cache Ordner geht leider nicht)
Code
#ping = 172.31.14.1
#ping = 172.26.1.255
#interface = eth0
#file = /var/log/messages
#change = 1407
# 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 = 12
# Note that this is the number of pages!
# To get the real size, check how large the pagesize is on your machine.
#min-memory = 1
#allocatable-memory = 1
#repair-binary = /usr/sbin/repair
#repair-timeout =
#test-binary =
#test-timeout =
watchdog-device = /dev/watchdog
# Defaults compiled into the binary
#temperature-device =
#max-temperature = 120
# Defaults compiled into the binary
#admin = root
interval = 10
#logtick = 1
#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 rsyslogd is still running by enabling the following line
#pidfile = /var/run/rsyslogd.pid
Alles anzeigen