Difference between revisions of "Manual:System/Watchdog"
|Line 77:||Line 77:|
Revision as of 10:21, 26 April 2010
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.
|reboot-on-failure (yes | no; Default: )||Whether to reboot on kernel panic|
|watch-address (IP; Default: none)||The system will reboot in case 6 sequental pings to the given IP address (sent once per 10 seconds) will fail. If set to none this feature is disabled.|
|watchdog-timer (yes | no; Default: yes)||Whether to reboot if system is unresponsive for a minute|
|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.|
|automatic-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"|
|auto-send-supout (yes | no; Default: no)||After the support output file is automatically generated, it can be sent by email|
|send-email-from (string; Default: )||e-mail address to send the support output file from. If not set, the value set in /tool e-mail is used|
|send-email-to (string; Default: )||e-mail address to send the support output file to.|
|send-smtp-server (string; Default: )||SMTP server address to send the support output file through. If not set, the value set in /tool e-mail is used.|
To make system generate a support output file and sent it automatically to firstname.lastname@example.org throught the 192.0.2.1in case of a software crash:
[admin@MikroTik] system watchdog> set auto-send-supout=yes \ \... email@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: firstname.lastname@example.org [admin@MikroTik] system watchdog>[Back to Content]