Interface sensor fails

Bug #795622 reported by Whit Blauvelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watchdog (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: watchdog

syslog:Jun 10 11:57:37 black watchdog[9686]: starting daemon (5.9):
syslog:Jun 10 11:57:37 black watchdog[9686]: int=1s realtime=yes sync=no soft=no mla=24 mem=0
syslog:Jun 10 11:57:37 black watchdog[9686]: ping: no machine to check
syslog:Jun 10 11:57:37 black watchdog[9686]: file: /var/log/syslog:1407
syslog:Jun 10 11:57:37 black watchdog[9686]: pidfile: /var/run/rsyslogd.pid
syslog:Jun 10 11:57:37 black watchdog[9686]: interface: eth0
syslog:Jun 10 11:57:37 black watchdog[9686]: interface: br0
syslog:Jun 10 11:57:37 black watchdog[9686]: test=none(0) repair=none(0) alive=none heartbeat=none temp=none to=root no_act=no
syslog:Jun 10 11:57:37 black kernel: [75280.713899] watchdog (9686): /proc/9686/oom_adj is deprecated, please use /proc/9686/oom_score_adj instead.
syslog:Jun 10 11:57:38 black watchdog[9686]: device eth0 did not receive anything since last check
syslog:Jun 10 11:57:38 black watchdog[9686]: shutting down the system because of error 101

This is nonsense, as eth0 is up, and watchdog is shutting down the system just 1 second after being started, claiming it's not.

Also, watchdog can't ping properly, from a prior try pinging to an address nearby, confirmed by pinging in a console to be available:
syslog.1:Jun 9 15:02:26 black watchdog[2497]: no response from ping (target: [IP address here])
syslog.1:Jun 9 15:02:26 black kernel: [ 133.646779] watchdog (2497): /proc/2497/oom_adj is deprecated, please use /proc/2497/oom_score_adj instead.
syslog.1:Jun 9 15:02:26 black watchdog[2497]: shutting down the system because of error 101

The is Ubuntu 11.04. There's a smaller problem in your sample config file, in that you have it suggesting monitoring /var/log/messages, which isn't used in 11.04.

Revision history for this message
Michael Meskes (meskes) wrote :

Just fyi, the network device check does not check if the interface is up but if the interface receives data, as you can see from the log:

syslog:Jun 10 11:57:38 black watchdog[9686]: device eth0 did not receive anything since last check

Revision history for this message
Paul Crawford (psc-sat) wrote :

Some updates added this month (Jan 2016) add a timer so you get a less "trigger happy" behaviour if the interface is slow in coming up. Currently in the GIT version, but hopefully this will be in a release version 5.15 some time soon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.