Line 1: |
Line 1: |
| + | {{Template: Networking_device_manual_fw_disclosure |
| + | | series = {{{series}}} |
| + | | name = {{{name}}} |
| + | | fw_version ={{Template: Networking_device_manual_latest_fw |
| + | | series = {{{series}}} |
| + | | name = {{{name}}} |
| + | }} |
| + | }} |
| + | __TOC__ |
| ==Summary== | | ==Summary== |
| | | |
− | The '''Mobile Traffic''' section contains graphs that display mobile data usage values over different periods of time. | + | The <b>Mobile Traffic</b> page contains graphs that display mobile data usage values over different periods of time. |
| | | |
− | ==Configuration== | + | This chapter of the user manual provides an overview of the Mobile Traffic page for {{{name}}} devices. |
| + | <!-- ==Configuration== |
| | | |
| Mobile Traffic Usage Logging is inactive by default and must first be enabled in the '''Configuration''' section in order to start logging data usage values: | | Mobile Traffic Usage Logging is inactive by default and must first be enabled in the '''Configuration''' section in order to start logging data usage values: |
Line 11: |
Line 21: |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
| <tr> | | <tr> |
− | <th>field name</th> | + | <th>Field</th> |
− | <th>value</th> | + | <th>Value</th> |
− | <th>description</th> | + | <th>Description</th> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Enable</td> | | <td>Enable</td> |
− | <td>yes | no; Default: <b>no</b></td> | + | <td>yes | no; default: <b>no</b></td> |
− | <td>Enables Mobile Traffic Usage Logging (can also be enabled from <b>Services → [[{{{name}}} Modbus|Modbus]]</b>)</td> | + | <td>Enables Mobile Traffic Usage Logging {{#ifeq: {{{name}}} | RUT850 ||(can also be enabled from <b>Services → [[{{{name}}} Modbus|Modbus]]</b>)}}.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Interval between records (sec)</td> | | <td>Interval between records (sec)</td> |
− | <td>integer [3..∞]; Default: <b>10</b></td> | + | <td>integer [3..∞]; default: <b>10</b></td> |
− | <td>Specifies the frequency of logging records (in seconds)</td> | + | <td>Specifies the frequency of logging records (in seconds).</td> |
| </tr> | | </tr> |
− | </table> | + | </table> --> |
− | | |
− | | |
| ==Mobile Traffic Usage periods== | | ==Mobile Traffic Usage periods== |
| | | |
| Different tabs of the Mobile Traffic section display mobile data usage values over different periods of time. This includes: | | Different tabs of the Mobile Traffic section display mobile data usage values over different periods of time. This includes: |
− | * '''Today''' - data usage values for the current day
| + | |
− | * '''Current Week''' - weekly data usage values
| + | <ul> |
− | * '''Current Month''' - monthly data usage values
| + | <li><b>Today</b> - data usage values for the current day</li> |
− | * '''Data Limit Period''' - data usage values for the current data limit period (as set in the Network → Mobile → Mobile Data Limit page)
| + | <li><b>Current Week</b> - weekly data usage values</li> |
− | * '''Total''' - data usage for the entire monitoring period (since Mobile Traffic Usage Logging was enabled)
| + | <li><b>Current Month</b> - monthly data usage values</li> |
| + | <li><b>Data Limit Period</b> - data usage values for the current data limit period (as set in the Network → Mobile → Mobile Data Limit page)</li> |
| + | <li><b>Total</b> - data usage for the entire monitoring period (since Mobile Traffic Usage Logging was enabled)</li> |
| + | </ul> |
| ---- | | ---- |
| The figure below is an example of the weekly data usage graph: | | The figure below is an example of the weekly data usage graph: |
Line 47: |
Line 58: |
| ==Obtaining data usage values from command line== | | ==Obtaining data usage values from command line== |
| | | |
− | Mobile data usage values can also be obtained by executing the '''mdcollectdctl''' command from a [[Command line interfaces|command line interface]]. The usage for this command is described bellow: | + | Mobile data usage values can be obtained via [[Command line interfaces|command line interface]] with the help of '''mdcollectdctl'''. The usage for this command is described bellow: |
| <pre> | | <pre> |
| usage: mdcollectdctl OPTIONS | | usage: mdcollectdctl OPTIONS |
Line 75: |
Line 86: |
| -backup | Backup database | | -backup | Backup database |
| </pre> | | </pre> |
− | {{#ifeq: {{lc:{{{series}}}}} | rut2xx | + | {{#ifeq: {{{series}}} | RUT9xx || The <SIM> value can be omitted when using the command on {{{name}}} routers}} |
− | | The <SIM> value can be omitted when using the command on {{{name}}} routers | |
− | |{{#ifeq: {{lc:{{{name}}}}} | rut850 | The <SIM> value can be omitted when using the command on {{{name}}} routers | }}
| |
− | }} | |
| To print the usage helper list, use '''mdcollectdctl --help'''. | | To print the usage helper list, use '''mdcollectdctl --help'''. |
| | | |
| '''Examples''': | | '''Examples''': |
− | <ul>
| + | {{#ifeq: {{{series}}} | RUT9xx | {{Template: Networking_rut9xx_manual_mobile_traffic_cli_examples}} | {{Template: Networking_rut2xx_rut850_manual_mobile_traffic_cli_examples}}}} |
− | <li>Print usage
| + | {{Template: Networking_device_manual_modbus_modbus_tcp_get_parameters_table_asterisk}} |
− | <li>Get data usage of SIM1 for the current day:
| + | |
− | <pre>root@Teltonika:~# mdcollectdctl -cdayrx{{#ifeq: {{lc:{{{series}}}}} | rut9xx |1|}}
| + | [[Category:{{{name}}} Status section]] |
− | 26558</pre>
| |
− | </li>
| |
− | <li>Get data usage of SIM1 for the current month:
| |
− | <pre>root@Teltonika:~# mdcollectdctl -pmonthrx1
| |
− | 77701</pre>
| |
− | </ul>
| |