Date: Thu, 28 Mar 2024 10:45:30 +0200 (EET) Message-ID: <300115188.13013.1711615530226@help.mikrotik.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_13012_1679281612.1711615530223" ------=_Part_13012_1679281612.1711615530223 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Sub-menu: /system watchdog
This menu allows the configuring system to reboot, when a specific IP ad= dress does not respond, or when it detects, that the software has locked up= . The detection is done in two ways:
Note: = These are two different Watchdog features and both have their own se= ttings. By default software Watchdog is enabled and ping Watchdog is disabl= ed. You can enable ping Watchdog by specifying an IP address and you can di= sable the software Watchdog by unsetting the Watchdog Timer option.<= /p>
Note: Watch= dog reboot is not a system failure. Such reboot also will not generate auto= supout file. Watchdog reboot is "/system reboot" automatically triggered by= operating system when some service is not responding as fast as it should.= Reasons for that can vary between damaged hardware, slow software implemen= tation for some service, DDoS attack, bad configuration and others.<= /span>
Property | Description |
---|---|
auto-send-supout (yes | no<= /em>; Default: no) |
After the support output file is automatically generated, it can be sent= by email. |
automatic-supout (yes | no<= /em>; Default: yes) |
When software failure happens, a file named "autosupout.rif" is generate= d automatically. The previous "autosupout.rif" file is renamed to "autosupo= ut.old.rif". |
no-ping-delay (time; D= efault: 5m) |
Specifies how long will it wait before trying to reach the watch-address= . |
ping-timeout (time; De= fault: 60s) |
Specifies the time interval in which the device will be pinged 6 times (= after "no-ping-delay"). |
send-email-from (string; Default: ) |
The 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: ) |
The 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. |
watch-address (IP; Def= ault: ) |
The system will reboot, in case 6 sequential pings to the given IP addre= ss will fail. If set to none this feature is disabled. By default, the rout= er will reboot every 6 minutes if the watch-address is set and not reachabl= e. |
watchdog-timer (yes | no; Default: yes) |
Whether to reboot if a system is unresponsive for a minute. |
To make system generate a support output file and sent it automatically = to support@example.com through the 192.0.2.1in case of a software crash:
[admin@MikroTik] system/= watchdog/ set auto-send-supout=3Dyes \ \... send-to-email=3Dsupport@example.com send-smtp-server=3D192.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