Template:Networking rutos manual snmp: Difference between revisions

From Teltonika Networks Wiki
No edit summary
 
(68 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!-- Template uses {{{name}}}, {{{series}}}, and if device doesn't have mobile then {{{mobile}}} = 0-->
<!-- Template uses {{{name}}}, {{{series}}}, {{{mobile}}} (0), {{{gps}}} (1), {{{wireless}}} (1), {{eth}} (1) -->
| fw_version = {{{series}}}{{#ifeq:{{{name}}}|RUT241|M|}}_R_00.07.01
{{Template: Networking_device_manual_fw_disclosure
| series    = {{{series}}}
| series = {{{series}}}
| name  = {{{name}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
| series = {{{series}}}
| name  = {{{name}}}
}}
}}
}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} SNMP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT9XX_R_00.06.08.5 and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} SNMP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT2 |
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} SNMP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
{{#switch: {{{name}}}
  | RUT241 =
  | #default =
<br><i><b>Note</b>: <b>[[{{{name}}} SNMP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT2XX_R_00.01.14.4 and earlier) user manual page.</i>}}
|}}
==Summary==
==Summary==


<b>Simple Network Management Protocol (SNMP)</b> is a network management protocol used for collecting information and configuring network devices. This page is an overview of the SNMP function in {{{name}}} devices.
<b>Simple Network Management Protocol (SNMP)</b> is a network management protocol used for collecting information and configuring network devices. This page is an overview of the SNMP function in {{{name}}} devices.
{{#ifeq: {{{series}}} | RUTX | |
{{#switch: {{{series}}} | RUTX|TRB1|TRB5|RUTM=|#default=
<u><b>
<u><b>


Note:</b> SNMP is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.
Note:</b> SNMP is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
</u>
}}
}}
{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer
{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer
| series = {{{series}}}
| series = {{{series}}}
Line 29: Line 29:
===SNMP agent settings===
===SNMP agent settings===
----
----
[[File:Networking_rutos_manual_snmp_snmp_agent_settings.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_snmp_snmp_agent_settings_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 48: Line 48:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>IP family</td>
         <td>IP type</td>
         <td>IPv4 | IPv6 | IPv4v6; default: '''IPv4'''</td>
         <td>IPv4 | IPv6 | IPv4v6; default: '''IPv4'''</td>
         <td>IP family used by SNMP.</td>
         <td>IP type used by SNMP.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 191: Line 191:
The <b>SNMP Community</b> section is used to manage access rights. You can edit an SNMP community by clicking the 'Edit' button next to it:
The <b>SNMP Community</b> section is used to manage access rights. You can edit an SNMP community by clicking the 'Edit' button next to it:


[[File:Networking_rutos_manual_snmp_communities_edit_button.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_snmp_communities_edit_button_v1.png|border|class=tlt-border]]


This will redirect you to the community's configuration page.
This will redirect you to the community's configuration page.
Line 227: Line 227:
SNMPv6 community configuration page:
SNMPv6 community configuration page:


[[File:Networking_rutos_manual_snmp_communities_snmpv6_community_configuration.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_snmp_communities_snmpv6_community_configuration_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 237: Line 237:
     <tr>
     <tr>
         <td>Community name</td>
         <td>Community name</td>
         <td>string; default: <b>none</b></td>
         <td>string; default: <b>public</b></td>
         <td>Name of the community.</td>
         <td>Name of the community.</td>
     </tr>
     </tr>
Line 298: Line 298:
     <tr>
     <tr>
         <td>off/on slider</td>
         <td>off/on slider</td>
         <td>off | on; default: <b>on</b></td>
         <td>off | on; default: <b>off</b></td>
         <td>Turns the host on or off. SNMP traffic is only sent to enabled hosts.</td>
         <td>Turns the host on or off. SNMP traffic is only sent to enabled hosts.</td>
     </tr>
     </tr>
Line 318: Line 318:


To avoid redundancy, screenshots for the other rules will not be provided, since the structures, syntax and the overall look of the configuration windows for each rule are very similar. Instead, only tables containing information on how to edit each rule will be provided.
To avoid redundancy, screenshots for the other rules will not be provided, since the structures, syntax and the overall look of the configuration windows for each rule are very similar. Instead, only tables containing information on how to edit each rule will be provided.
{{#ifeq: {{{mobile}}} | 1 |
{{#ifeq: {{{mobile}}} | 1 |
====Signal strength====
====Signal strength====
Line 329: Line 331:
     <tr>
     <tr>
         <td>Enable</td>
         <td>Enable</td>
         <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
         <td>off <nowiki>|</nowiki> on; default: <b>off</b></td>
         <td>Enable or disable this rule.</td>
         <td>Enable or disable this rule.</td>
     </tr>
     </tr>
Line 354: Line 356:
     <tr>
     <tr>
         <td>Enable</td>
         <td>Enable</td>
         <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
         <td>off <nowiki>|</nowiki> on; default: <b>off</b></td>
         <td>Enable or disable this rule.</td>
         <td>Enable or disable this rule.</td>
     </tr>
     </tr>
Line 363: Line 365:
         <td>Rule will be triggered when connection type will change.</td>
         <td>Rule will be triggered when connection type will change.</td>
     </tr>
     </tr>
</table>
</table>|}}
<br>|}}
 
{{#ifeq: {{{io}}} | 1 |
====Input/Output====
====Input/Output====
----
----
Line 370: Line 373:
     <tr>
     <tr>
         <th>field name</th>
         <th>field name</th>
         <th>value</th>
         <th>value1</th>
         <th>description</th>
         <th>description</th>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Enable</td>
         <td>Enable</td>
         <td>off | on; default: <b>on</b></td>
         <td>off {{!}} on; default: <b>off</b></td>
         <td>Enable or disable this rule.</td>
         <td>Enable or disable this rule.</td>
     </tr>
     </tr>
Line 384: Line 387:
     </tr>
     </tr>
{{#switch:{{{series}}}
{{#switch:{{{series}}}
|RUTX =  
|RUTX|RUTM =  
     <tr>
     <tr>
         <td>Input/Output type</td>
         <td>Input/Output type</td>
Line 397: Line 400:
     <tr>
     <tr>
         <td>State change</td>
         <td>State change</td>
         <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
         <td>High level {{!}} Low level {{!}} Both; default: <b>High level</b></td>
         <td>On which Input/Output state will this rule be triggered.</td>
         <td>On which Input/Output state will this rule be triggered.</td>
     </tr>
     </tr>
|TRB2 =
|TRB2|TRB2M =
     <tr>
     <tr>
         <td>Input/Output type</td>
         <td>Input/Output type</td>
Line 413: Line 416:
     <tr>
     <tr>
         <td><span style="color:blue">Input/Output:</span> State change</td>
         <td><span style="color:blue">Input/Output:</span> State change</td>
         <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
         <td>High level {{!}} Low level {{!}} Both; default: <b>Both</b></td>
         <td>On which Input/Output state will this rule be triggered.</td>
         <td>On which Input/Output state will this rule be triggered.</td>
     </tr>
     </tr>
Line 440: Line 443:
         <tr>
         <tr>
             <td><span style="color:blue">Input/Output:</span> State change</td>
             <td><span style="color:blue">Input/Output:</span> State change</td>
             <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
             <td>High level {{!}} Low level {{!}} Both; default: <b>High level</b></td>
             <td>On which Input/Output state will this rule be triggered.</td>
             <td>On which Input/Output state will this rule be triggered.</td>
         </tr>
         </tr>
Line 496: Line 499:
         <tr>
         <tr>
             <td>State change</td>
             <td>State change</td>
             <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
             <td>High level {{!}} Low level {{!}} Both; default: <b>High level</b></td>
             <td>On which Input/Output state will this rule be triggered.</td>
             <td>On which Input/Output state will this rule be triggered.</td>
         </tr>}}
         </tr>}}
Line 512: Line 515:
         <tr>
         <tr>
             <td>State change</td>
             <td>State change</td>
             <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
             <td>High level {{!}} Low level {{!}} Both; default: <b>High level</b></td>
             <td>On which Input/Output state will this rule be triggered.</td>
             <td>On which Input/Output state will this rule be triggered.</td>
         </tr>
         </tr>
Line 529: Line 532:
         <tr>
         <tr>
             <td><span style="color:blue">Input/Output:</span> State change</td>
             <td><span style="color:blue">Input/Output:</span> State change</td>
             <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
             <td>High level {{!}} Low level {{!}} Both; default: <b>Both</b></td>
             <td>On which Input/Output state will this rule be triggered.</td>
             <td>On which Input/Output state will this rule be triggered.</td>
         </tr>
         </tr>
Line 575: Line 578:
         <tr>
         <tr>
             <td>State change</td>
             <td>State change</td>
             <td>Active {{!}} Inactive {{!}} Both; default: <b>Active</b></td>
             <td>High level {{!}} Low level {{!}} Both; default: <b>Both</b></td>
             <td>On which Input/Output state will this rule be triggered.</td>
             <td>On which Input/Output state will this rule be triggered.</td>
         </tr>
         </tr>}}}}
    |}}
</table>|}}
}}


====Events log====
----
<table class="nd-mantable">
    <tr>
        <th>Event</th>
        <th>Event subtype</th>
        <th>Description</th>
    </tr>
    <tr>
        <td><b>Config change</b></td>
        <td>All | Specific config change; default: <b>all</b></td>
        <td>Informs on changes to the device's configuration.</td>
    </tr>
    <tr>
        <td><b>Reboot</b></td>
        <td>All | From Web UI | From ping reboot | From reboot scheduler | From button{{#ifeq: {{{mobile}}} | 1 | {{!}} From SMS|}}; default: <b>All</b></td>
        <td>Informs on if the device was rebooted.</td>
    </tr>
    <tr>
        <td><b>Startup</b></td>
        <td>Device startup completed</td>
        <td>Informs on when the device is fully booted.</td>
    </tr>{{#ifeq: {{{gps}}} | 1 |
    <tr>
        <td><b>GPS</b></td>
        <td>All {{!}} Entered geofence {{!}} Left geofence; default: <b>All</b></td>
        <td>Informs on when the device has entered or left a user defined geofence zone.</td>
    </tr>|}}{{#ifeq: {{{mobile}}} | 1 |
    <tr>
        <td><b>Mobile data</b></td>
        <td>All {{!}} Connected {{!}} Disconnected; default <b>All</b></td>
        <td>Informs on changes to the state of the device's mobile connection.</td>
    </tr>|}}
    <tr>
        <td><b>New DHCP client</b></td>
        <td>All | Connected from LAN{{#ifeq: {{{wireless}}} | 1 | {{!}} Connected from WiFi|}}; default <b>All</b></td>
        <td>Informs on new DHCP lease give outs.</td>
    </tr>{{#ifeq: {{{eth}}} | 1 |
    <tr>
        <td><b>Ports state</b></td>
        <td>All {{!}} Link speed {{!}} Link state {{!}} Unplugged {{!}} Plugged in {{!}} Specific port; default: <b>All</b></td>
        <td>Informs on Ethernet port state (plugged in or unplugged) or speed (100 Mbps or 1000 Mbps) changes.</td>
    </tr>|}}
    <tr>
        <td><b>Reboot</b></td>
        <td>All | From button | From Input/Output | From Ping Reboot | From Reboot Scheduler | From WebUI | From SMS; default: <b>All</b></td>
        <td>Informs after device reboot occurrences.</td>
    </tr>{{#ifeq: {{{mobile}}} | 1 |
    <tr>
        <td><b>Signal strength</b></td>
        <td>All {{!}} - 121 dBm - 113 dBm {{!}} - 113 dBm - 98 dBm {{!}} - 98 dBm - 93 dBm {{!}} - 93 dBm - 75 dBm {{!}} - 75 dBm - 60 dBm {{!}} - 60 dBm - 50 dBm; default: <b>All</b></td>
        <td>Informs on signal strength changes.</td>
    </tr>
    <tr>
        <td><b>SMS</b></td>
        <td>SMS received</td>
        <td>Informs on received SMS messages.</td>
    </tr>|}}
    <tr>
        <td><b>SSH</b></td>
        <td>All | Successful authentication | Unsuccessful authentication; default: <b>All</b></td>
        <td>Informs on successful or unsuccessful SSH login attempts.</td>
    </tr>{{#ifeq: {{{eth}}} | 1 |
    <tr>
        <td><b>Topology state</b></td>
        <td>Topology changes</td>
        <td>Informs on changes to the device's network topology.</td>
    </tr>|}}{{#ifeq: {{{failover}}} | 1 |
    <tr>
        <td><b>WAN failover</b></td>
        <td>All {{!}} Switched to failover {{!}} Switched to main; default: <b>All</b></td>
        <td>Informs on WAN failover occurrences.</td>
    </tr>|}}
    <tr>
        <td><b>WebUI</b></td>
        <td>ALL | Successful authentication | Unsuccessful authentication; default: <b>All</b></td>
        <td>Informs on successful or unsuccessful HTTP/HTTPS login attempts.</td>
    </tr>{{#ifeq:{{{wireless}}} | 1 |
    <tr>
        <td><b>New WiFi client</b></td>
        <td>All {{!}} Connected {{!}} Disconnected; default: <b>All</b></td>
        <td>Informs on new WiFi clients. Possible triggers are:</td>
    </tr>|}}
</table>
</table>


==SNMP variables list==
==SNMP variables list==
Line 602: Line 688:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>routerName.0</td>
         <td>deviceName.0</td>
         <td>.1.3.6.1.4.1.48690.1.2.0</td>
         <td>.1.3.6.1.4.1.48690.1.2.0</td>
         <td>Device name</td>
         <td>Device name</td>
Line 620: Line 706:
         <td>.1.3.6.1.4.1.48690.1.5.0</td>
         <td>.1.3.6.1.4.1.48690.1.5.0</td>
         <td>Device hardware revision</td>
         <td>Device hardware revision</td>
    </tr>
    <tr>
        <td>fwVersion</td>
        <td>.1.3.6.1.4.1.48690.1.6.0</td>
        <td>Device RutOS firmware version</td>
    </tr>
    <tr>
        <td>deviceUptime</td>
        <td>.1.3.6.1.4.1.48690.1.7.0</td>
        <td>Device uptime</td>
    </tr>
    <tr>
        <td>cpuUsage</td>
        <td>.1.3.6.1.4.1.48690.1.8.0</td>
        <td>CPU usage</td>
     </tr>{{#ifeq: {{{mobile}}} | 1 |
     </tr>{{#ifeq: {{{mobile}}} | 1 |
     <tr>
     <tr>
Line 630: Line 731:
         <td>.1.3.6.1.4.1.48690.2.1.0</td>
         <td>.1.3.6.1.4.1.48690.2.1.0</td>
         <td>The number of modems (regardless of their current state) present on this system</td>
         <td>The number of modems (regardless of their current state) present on this system</td>
    </tr>
    <tr>
        <td>modemTable</td>
        <td>.1.3.6.1.4.1.48690.2.2.0</td>
        <td>A list of modem entries. The number of entries is given by the value of modemNum.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 735: Line 841:
         <td>.1.3.6.1.4.1.48690.2.2.1.21.1</td>
         <td>.1.3.6.1.4.1.48690.2.2.1.21.1</td>
         <td>RSRQ value in dB</td>
         <td>RSRQ value in dB</td>
    </tr>
    <tr>
        <td>mSent</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.22.1</td>
        <td>Total bytes sent</td>
    </tr>
    <tr>
        <td>mReceived</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.23.1</td>
        <td>Total bytes received</td>
    </tr>
    <tr>
        <td>mIP</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.24.1</td>
        <td>Modem IP address(es)</td>
    </tr>
    <tr>
        <td>mSentToday</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.25.1</td>
        <td>Bytes sent today</td>
    </tr>
    <tr>
        <td>mReceivedToday</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.26.1</td>
        <td>Bytes received today</td>
    </tr>
    <tr>
        <td>mICCID</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.27.1</td>
        <td>SIM ICCID</td>
    </tr>
      <tr>
        <td>mSentCurrentWeek</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.28.1</td>
        <td>Bytes sent this week</td>
    </tr>
      <tr>
        <td>mReceivedCurrentWeek</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.29.1</td>
        <td>Bytes received this week</td>
    </tr>
      <tr>
        <td>mSentCurrentMonth</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.30.1</td>
        <td>Bytes sent this month</td>
    </tr>
      <tr>
        <td>mReceivedCurrentMonth</td>
        <td>.1.3.6.1.4.1.48690.2.2.1.31.1</td>
        <td>Bytes received this month</td>
    </tr>
    <tr>
        <td>connectionUptime</td>
        <td>.1.3.6.1.4.1.48690.2.3.0</td>
        <td>Mobile connection uptime in seconds.</td>
     </tr>|}}{{#ifeq: {{{gps}}} | 1 |
     </tr>|}}{{#ifeq: {{{gps}}} | 1 |
     <tr>
     <tr>
Line 766: Line 927:
         <td>.1.3.6.1.4.1.48690.3.5.0</td>
         <td>.1.3.6.1.4.1.48690.3.5.0</td>
         <td>Number of available GPS satelites</td>
         <td>Number of available GPS satelites</td>
    </tr>|}}{{#ifeq: {{{notifications}}} | 1 |
    <tr>
        <th>Mobile notifications</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>signalChangeNotification</td>
        <td>.1.3.6.1.4.1.48690.4.1.1</td>
        <td>Signal strength trap</td>
    </tr>
    <tr>
        <td>networkTypeNotification</td>
        <td>.1.3.6.1.4.1.48690.4.1.2</td>
        <td>Network type trap</td>
    </tr>|}}{{#switch:{{{name}}} | TCR100 | RUTXR1 | OTD140 | TAP100 | TAP200 = | #default =
    <tr>
        <th>Input/Output notifications</th>
        <th></th>
        <th></th>
    </tr>}}{{#switch:{{{name}}} |RUTX08|RUTX09|RUTX10|RUTX11|RUTX12|RUTX14|RUT950|RUT951|RUT952|RUT260|RUT955|RUT956|RUT240|RUT241|RUTX50|RUT901|RUT906|RUTM08|RUTM09|RUTM10|RUTM11|RUTM12|RUTM14 =
    <tr>
        <td>digitalInputNotification</td>
        <td>.1.3.6.1.4.1.48690.4.2.1</td>
        <td>Digital input trap</td>
    </tr>
    <tr>
        <td>digitalOutputNotification</td>
        <td>.1.3.6.1.4.1.48690.4.2.2</td>
        <td>Digital output trap</td>
    </tr>| #default =}}{{#switch:{{{name}}} |RUT360|RUT361|RUT300|RUT301|TRB140|TRB141|TRB143|TRB500|TRB245|TRB246|TRB255|TRB256|TRB160 =
    <tr>
        <td>digitalio0Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.3</td>
        <td>Digital I/O 0 trap</td>
    </tr>
    <tr>
        <td>digitalio1Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.4</td>
        <td>Digital I/O 1 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}} |TRB245|TRB246|TRB255|TRB256 =
    <tr>
        <td>digitalio2Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.5</td>
        <td>Digital I/O 2 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}} |TRB141 =
    <tr>
        <td>drywetio0Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.6</td>
        <td>Dry/Wet I/O 0 trap</td>
    </tr>
    <tr>
        <td>drywetio1Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.7</td>
        <td>Dry/Wet I/O 1 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}} |RUT955|RUT956|RUT906|TRB141 =
    <tr>
        <td>relay0Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.8</td>
        <td>Relay 0 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |TRB141 =
    <tr>
        <td>relay1Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.9</td>
        <td>Relay 1 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |RUT955|RUT956|RUT906|TRB141 =
    <tr>
        <td>acl0Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.10</td>
        <td>ACL trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |RUT955|RUT956|RUT906|TRB245|TRB246|TRB255|TRB141|TRB256 =
    <tr>
        <td>adc0Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.11</td>
        <td>ADC trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |RUT955|RUT956|RUT906 =
    <tr>
        <td>digitalInput2Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.12</td>
        <td>Digital input2 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |RUT955|RUT956|RUT906|TRB141 =
    <tr>
        <td>digitalIioNotification</td>
        <td>.1.3.6.1.4.1.48690.4.2.13</td>
        <td>Isolated Input trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |RUT955|RUT956|RUT906 =
    <tr>
        <td>digitalOutput2Notification</td>
        <td>.1.3.6.1.4.1.48690.4.2.14</td>
        <td>Digital output2 trap</td>
    </tr>| #default =}}{{#switch:{{{name}}}  |TRB160 =
    <tr>
        <td>powerVoltageNotification</td>
        <td>.1.3.6.1.4.1.48690.4.2.15</td>
        <td>Power voltage trap</td>
    </tr>| #default =}}{{#ifeq: {{{hotspot}}} | 1 |
    <tr>
        <th>Hotspot Notifications</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>clientConnectedNotification</td>
        <td>.1.3.6.1.4.1.48690.4.3.1</td>
        <td>Hotspot client connected trap</td>
    </tr>
    <tr>
        <td>clientDisconnectedNotification</td>
        <td>.1.3.6.1.4.1.48690.4.3.2</td>
        <td>Hotspot client disconnected trap</td>
     </tr>|}}{{#ifeq: {{{hotspot}}} | 1 |
     </tr>|}}{{#ifeq: {{{hotspot}}} | 1 |
     <tr>
     <tr>
Line 866: Line 1,137:
         <td>.1.3.6.1.4.1.48690.5.6.1.13.1</td>
         <td>.1.3.6.1.4.1.48690.5.6.1.13.1</td>
         <td>Hotspot URL</td>
         <td>Hotspot URL</td>
     </tr>|}}{{#ifeq: {{{io}}} |
     </tr>|}}{{#ifeq: {{{io}}} | 1 |
     <tr>
     <tr>
         <th>Input/Output</th>
         <th>Input/Output</th>
Line 875: Line 1,146:
         <td>ioCount</td>
         <td>ioCount</td>
         <td>.1.3.6.1.4.1.48690.6.1</td>
         <td>.1.3.6.1.4.1.48690.6.1</td>
         <td>Total I/O count</td>
         <td>Count of I/O</td>
    </tr>
    <tr>
        <td>ioTable</td>
        <td>.1.3.6.1.4.1.48690.6.2</td>
        <td>A list of I/O. The number of entries is given by the value of ioCount</td>
    </tr>
 
    <tr>
        <td>ioEntry</td>
        <td>.1.3.6.1.4.1.48690.6.2.1</td>
        <td>An entry containing information of a particular I/O</td>
    </tr>
    <tr>
        <td>ioIndex</td>
        <td>.1.3.6.1.4.1.48690.6.2.1.1</td>
        <td>A unique value, greater than zero, for each session</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>ioSystemName</td>
         <td>ioSystemName</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.2</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.2</td>
         <td>The name of the I/O, as used by the system.</td>
         <td>The name of the I/O</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>ioName</td>
         <td>ioName</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.3</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.3</td>
         <td>The name of the I/O, as displayed in WebUI.</td>
         <td>The name of the I/O, as displayed in WebUI</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>ioType</td>
         <td>ioType</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.4</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.4</td>
         <td>Description of I/O type.</td>
         <td>A description of I/O type</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 900: Line 1,187:
         <td>ioState</td>
         <td>ioState</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.6</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.6</td>
         <td>State of I/O.</td>
         <td>State of I/O</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 915: Line 1,202:
         <td>ioCurrent</td>
         <td>ioCurrent</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.9</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.9</td>
         <td>Current amount flowing through ACL.</td>
         <td>Current amount flowing though ACL</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>ioPercentage</td>
         <td>ioPercentage</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.10</td>
         <td>.1.3.6.1.4.1.48690.6.2.1.10</td>
         <td>Percentage of ACL.</td>
         <td>Percentage of ACL</td>
    </tr>
    <tr>
        <td> ioStateNumeric</td>
        <td>.1.3.6.1.4.1.48690.6.2.1.11</td>
        <td>Numeric state of I/O</td>
    </tr>|}}{{#ifeq: {{{wireless}}} | 1 |
    <tr>
        <th>Wireless</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>radioCount</td>
        <td>.1.3.6.1.4.1.48690.7.1</td>
        <td>Amount of wireless radios</td>
    </tr>
    <tr>
        <td>radioTable</td>
        <td>.1.3.6.1.4.1.48690.7.2</td>
        <td>A list of wireless radios</td>
    </tr>
 
    <tr>
        <td>radioEntry</td>
        <td>.1.3.6.1.4.1.48690.7.2.1</td>
        <td>An entry containing information of a particular wireless radio</td>
    </tr>
    <tr>
        <td>radioIndex</td>
        <td>.1.3.6.1.4.1.48690.7.2.1.1</td>
        <td>A unique value, greater than zero, for each wireless radio</td>
    </tr>
    <tr>
        <td>radioName</td>
        <td>.1.3.6.1.4.1.48690.7.2.1.2</td>
        <td>The name of the wireless radio</td>
    </tr>
    <tr>
        <td>radioUpState</td>
        <td>.1.3.6.1.4.1.48690.7.2.1.3</td>
        <td>Is the radio currently turned on?</td>
    </tr>
    <tr>
        <td>radioDisabledState</td>
        <td>.1.3.6.1.4.1.48690.7.2.1.4</td>
        <td>Is the radio currently disabled?</td>
    </tr>
    <tr>
        <td>radioChannel</td>
        <td>.1.3.6.1.4.1.48690.7.2.1.5</td>
        <td>Current active channel of the wireless radio</td>
    </tr>
    <tr>
        <td>wIfaceCount</td>
        <td>.1.3.6.1.4.1.48690.7.3</td>
        <td>Amount of wireless interfaces</td>
    </tr>
    <tr>
        <td>wIfaceTable</td>
        <td>.1.3.6.1.4.1.48690.7.4</td>
        <td>A list of wireless interfaces</td>
    </tr>
    <tr>
        <td>wIfaceEntry</td>
        <td>.1.3.6.1.4.1.48690.7.4.1</td>
        <td>An entry containing information of a particular wireless interface</td>
    </tr>
    <tr>
        <td>wIfaceIndex</td>
        <td>.1.3.6.1.4.1.48690.7.4.1.1</td>
        <td>The SSID of a wireless interface</td>
    </tr>
    <tr>
        <td>wIfaceSSID</td>
        <td>.1.3.6.1.4.1.48690.7.4.1.2</td>
        <td>The SSID of a wireless interface</td>
    </tr>
    <tr>
        <td>wIfaceHidden</td>
        <td>.1.3.6.1.4.1.48690.7.4.1.3</td>
        <td>Is the wireless interface hidden?</td>
    </tr>
    <tr>
        <td>wIfaceEncryption</td>
        <td>.1.3.6.1.4.1.48690.7.4.1.4</td>
        <td>The encryption used by the wireless interface</td>
    </tr>
    <tr>
        <td>wIfaceMode</td>
        <td>.1.3.6.1.4.1.48690.7.4.1.5</td>
        <td>The mode of the wireless interface</td>
    </tr>|}}{{#ifeq: {{{pvlan}}} | 1 |
    <tr>
        <th>Port based vlan</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>pVlanCount</td>
        <td>.1.3.6.1.4.1.48690.8.1</td>
        <td>Amount of port-based virtual networks</td>
    </tr>
    <tr>
        <td>pVlanTable</td>
        <td>.1.3.6.1.4.1.48690.8.2</td>
        <td>A list port-based virtual networks</td>
    </tr>
    <tr>
        <td>pVlanEntry</td>
        <td>.1.3.6.1.4.1.48690.8.2.1</td>
        <td>An entry containing information about a port-based VLAN</td>
    </tr>
    <tr>
        <td>pVlanIndex</td>
        <td>.1.3.6.1.4.1.48690.8.2.1.1</td>
        <td>The index of the port-based VLAN</td>
    </tr>
    <tr>
        <td>pVlanNum</td>
        <td>.1.3.6.1.4.1.48690.8.2.1.2</td>
        <td>The vlan number of the port-based VLAN</td>
    </tr>
    <tr>
        <td>pVlanPorts</td>
        <td>.1.3.6.1.4.1.48690.8.2.1.3</td>
        <td>The assigned ports of the port-based VLAN</td>
    </tr>
    <tr>
        <td>pVlanVID</td>
        <td>.1.3.6.1.4.1.48690.8.2.1.4</td>
        <td>The vlan ID of the port-based VLAN</td>
    </tr>|}}{{#ifeq: {{{ivlan}}} | 1 |
    <tr>
        <th>Interface based vlan</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>iVlanCount</td>
        <td>.1.3.6.1.4.1.48690.8.3</td>
        <td>Amount of interface-based virtual networks</td>
    </tr>
    <tr>
        <td>iVlanTable</td>
        <td>.1.3.6.1.4.1.48690.8.4</td>
        <td>A list interface-based virtual networks</td>
    </tr>
    <tr>
        <td>iVlanEntry</td>
        <td>.1.3.6.1.4.1.48690.8.4.1</td>
        <td>An entry containing information about an interface-based VLAN</td>
    </tr>
    <tr>
        <td>iVlanIndex</td>
        <td>.1.3.6.1.4.1.48690.8.4.1.1</td>
        <td>The index of an iface-based VLAN</td>
    </tr>
    <tr>
        <td>iVlanName</td>
        <td>.1.3.6.1.4.1.48690.8.4.1.2</td>
        <td>The name of an iface-based VLAN</td>
    </tr>
    <tr>
        <td>iVlanType</td>
        <td>.1.3.6.1.4.1.48690.8.4.1.3</td>
        <td>The type of an iface-based VLAN</td>
    </tr>
    <tr>
        <td>iVlanIfName</td>
        <td>.1.3.6.1.4.1.48690.8.4.1.4</td>
        <td>The interface name of an iface-based VLAN</td>
    </tr>
    <tr>
        <td>iVlanVID</td>
        <td>.1.3.6.1.4.1.48690.8.4.1.5</td>
        <td>The VLAN ID of an iface-based VLAN</td>
    </tr>|}}{{#ifeq: {{{sqm}}} | 1 |
    <tr>
        <th>Smart Queue Management</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>queueCount</td>
        <td>.1.3.6.1.4.1.48690.9.1</td>
        <td>Amount of traffic shaping configs</td>
    </tr>
    <tr>
        <td>queueTable</td>
        <td>.1.3.6.1.4.1.48690.9.2</td>
        <td>A list of traffic shaping configs</td>
    </tr>
    <tr>
        <td>queueEntry</td>
        <td>.1.3.6.1.4.1.48690.9.2.1</td>
        <td>Entry containg info of a traffic shaping config</td>
    </tr>
    <tr>
        <td>queueIndex</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.1</td>
        <td>The index of the queue</td>
    </tr>
    <tr>
        <td>queueName</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.2</td>
        <td>The internal name of the queue</td>
    </tr>
    <tr>
        <td>queueEnabled</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.3</td>
        <td>Is the queue enabled?</td>
    </tr>
    <tr>
        <td>queueIface</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.4</td>
        <td>The assigned interface of the queue</td>
    </tr>
    <tr>
        <td>queueDownLimit</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.5</td>
        <td>The download limit of the queue</td>
    </tr>
    <tr>
        <td>queueUpLimit</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.6</td>
        <td>The upload limit of the queue</td>
    </tr>
    <tr>
        <td>queueQdisk</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.7</td>
        <td>The queuing discipline in use for this queue</td>
    </tr>
    <tr>
        <td>queueScript</td>
        <td>.1.3.6.1.4.1.48690.9.2.1.8</td>
        <td>The queuing discipline setup script used in this queue</td>
    </tr>|}}{{#ifeq: {{{port}}} | 1 |
    <tr>
        <th>Port</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>portCount</td>
        <td>.1.3.6.1.4.1.48690.10.1.0</td>
        <td>Number of ports on device</td>
    </tr>
    <tr>
        <td>portTable</td>
        <td>.1.3.6.1.4.1.48690.10.2.0</td>
        <td>A list of port entries. The number of entries is given by the value of portCount</td>
    </tr>
    <tr>
        <td>portEntry</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.0</td>
        <td>An entry containing information of a particular port</td>
    </tr>
    <tr>
        <td>pIndex</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.1</td>
        <td>A unique value, greater than zero, for each port</td>
    </tr>
    <tr>
        <td>pName</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.2</td>
        <td>Port's name</td>
    </tr>
    <tr>
        <td>pNumber</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.3</td>
        <td>Port's number</td>
    </tr>
    <tr>
        <td>pPosition</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.4</td>
        <td>Port's physical position</td>
    </tr>
    <tr>
        <td>pState</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.5</td>
        <td>Port's state</td>
    </tr>
    <tr>
        <td>pSpeed</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.6</td>
        <td>Port's speed</td>
    </tr>
    <tr>
        <td>pDuplex</td>
        <td>.1.3.6.1.4.1.48690.10.2.1.7</td>
        <td>Boolean value whether port is duplex or not</td>
    </tr>|}}{{#ifeq: {{{mwan3}}} | 1 |
    <tr>
        <th>MultiWAN</th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>mwan3Count</td>
        <td>.1.3.6.1.4.1.48690.12.1</td>
        <td>Count of Multiwan interfaces</td>
    </tr>
    <tr>
        <td>mwan3Table</td>
        <td>.1.3.6.1.4.1.48690.12.2</td>
        <td>A list of Multiwan interfaces. The number of entries is given by the value of mwan3Count</td>
    </tr>
    <tr>
        <td>mwan3Entry</td>
        <td>.1.3.6.1.4.1.48690.12.2.1</td>
        <td>An entry containing information of a particular Multiwan interface</td>
    </tr>
    <tr>
        <td>mwan3Index</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.1</td>
        <td>Unique value, greater than zero, for each session</td>
    </tr>
    <tr>
        <td>mwan3Name</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.2</td>
        <td>Name of Multiwan interface</td>
    </tr>
    <tr>
        <td>mwan3Enabled</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.3</td>
        <td>Numeric value indicating if interface is enabled or not</td>
    </tr>
    <tr>
        <td>mwan3Uptime</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.4</td>
        <td>Multiwan interface uptime</td>
    </tr>
    <tr>
        <td>mwan3Status</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.5</td>
        <td>Status of Multiwan interface</td>
    </tr>
    <tr>
        <td>mwan3Ip</td>
        <td>.1.3.6.1.4.1.48690.12.2.1.6</td>
        <td>IP addresses that Multiwan interface tracks</td>
     </tr>|}}
     </tr>|}}
</table>
</table>


[[Category:{{{name}}} Services section]]
[[Category:{{{name}}} Services section]]

Latest revision as of 12:16, 4 September 2024

The information in this page is updated in accordance with firmware version .


Summary

Simple Network Management Protocol (SNMP) is a network management protocol used for collecting information and configuring network devices. This page is an overview of the SNMP function in {{{name}}} devices.

Note: SNMP is additional software that can be installed from the System → [[{{{name}}} Package Manager|Package Manager]] page.

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.

SNMP settings

The SNMP settings page is used to configure SNMP accessibility and general SNMP information for your device.

SNMP agent settings


Field Value Description
Enable SNMP service off | on; default: off Run SNMP service on system's startup.
Enable remote access off | on; default: off Open port in firewall so that SNMP service may be reached from WAN.
IP type IPv4 | IPv6 | IPv4v6; default: IPv4 IP type used by SNMP.
Port integer [0..65535]; default: 161 SNMP service's port.
SNMP v1 Mode off | on; default: on Enable/disable SNMP v1 Mode.
SNMP v2c Mode off | on; default: on Enable/disable SNMP v2c Mode.
SNMP v3 Mode off | on; default: off Enable/disable SNMP v3 Mode.

SNMP System Summary


The SNMP System Summary section contains general information about SNMP on this device. You can also download this device's MIB file from this section.

Field Value Description
MIB file -(interactive button) Downloads the device's MIB file.
System OID 1.3.6.1.4.1.48690 OID or Object Identifier, is an identifier used to name and point to an object in the MIB hierarchy.
Location string; default: location Trap named sysLocation.
Contact string; default: [email protected] Trap named sysContact.
Name string; default: name Trap named sysName.

SNMP v3 users

The SNMP v3 users page is used to create and manage users, who can be authenticated using SNMP v3. To configure an SNMP user, you must first create it:

  1. Enter a custom name for the new user in the 'Name' field.
  2. Click the 'Add' button.
  3. Click the 'Edit' button next to the newly created user.


The SNMP user configuration window should look similar to this:

Note: this table has coloring scheme to indicate which fields can be seen with different configuration.

Field Value Description
Enable off | on; default: off Turns this SNMP user on or off.
Username string; default: none Set username to access SNMP.
Security level No authentication, no privacy | Authentication, no privacy | Authentication and privacy; default: No authentication, no privacy A security level is an authentication strategy that is set up for the user.

No authentication, no privacy - authenticates with a username. Authentication - provides MD5 or SHA algorithms for authentication.

Privacy - Provides DES or AES encryption.
Authentication, no privacy | Authentication and privacy: Authentication type SHA | MD5; default: SHA Set authentication type to use with SNMP v3.
Authentication, no privacy | Authentication and privacy: Authentication passphrase string; default: none Set authentication passpharse to generate key for SNMP v3.
Authentication and privacy: Privacy type DES | AES; default: DES Set privacy type to use with SNMP v3.
Authentication and privacy: Privacy passphrase string; default: none Set privacy passpharse to generate key for SNMP v3.
Access Mode Read-Only | Read-Write; default: Read-Only The access mode specifies the access the hosts in the community are allowed with respect to retrieving and modifying the MIB variables from a specific SNMP agent.
MIB subtree string; default: none Leave empty to access full MIB tree.

Communities

The SNMP Community section is used to manage access rights. You can edit an SNMP community by clicking the 'Edit' button next to it:

This will redirect you to the community's configuration page.

Field Value Description
Community name string; default: none Name of the community.
IP Address ip; default: none IP address of the community.
IP Mask ip; default: none Netmask for IP of the community.
Access Mode Read-Only | Read-Write; default: Read-Only Access mode for current community.

SNMPv6 community configuration page:

Field Value Description
Community name string; default: public Name of the community.
Source ip6 | domain name; default: default Source of the community.
Access Mode Read-Only | Read-Write; default: Read-Only Access mode for current community.

Trap Settings

SNMP Traps are used to send alert messages to a central collector, the “SNMP manager” when an important event happens. A benefit of using Traps for reporting alarms is that they trigger instantaneously, rather than waiting for a status request from the manager.

Trap settings page is divided in two sections - Trap service settings and Trap rules. Trap service settings lets you manage hosts which will get configured alert messages, Trap rules lets you manage rules which when triggered will send alerts.

Trap Service Settings


The Trap Service Settings is used to manage hosts which will be alerted when an SNMP trap is triggered. The host list is empty by default thus, to begin configuration you must first create at least one host.

Click the 'Add' button at the bottom-right side of the table to create a new host.

The newly added Host configuration should look similar to this:

Field Value Description
Host/IP url | ip; default: none Hostname or IP address to transfer SNMP traffic to.
Port integer [0..65535]; default: 162 Trap host's port number.
Community string; default: Public Name of the community to which the trap belongs.
Delete - (interactive button) Deletes the host next to the button.
off/on slider off | on; default: off Turns the host on or off. SNMP traffic is only sent to enabled hosts.

Trap Rules


SNMP Trap Rules are alerts that trigger when certain user-specified events occur. When the trigger event happens, the trap will notify known SNMP hosts.

You can create a new trap rule by clicking the 'Add' button.

You should be redirected to the rule's configuration page which should look something like this:

[[File:Networking_rutos_manual_snmp_trap_settings_trap_rules_modify_trap_rule_mobile_{{{mobile}}}.png|border|class=tlt-border]]

Above is an example of what rule configuration window looks like. Below is a table with detailed explanations on how to configure the rule and what each of the fields mean.

To avoid redundancy, screenshots for the other rules will not be provided, since the structures, syntax and the overall look of the configuration windows for each rule are very similar. Instead, only tables containing information on how to edit each rule will be provided.




Events log


Event Event subtype Description
Config change All | Specific config change; default: all Informs on changes to the device's configuration.
Reboot All | From Web UI | From ping reboot | From reboot scheduler | From button; default: All Informs on if the device was rebooted.
Startup Device startup completed Informs on when the device is fully booted.
New DHCP client All | Connected from LAN; default All Informs on new DHCP lease give outs.
Reboot All | From button | From Input/Output | From Ping Reboot | From Reboot Scheduler | From WebUI | From SMS; default: All Informs after device reboot occurrences.
SSH All | Successful authentication | Unsuccessful authentication; default: All Informs on successful or unsuccessful SSH login attempts.
WebUI ALL | Successful authentication | Unsuccessful authentication; default: All Informs on successful or unsuccessful HTTP/HTTPS login attempts.


SNMP variables list

Name OID Description
Device
serial .1.3.6.1.4.1.48690.1.1.0 Device serial number
deviceName.0 .1.3.6.1.4.1.48690.1.2.0 Device name
productCode .1.3.6.1.4.1.48690.1.3.0 Device product (ordering) code
batchNumber .1.3.6.1.4.1.48690.1.4.0 Device batch number
hardwareRevision .1.3.6.1.4.1.48690.1.5.0 Device hardware revision
fwVersion .1.3.6.1.4.1.48690.1.6.0 Device RutOS firmware version
deviceUptime .1.3.6.1.4.1.48690.1.7.0 Device uptime
cpuUsage .1.3.6.1.4.1.48690.1.8.0 CPU usage
Input/Output notifications

[[Category:{{{name}}} Services section]]