[Zabbix] How to quickly install Zabbix 4.2 and create the template of the Edgecore switches ?

Steven_zhangCreated at:Dec 11, 2019 14:08:21Updated at:Dec 11, 2019 14:08:31

The management agent of Edgecore switches support SNMP (Simple Network Management Protocol).
This SNMP agent permits the switch to be managed from any system in the network using network management software.

Zabbix:

Zabbix is an open-source tool for monitoring the status of the server and device (switch, router...etc).

Available platforms:

OS: Ubuntu, CentOS, MAC

Necessary tool: Docker 

Install the Zabbix procedure:

Step 1: Make sure the Docker is installed on this device.

Step 2: Get the repository on the GitHub. (https://github.com/zabbix/zabbix-docker.git)

git clone https://github.com/zabbix/zabbix-docker.git

Step 3: Enter the folder of the zabbix-docker

cd zabbix-docker

Step 4: Install and start up the Zabbix service.

docker-compose -f docker-compose_v3_alpine_mysql_latest.yaml up -d

Step 5: Open the web browser. (http://Your Server IP Address)

Username: Admin

Password: zabbix

mceclip0.png

Create the template for Edgecore switch:

This example is monitoring the temperature of the ECS4120-28T.

Procedure:

Step 1: Create the template

Configuration -> Templates -> Create template

mceclip0.png

Step 2: Create the host

Configuration -> Hosts -> Create host

mceclip1.png 

mceclip2.png

Step 3: Create an application on the host.

ECS4120-28T -> Application -> Create application

mceclip3.png

Step 4: Create an item on the host.

ECS4120-28T -> Item -> Create item

mceclip5.png

Step 5: On the home page, create a graph of temperature on the Dashboard.

Zabbix -> edit dashboard -> Add widget

mceclip6.png

Step 6: Now, you can monitor the temperature of the ECS4120 Series via the Zabbix.

mceclip7.png