System Watchdog
Document revision: | 1.3 (February 6, 2008, 4:08 GMT) |
Applies to: | V3.0 |
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 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, but 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
auto-send-supout (yes | no; default: no) - after the support output file is automatically generated, it can be sent by emailautomatic-supout (yes | no; default: yes) - when software failure happens, a file named "autosupout.rif" is generated automatically. The previous "autosupout.rif" file is renamed to "autosupout.old.rif"no-ping-delay (time; default: 5m) - specifies how long after reboot not to test and ping watch-address. The default setting means that if watch-address is set and is not reachable, the router will reboot about every 6 minutes.send-email-from (text; default: "") - e-mail address to send the support output file from. If not set, the value set in /tool e-mail is usedsend-email-to (text; default: "") - e-mail address to send the support output file tosend-smtp-server (text; default: "") - SMTP server address to send the support output file through. If not set, the value set in /tool e-mail is usedwatch-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 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>