Monitoring via Zabbix

From Teltonika Networks Wiki
Main Page > General Information > Configuration Examples > Router control and monitoring > Monitoring via Zabbix

Summary

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

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.

In this example, we will attempt to monitor Teltonika-Networks devices using Zabbix agent as well as SNMPv2 and SNMPv3 with authentication.

Configuration Overview & Prerequisites

For this example, we will need:

  • Teltonika-networks router - RUTX11 will be used in this example
  • 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:

  • Package manager: On Linux distributions such as Red Hat, CentOS, Debian, and Ubuntu, you can install the Zabbix server using the package manager. This is the easiest and most common way to install Zabbix. For example, on Ubuntu, you can use the command: sudo apt-get install zabbix-server-mysql zabbix-frontend-php
  • Source installation: You can also install Zabbix from the source code. This method allows you to customize your installation and install the latest version of Zabbix. You will need to download the source code from the Zabbix website, and then compile and install it on your system.
  • Docker: Zabbix has an official Docker image, which allows you to run the Zabbix server in a container. This is a useful option for testing or for environments where you want to minimize the number of installed packages on the host system.
  • Virtual Appliance: Zabbix also provides ready to use Virtual Appliance with the pre-installed Zabbix server. This can be used in environments such as VMware or VirtualBox.
  • Cloud Image: Zabbix also provides pre-configured image for different cloud provider like AWS,Azure,GCP. This can be used to quickly deploy Zabbix monitoring on cloud environments.

No matter which method you choose, you will also need to set up a database for the Zabbix server to use, and configure the PHP frontend for the web interface. The specific steps for these tasks will vary depending on your operating system and environment, but you can find detailed instructions in the Zabbix documentation.

In this example, we have Zabbix server set up using Docker container method and PostgreSQL database on Windows 10 + WSL Ubuntu 22.04 LTS. Instructions can be found in official Zabbix documentation: https://www.zabbix.com/documentation/current/en/manual/installation/containers

Once Zabbix server is up and running, we can start adding Hosts.