Template:Networking rutos manual auto reboot: Difference between revisions
Gytispieze (talk | contribs) No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
<tr> | <tr> | ||
<td>Action if no echo is received</td> | <td>Action if no echo is received</td> | ||
<td>Device reboot {{#ifeq:{{{mobile}}} | 1 | {{!}} Modem reboot {{!}} Restart mobile connection {{!}} (Re)register}} | <td>Device reboot | None{{#ifeq:{{{mobile}}} | 1 | {{!}} Modem reboot {{!}} Restart mobile connection {{!}} (Re)register {{!}} <span style="color: #20C0D7;"><b>Send SMS</b></span>}}; default: <b>Device reboot</b></td> | ||
<td>Action that will be executed if there is no response after the specified amount of retries. | <td>Action that will be executed if there is no response after the specified amount of retries. If <b>None</b> is selected, only a message to syslog will be logged.</td> | ||
</tr>{{#ifeq:{{{dualmodem}}} | 1 | | |||
<tr> | |||
<td> <span style="color: #20C0D7;"><b>Gateway modem</b></span></td> | |||
<td>Primary modem {{!}} Secondary modem; default: <b>Primary modem</b></td> | |||
<td>Specifies which modem to use for sending the SMS message.</td> | |||
</tr>|}}{{#ifeq:{{{mobile}}} | 1 | | |||
<tr> | |||
<td>Phone Number</td> | |||
<td>phone number(s); default: <b>none</b></td> | |||
<td>Recipient's phone number(s) specified in international format.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Interval | <td>Message text</td> | ||
<td>string; default: <b>none</b></td> | |||
<td>Text to be included in the SMS message.</td> | |||
</tr>|}} | |||
<tr> | |||
<td>Interval</td> | |||
<td>5 mins | 15 mins | 30 mins | 1 hour | 2 hours; default: <b>5 mins</b></td> | <td>5 mins | 15 mins | 30 mins | 1 hour | 2 hours; default: <b>5 mins</b></td> | ||
<td>The frequency at which ping/Wget requests are sent to the specified host.</td> | <td>The frequency at which ping/Wget requests are sent to the specified host.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>Timeout (sec)</td> | ||
<td>integer [1..9999]; default: <b>5</b></td> | <td>integer [1..9999]; default: <b>5</b></td> | ||
<td>Maximum response time. If no echo is received after the amount of time specified in this field has passed, the ping/wget request is considered to have failed.</td> | <td>Maximum response time. If no echo is received after the amount of time specified in this field has passed, the ping/wget request is considered to have failed.</td> | ||
Line 89: | Line 103: | ||
<td>host | ip; default: <b>8.8.8.8</b></td> | <td>host | ip; default: <b>8.8.8.8</b></td> | ||
<td>Hostname or IP address to which the Ping/Wget requests will be sent.</td> | <td>Hostname or IP address to which the Ping/Wget requests will be sent.</td> | ||
</tr>{{#ifeq:{{{mobile}}} | 1 | | </tr>{{#ifeq:{{{mobile}}} | 1 | | ||
<tr> | <tr> | ||
Line 95: | Line 108: | ||
<td>ip; default: <b>8.8.8.8</b></td> | <td>ip; default: <b>8.8.8.8</b></td> | ||
<td>IP address to which the Ping requests will be sent on SIM 1.</td> | <td>IP address to which the Ping requests will be sent on SIM 1.</td> | ||
</tr>|}} | </tr>|}}{{#ifeq:{{{dualsim}}} | 1 | | ||
<tr> | <tr> | ||
<td><span style="color:red">Host to ping from SIM 2</span></td> | <td><span style="color:red">Host to ping from SIM 2</span></td> |
Revision as of 07:57, 8 October 2021
Template:Networking rutos manual fw disclosure
Summary
Various automatic device reboot scenarios can be configured in the Auto Reboot section. Automatic reboots can be used as a prophylactic or precautionary measure that ensures the device will self-correct some unexpected issues, especially related to connection downtime.
This chapter is an overview of the Auto Reboot section of {{{name}}} devices.
If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Advanced" button, located at the top of the WebUI.
Ping/Wget Reboot
The Ping/Wget Reboot functions periodically send ICMP or Wget requests to a specified IP address or host and waits for a response. If no response is received, the device will attempt the same action a defined number of times at a defined frequency. If there is still no response, the device will execute the specified action (reboot, by default).
The Ping/Wget Reboot section contains one pre-configured rule by default:
To enable the default rule, use the off/on slider next to it. You can add more rules with the 'Add' button or delete them using the 'Delete' button. If you wish to customize a rule, click the button that looks like a pencil next to it.
[[File:Networking_rutos_manual_auto_reboot_ping_wget_reboot_settings_configuration_mobile_{{{mobile}}}.png|border|class=tlt-border]]
Field | Value | Description |
---|---|---|
Enable | off | on; default: off | Turns the rule on or off. |
Type | Ping | Wget; default: Ping | Method used for health checking.
|
Action if no echo is received | Device reboot | None; default: Device reboot | Action that will be executed if there is no response after the specified amount of retries. If None is selected, only a message to syslog will be logged. |
Interval | 5 mins | 15 mins | 30 mins | 1 hour | 2 hours; default: 5 mins | The frequency at which ping/Wget requests are sent to the specified host. |
Timeout (sec) | integer [1..9999]; default: 5 | Maximum response time. If no echo is received after the amount of time specified in this field has passed, the ping/wget request is considered to have failed. |
Packet size | integer [0..1000]; default: 56 | ICMP packet size in bytes. |
Try count | integer [1..9999]; default: 2 | Indicates how many additional times the device will try sending requests if the initial one fails. |
Host to ping | host | ip; default: 8.8.8.8 | Hostname or IP address to which the Ping/Wget requests will be sent. |
Reboot Scheduler
The Reboot Scheduler is a function that reboots the device at a specified time interval regardless of other circumstances. It can be used as a prophylactic measure, for example, to reboot the device once at the end of every day.
You can add more rules with the 'Add' button or delete them using the 'Delete' button. If you wish to customize a rule, click the button that looks like a pencil next to it.
The figure below is an example of the Periodic Reboot configuration page and the table below provides information on the fields contained in that page:
Field | Value | Description |
---|---|---|
Enable | off | on; default: off | Turns the rule on or off. |
Action | Device reboot ; default: Device reboot | Action that will be executed at the specified time. |
Week days | Monday| Tuesday| Wednesday| Thursday | Friday | Saturday | Sunday; default: none | Week day(s) when actions will be executed. |
Time | time; default: none | Here you can specify the hour/minute for action to occur. |
[[Category:{{{name}}} Services section]]