Skip to content

watchdogd v3.1

Compare
Choose a tag to compare
@troglobit troglobit released this 27 Jun 19:51
· 272 commits to master since this release

Changes

  • Supervised processes can now also cause reset if the ACK sequence is wrong when kicking or unsubscribing
  • Issue #7: Add support for callback script to the process supervisor: script = /path/to/script.sh in the supervisor {} section enables it. When enabled all action is delegated to the script, which is called as: script.sh supervisor CAUSE PID LABEL. For more information, see the manual for watchdogd.conf
  • A new command 'fail' has been added to watchdogctl. It can be used with the supervisor script to record the reset cause and do a WDT reset. The reset CAUSE can be forwarded by the script to record the correct (or another) reset cause
  • Add -p PID to watchdogctl. Works with reset and fail commands
  • Always warn at startup if driver/WDT does not support safe exit, i.e. "magic close"
  • Issue #4: Add warning if .conf file cannot be found
  • Issue #5: Add recorded time of reset to reset cause state file

Fixes

  • Omitting critical/reboot level from a checker plugin causes default value of 95% to be set, causing reboot by loadavg plugin. Fixed by defaulting to 'off' for checker/monitor critical/reboot level
  • Issue #6: mismatch in label length between supervised processes and that in wdog_reason_t => increase from 16 to 48 chars
  • Issue #11: problem disabling the process supervisor at runtime, it always caused a reboot