System Watchdog
Document revision: | 1.2 (Tue Mar 09 08:45:49 GMT 2004) |
Applies to: | V2.9 |
General Information
Summary
System watchdog feature is needed to reboot the system in case of software failures.
Specifications
Packages required: systemLicense required: Level1
Submenu level: /system watchdog
Standards and Technologies:
Hardware usage: Not significant
Hardware Watchdog Management
Submenu level: /system watchdogDescription
This menu allows to configure system to reboot on kernel panic, when an IP address does not respond, or in case the system has locked up. Software watchdog timer is used to provide the last option, so in very rare cases (caused by hardware malfunction) it can lock up by itself. There is a hardware watchdog device available in RouterBOARD hardware, which can reboot the system in any case.
Property Description
reboot-on-failure (yes | no; default: no) - whether to reboot on kernel panic watch-address (IP address; default: none) - if set, the system will reboot in case 6 sequental pings to the given IP address (sent once per 10 seconds) will failExample
To make system generate a support output file and sent it automatically to support@example.com throught the 192.0.2.1in case of a software crash:
[admin@MikroTik] system watchdog> set auto-send-supout=yes \ \... send-to-email=support@example.com send-smtp-server=192.0.2.1 [admin@MikroTik] system watchdog> print reboot-on-failure: yes watch-address: none watchdog-timer: yes no-ping-delay: 5m automatic-supout: yes auto-send-supout: yes send-smtp-server: 192.0.2.1 send-email-to: support@example.com [admin@MikroTik] system watchdog>