From: Michael K. <mic...@ip...> - 2020-09-19 23:08:18
|
Thanks Lonnie I will set it up. Is there any way I can test it? I’m interested in whether Zabbix picks it up e.g. it tells me when a system has been rebooted. Regards Michael Knill Sent from my iPhone so please excuse my brevity. > On 20 Sep 2020, at 1:08 am, Lonnie Abelbeck <li...@lo...> wrote: > > >> On Sep 18, 2020, at 11:19 PM, Michael Knill <mic...@ip...> wrote: >> >> Is there any way I can reboot Astlinux on a kernel panic? >> Would also be good to be notified as well. >> >> Regards >> Michael Knill > > Yes, in your user.conf you can add ... > -- > KERNEL_SYSCTL="kernel.panic=3" > -- > > which will try to reboot after 3 seconds following a kernel panic. > > But, this does not always work if it locked-up tight. > > Another approach is to set WDMODULE to a hardware watchdog module or the generic "softdog" module. Some say the "sp5100_tco" should work on the APU2. > > After a little testing on my APU2 > -- > WDMODULE="sp5100_tco" > -- > works on the newer 4.19.x kernel in AstLinux 1.4-pre-release, but not for AstLinux 1.3.10 and older > > for AstLinux 1.3.10 and older, you can try > -- > WDMODULE="softdog" > -- > > > Lonnie > > > > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |