Changes

no edit summary
Line 1: Line 1:  
==Summary==
 
==Summary==
    +
This chapter is a guide on configuring SNMP package to establish communication between devices.
 +
 +
===SNMP===
 
SNMP (Simple Network Management Protocol) - is widely used in networking management for networking monitoring. SNMP uses MIB (Management Information Base) to organize management data in the form of variables, which describe the system configuration and status.
 
SNMP (Simple Network Management Protocol) - is widely used in networking management for networking monitoring. SNMP uses MIB (Management Information Base) to organize management data in the form of variables, which describe the system configuration and status.
   −
This chapter is a guide on configuring SNMP package to establish communication between devices.
+
===Trap===
 +
Traps are alert messages sent by SNMP agent to SNMP manager.
 +
 
 +
SNMP agent - Teltonika router. Device which sends Trap messages to the manager.
 +
SNMP manager - device which listens for Trap messages from the agents.
 +
 
 +
Teltonika routers are able to send SNMP Trap messages to the manager on their own when they experience a problem or a situation described in the rules.  
    
==Preconditions==
 
==Preconditions==
Line 134: Line 143:     
  $ snmpget -c public -v 2c 192.168.1.1:161 1.3.6.1.4.1.48690.1.7.0
 
  $ snmpget -c public -v 2c 192.168.1.1:161 1.3.6.1.4.1.48690.1.7.0
 +
 +
==Trap Configuration==
 +
 +
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.
 +
[[File:Networking device configurationexample trap configurations v1.png]]
 +
 +
===Trap rules===
 +
Trap rules describe on what event SNMP agent should send Trap messages.
0

edits