Changes

3,211 bytes added ,  17:09, 3 August 2023
no edit summary
Line 3: Line 3:  
<span style="color: red;">The information in this page is updated in accordance with the <span style="color: #0054A6;"><b>RUTXXX_R_00_07_03</b></span> firmware version.</span>
 
<span style="color: red;">The information in this page is updated in accordance with the <span style="color: #0054A6;"><b>RUTXXX_R_00_07_03</b></span> firmware version.</span>
   −
Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services. It provides monitoring metrics, such as network utilization, CPU load and disk space usage, as well as uptime and response time. It can also be used to monitor various network services such as SMTP, POP3, HTTP, and SNMP. Zabbix is one of the most widely used open-source monitoring software, It is free and support large scale of environments with Enterprise level features. It has a web-based front-end, along with a back-end server written in C, which makes it platform-independent and able to run on a wide range of operating systems, including Linux, Windows, and macOS.
+
Zabbix is an open-source monitoring software. It provides monitoring metrics, such as network utilization, CPU load and disk space usage, as well as uptime and response time. It can also be used to monitor various network services such as SMTP, POP3, HTTP, and SNMP.  
    
In this example, we will attempt to monitor Teltonika-Networks devices using Zabbix agent as well as SNMPv2 and SNMPv3 with authentication.
 
In this example, we will attempt to monitor Teltonika-Networks devices using Zabbix agent as well as SNMPv2 and SNMPv3 with authentication.
Line 10: Line 10:     
For this example, we will need:
 
For this example, we will need:
* Teltonika-networks router - RUTX11 will be used in this example
+
*Teltonika-networks router - RUTX11 will be used in this example
* Zabbix server
+
*Zabbix server
   −
==Preparing Zabbix Server==
+
==Preparing Zabbix Server ==
    
There are several ways to install the Zabbix server, depending on your operating system and environment. Here are a few common methods:
 
There are several ways to install the Zabbix server, depending on your operating system and environment. Here are a few common methods:
Line 94: Line 94:     
[[File:Monitoring via Zabbix host added v1.png|1143x1143px]]
 
[[File:Monitoring via Zabbix host added v1.png|1143x1143px]]
 +
    
Now we can see what information are we getting from the router.  
 
Now we can see what information are we getting from the router.  
Line 103: Line 104:     
In order to see graphs, click on '''Graphs''' in the host list. Here is an example of Mobile interface data:
 
In order to see graphs, click on '''Graphs''' in the host list. Here is an example of Mobile interface data:
      
[[File:Monitoring via Zabbix host wwan0 graph v1.png|1149x1149px]]
 
[[File:Monitoring via Zabbix host wwan0 graph v1.png|1149x1149px]]
Line 116: Line 116:  
-----
 
-----
   −
Navigate to Services > SNMP:
+
Navigate to '''Services > SNMP''':
 +
# Enable SNMP service
 +
#Enable SNMP v2c Mode
 +
# Leave other settings as default
 +
 
 +
 
 +
[[File:Monitoring via Zabbix SNMP2 router v1.png|border|class=tlt-border|941x941px]]
 +
 
 +
===Adding SNMPv2 host to Zabbix front-end ===
 +
-----
 +
 
 +
Once we have SNMPv2 enabled on the router, we will add it as host in the zabbix server. In order to do so login to the front-end of the Zabbix server and navigate to '''Monitoring → Hosts''' on the left hand menu. Click on the '''Create host''' button in the right-hand corner of the screen. A window will pop-up where we will configure the host accordingly:
 +
 
 +
#Hostname: RUTX11-SNMP2
 +
#Templates: Templates/network devices → Network Generic Device by SNMP
 +
#Host groups: Discovered hosts
 +
#Interfaces: Click '''Add''', select '''SNMP''', input IP address of the router and chose SNMPv2 version.
 +
#Leave other settings as default and press '''Add''' to save settings.
 +
 
 +
[[File:Monitoring via Zabbix SNMP2 host add v1.png|754x754px]]
 +
 
 +
The router is now added as a host using SNMP v2 and you should see it in the list of monitored devices:
 +
 
 +
 
 +
[[File:Monitoring via Zabbix SNMP2 hosts list v1.png|1143x1143px]]
 +
 
 +
 
 +
Now we can see what information are we getting from the router.
 +
 
 +
In order to view raw data, select '''Latest data''' where you will be redirected to another page with different sorts of data collected from the router.
 +
Here is an example of '''wwan0 interface''':
 +
 
 +
 
 +
[[File:Monitoring via Zabbix SNMP2 raw data v1.png|1146x1146px]]
 +
 
 +
 
 +
In order to see graphs, click on '''Graphs''' in the host list. Here is an example of LAN interface data:
 +
 
 +
[[File:Monitoring via Zabbix SNMP2 LAN graph v1.png|1149x1149px]]
 +
 
 +
 
 +
===SNMPv3 Router Configuration ===
 +
-----
 +
 
 +
SNMP v3 provides more security features than v2, making it more suitable for use in secure network environments.
 +
Zabbix and Teltonika routers both support SNMPv3.
 +
Router configuration is as follow:
 +
 
 +
Navigate to '''Services > SNMP''':
 
#Enable SNMP service
 
#Enable SNMP service
 
#Enable SNMP v2c Mode
 
#Enable SNMP v2c Mode
 +
#Enable SNMP v3 Mode
 
#Leave other settings as default
 
#Leave other settings as default
 +
 +
 +
[[File:Monitoring via Zabbix SNMP3 router v1.png|border|class=tlt-border|939x939px]]
 +
 +
 +
Navigate to '''Services > SNMP > SNMPv3 Users''' and add new instance with authentication information:
 +
 +
#Security Level: Authentication and privacy
 +
#Authentication type: MD5
 +
#Create an authentication passphrase
 +
#Privacy type: DES
 +
#Create Privacy passphrase
 +
#Leave other settings as default, Save & Apply settings
 +
 +
 +
[[File:Monitoring via Zabbix SNMP3 user router v1.png|border|class=tlt-border|1041x1041px]]
 +
 +
===Adding SNMPv3 host to Zabbix front-end===
 +
-----
 +
 +
Once we have SNMPv3 setup on the router, we will add it as host in the zabbix server. In order to do so login to the front-end of the Zabbix server and navigate to '''Monitoring → Hosts''' on the left hand menu. Click on the '''Create host''' button in the right-hand corner of the screen. A window will pop-up where we will configure the host accordingly:
 +
 +
#Hostname: RUTX11-SNMP3
 +
#Templates: Templates/network devices → Network Generic Device by SNMP
 +
# Host groups: Discovered hosts
 +
#Interfaces: Click '''Add''', select '''SNMP''', input IP address of the router and chose SNMPv3 version.
 +
#Enter required authentication data from the router.
 +
# Leave other settings as default.
 +
 +
 +
[[File:Monitoring via Zabbix SNMP3 host add v1.png|790x790px]]
 +
 +
 +
The router is now added as a host using SNMP v2 and you should see it in the list of monitored devices:
 +
 +
 +
[[File:Monitoring via Zabbix SNMP3 host list v1.png|1110x1110px]]
 +
 +
==See Also==
 +
 +
*[[SNMP]] - SNMP configuration example
 +
*[https://www.zabbix.com/documentation/current/en/manual/installation/containers Zabbix installation to a docker container]
 +
* [[Command Line Interfaces RutOS]]
 +
[[Category: Router control and monitoring]]