How to configure to panic the system through the software watchdog.

Posted on

Hello,

I have configured a ping item in /etc/watchdog.conf, and when the ping have no response it will do something. but it alwalys reboot instead of panic the system.

Dec 13 18:15:55 nodev7_01 watchdog[2073]: test=none(0) repair=none alive=none heartbeat=none temp=none to=root no_act=no
Dec 13 18:15:55 nodev7_01 systemd: Started watchdog daemon.
Dec 13 18:16:13 nodev7_01 watchdog[2073]: no response from ping (target: 172.31.14.1)
Dec 13 18:16:23 nodev7_01 watchdog[2098]: shutting down the system because of error 2

The soft_panic parameter of softdog module is set to 1 ,I want to panic the system when trigger the conditions, and how to setup the configuration.

Responses