[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Monitoring SNMP devices with Zabbix

Published on
8,620 Points
1 Endorsement
Last Modified:
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.

As you may know, SNMP (Simple Network Management Protocol) is a protocol for monitoring and managing network devices, such as routers, firewalls, switches, printers, … Besides, we also have Zabbix which is an open-source software for tracking and monitoring network devices’ statuses, operations. In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed. The methodology is not very complex, with just 3 steps:

  • Step 1: Configure Zabbix once for SNMP tracking
  • Step 2: Enable SNMP on devices that you want to monitor
  • Step 3: Configure host on Zabbix’s interface     

Step 1: Prepare the Zabbix Server for SNMP monitoring.

1. Edit the sources.list configuration file and uncomment the multiverse line.

sudo nano /etc/apt/sources.list

 2. Update the repository

sudo apt-get update 

3. Install the required package

sudo apt-get install snmp snmp-mibs-downloader

 4. Edit the snmp.conf file and comment the line MIBs.

sudo nano /etc/snmp/snmp.conf

 5. Execute the command and perform the installation for the SNMP operation in Zabbix Server.

sudo download-mibs

 6. Restart the Zabbix Server

sudo service zabbix-server restart 

Step 2: Configure SNMP on Switch for monitoring (example: Cisco switch).

1. Enter in global configuration mode in switch  

switch#conf t 

2. configure SNMP-server

switch(config)#snmp-server community sw2960-4
switch(config)#snmp-server location Network_room
switch(config)#snmp-server contact TinoP-SysAdmin

Step 3: Configure host on Zabbix’s interface

1. Go to Zabbix Server web interface, click on Configuration tab -> Hosts and go to Create Host.

Host name - hostname

SNMP interfaces - ip_of_host

2. Go to Macros

{$SNMP_COMMUNITY} - hostname

3. Go to Templates

Select Templates SNMP Device, Hit the Add button,  then Update

Then you have to wait about 1 hour until the properties of templates are fully updated. At that moment, the SNMP icon should be green like this:


Here are some other examples of enabling SNMP on other devices (Step 2)

A. On ESXi host

1. Go to SSH on ESXi host

2. Set the SNMP community string

esxcli system snmp set --communities YOUR_STRING

3. Enable the SNMP service

esxcli system snmp set --enable true

4. Add necessary firewall rules

esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true

5. Enable the added firewall rule

esxcli network firewall ruleset set --ruleset-id snmp --enabled true

6. Restart the SNMP daemon

/etc/init.d/snmpd restart

B. On Catalyst Switch 500

C. On NAS Synology device








Happy monitoring ^^

* This one is inside a series of Design, Configure and Operate the IT devices, you can find other posts here:

Part1: Network design and BoM (Bill of Material)



Featured Post

Challenges in Government Cyber Security

Has cyber security been a challenge in your government organization? Are you looking to improve your government's network security? Learn more about how to improve your government organization's security by viewing our on-demand webinar!

Join & Write a Comment

After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month