Changes

no edit summary
Line 18: Line 18:     
===RUT9xx===
 
===RUT9xx===
To setup SNMP first make sure that SNMP package is installed, more information here [[RUT955 Packages]] and [[RUT950_Package_Manager|RUT950 Packages]].
+
To setup SNMP first make sure that SNMP package is installed, more information here [[RUT956 Packages]] and [[RUT951_Package_Manager|RUT951 Packages]].
    
==OID codes==
 
==OID codes==
Line 139: Line 139:  
Press "Download" button to download MIB file.
 
Press "Download" button to download MIB file.
   −
[[File:Networking_device_configurationexample_snmp_snmpconfiguration_v1.png]]
+
[[File:SNMP_config_example_7.8_5.png]]
    
===Testing SNMP with MIB browser===
 
===Testing SNMP with MIB browser===
Line 164: Line 164:  
First enable SNMP Trap, then enter '''Host/IP''', Hots/IP is the SNMP manager, computer to which SNMP agent will send Trap messages. If router is connected to PC via ethernet cable, enter the IP address of the interface the router is connected to. You can use '''ipconfig''' command on windows, '''ifconfig''' on linux to find IP address of the interface to which router is connected. Next choose '''port''', preferably choose port number higher than '''1024''' so SNMP manager could establish connection without root/admin rights. If you choose to leave default port '''162''' make sure to launch SNMP manager with admin/root permissions.
 
First enable SNMP Trap, then enter '''Host/IP''', Hots/IP is the SNMP manager, computer to which SNMP agent will send Trap messages. If router is connected to PC via ethernet cable, enter the IP address of the interface the router is connected to. You can use '''ipconfig''' command on windows, '''ifconfig''' on linux to find IP address of the interface to which router is connected. Next choose '''port''', preferably choose port number higher than '''1024''' so SNMP manager could establish connection without root/admin rights. If you choose to leave default port '''162''' make sure to launch SNMP manager with admin/root permissions.
   −
[[File:Networking device configurationexample trap configurations v1.png]]
+
[[File:SNMP_config_example_7.8_1.png]]
    
===Trap rules===
 
===Trap rules===
Line 171: Line 171:  
<table class="nd-mantable">
 
<table class="nd-mantable">
 
     <tr>
 
     <tr>
 +
        <th>Trap type</th>
 
         <th>Rule name</th>
 
         <th>Rule name</th>
 
       <th>Value</th>
 
       <th>Value</th>
Line 176: Line 177:  
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Signal strength trap</td>
+
        <td>GSM</td>
 +
       <td>Signal strength</td>
 
       <td>Minimal mobile signal strength</td>
 
       <td>Minimal mobile signal strength</td>
 
       <td>Teltonika device will send trap message when mobile signal strength falls lower than specified</td>
 
       <td>Teltonika device will send trap message when mobile signal strength falls lower than specified</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Connection type trap</td>
+
        <td>GSM</td>
 +
       <td>Network type</td>
 
       <td>This trap does not have value</td>
 
       <td>This trap does not have value</td>
 
       <td>Teltonika device will send trap message when mobile connection establishes or changes</td>
 
       <td>Teltonika device will send trap message when mobile connection establishes or changes</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Digital input trap</td>
+
        <td>Input/Output</td>
 +
       <td>Input(3)</td>
 
       <td>Inactive/Active/Both</td>
 
       <td>Inactive/Active/Both</td>
 
       <td>Teltonika device will send trap message when Digital input value changes to specified value</td>
 
       <td>Teltonika device will send trap message when Digital input value changes to specified value</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Digital isolated input trap</td>
+
        <td>Input/Output</td>
 +
       <td>Output(4)</td>
 
       <td>Inactive/Active/Both</td>
 
       <td>Inactive/Active/Both</td>
       <td>Teltonika device will send trap message when Digital isolated input value changes to specified value</td>
+
       <td>Teltonika device will send trap message when Digital output value changes to specified value</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Config change</td>
 +
      <td>All/AVL/Buttons/Call utilities/Hotspot/CLI/DDNS/DHCP/DMVPN/SSH/Email to SMS/Wake on LAN/Events Reporting/Firewall/USB tools/GPS/Site blocking/IO juggler/IO scheduler/IP block/IPsec/Landing page/Modbus server/Modbus TCP client/Modbus gateway/MQTT broker/MQTT publisher/Multi AP/Failover/Network/NTP client/NTP server/OpenVPN/Mobile operator list/Overview/Printer server/Package restore/Reboot scheduler/Ping reboot/Post/get/PPTP/Proxy blocker/Profiles/Mobile data limit/RMS/Users management/RS console/RS modbus/RS modem/RS overIP/Fota/Sim switch/Simcard/SMS gateway/SMS utilities/SNMP/SNMP Trap/SQM/Stunnel/System/Telnet/Web server/Traffic logging/User groups/VRRP/Widget/WiFi scanner/Wireless/L2TP</td>
 +
      <td>Teltonika device will send trap message when configuration changes were done to specified value</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>New DHCP client</td>
 +
      <td>All/Connected from LAN/Connected from WiFi</td>
 +
      <td>Teltonika device will send trap message when new DHCP client connected to the device</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>New DHCP client</td>
 +
      <td>All/Connected from LAN/Connected from WiFi</td>
 +
      <td>Teltonika device will send trap message when new DHCP client connected to the device</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Reboot</td>
 +
      <td>All/From Web UI/From input/output/From ping reboot/From wget reboot/From reboot scheduler/From button/From SMS</td>
 +
      <td>Teltonika device will send trap message when the device reboots by type</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Startup</td>
 +
      <td>All/Device startup completed/After unexpected shutdown</td>
 +
      <td>Teltonika device will send trap message when device startups by type</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>SSH</td>
 +
      <td>All/Succesful authentication/Unsuccesful authentication</td>
 +
      <td>Teltonika device will send trap message when there is SSH connection authentication</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Web UI</td>
 +
      <td>All/Succesful authentication/Unsuccesful authentication</td>
 +
      <td>Teltonika device will send trap message when there is Web UI connection authentication</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>New WiFi client</td>
 +
      <td>All/Connected/Disconnected</td>
 +
      <td>Teltonika device will send trap message when there is new WiFi client</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Mobile data</td>
 +
      <td>All/Connected/Disconnected</td>
 +
      <td>Teltonika device will send trap message when there is Mobile data connection</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Analog input trap</td>
+
        <td>Events log</td>
       <td>Higher/Lower/Both + Voltage value</td>
+
       <td>WAN failover</td>
       <td>Teltonika device will send trap message when Analog input value fulfills specified requirement</td>
+
       <td>All/Switched to main/Switched to failover</td>
 +
       <td>Teltonika device will send trap message when there is WAN failover</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Digital output trap</td>
+
        <td>Events log</td>
       <td>Inactive/Active/Both</td>
+
       <td>SMS</td>
       <td>Teltonika device will send trap message when Digital output value changes to specified value</td>
+
      <td>SMS received</td>
 +
      <td>Teltonika device will send trap message when there is new SMS sent to device</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Signal strength</td>
 +
       <td>All/-121dBm-113dBm/-113dBm-98dBm/-98dBm-93dBm/-93dBm-75dBm/-75dBm-60dBm/-60dBm-50dBm</td>
 +
       <td>Teltonika device will send trap message when the signal strength reaches provided threshold</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Hotspot client</td>
 +
      <td>Connected</td>
 +
      <td>This trap does not have value</td>
 +
      <td>Teltonika device will send trap message when a client connects to a hotspot interface.</td>
 +
    </tr> 
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Sim switch</td>
 +
      <td>All/Changing to SIM1/Changing to SIM2</td>
 +
      <td>Teltonika device will send trap message when there is a SIM switch in the device</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Port state</td>
 +
      <td>All/Link state/Link speed/Unplugged/Plugged in/LAN1/LAN2/LAN3/LAN4/WAN</td>
 +
      <td>Teltonika device will send trap message when there is port state change</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Events log</td>
 +
      <td>Topology changes</td>
 +
      <td>Topology changes</td>
 +
      <td>Teltonika device will send trap message when there is topology changes</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Digital relay output trap</td>
+
        <td>Events log</td>
       <td>Inactive/Active/Both</td>
+
       <td>GPS</td>
       <td>Teltonika device will send trap message when Digital relay output value changes to specified value</td>
+
       <td>All/Left geofence/Entered geofence</td>
 +
       <td>Teltonika device will send trap message when there is changes in GPS</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 +
        <td>Hotspot client</td>
 +
      <td>Disconnected</td>
 +
      <td>This trap does not have value</td>
 +
      <td>Teltonika device will send trap message when a client disconnects to a hotspot interface.</td>
 +
    </tr>
 
<table>
 
<table>
 +
====Events log====
 
----
 
----
To create new rule chose action and press "Add" button, specify rule values and save.
+
<table>
 +
    <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; 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>
 +
    <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>
 +
    <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 | Connected from WiFi | default <b>All</b></td>
 +
        <td>Informs on new DHCP lease give outs.</td>
 +
    </tr>
 +
    <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>
 +
    <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>
 +
    <tr>
 +
        <td><b>Topology state</b></td>
 +
        <td>Topology changes</td>
 +
        <td>Informs on changes to the device's network topology.</td>
 +
    </tr>
 +
    <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>
 +
    <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>
   −
Example: choose "Connection type trap" action and press "Add" button.
+
----
 +
To create new rule chose action and press "Add" button, specify rule values and save:
   −
[[File:Networking device configurationexample snmp trap rule v1.png]]
+
[[File:SNMP_config_example_7.8_2.png|1000px]]
 
----
 
----
 
Enable trap rule and press "Save".
 
Enable trap rule and press "Save".
 
+
[[File:SNMP_config_example_7.8_3.png|1000px]]
[[File:Networking device configurationexample snmp new connection rule v1.png]]
   
----
 
----
New rule should appear in the main Trap window.
+
New rule should appear in the main Trap rules window:
 
+
[[File:SNMP_config_example_7.8_4.png|1000px]]
[[File:Networking device configurationexample new snmp rule saved v1.png]]
   
----
 
----
 
====Testing Trap with MIB browser====
 
====Testing Trap with MIB browser====