Post

Zabbix

Zabbix is an open-source monitoring tool designed to track the performance and availability of IT infrastructure, including servers, network devices, and applications. It uses protocols like SNMP to gather real-time data, enabling efficient monitoring, alerting, and troubleshooting of network devices and other systems.

Installing Zabbix

Download Zabbix Appliance on its official website, here we’re selecting the VMWare (vmwx) version

x


Next upload the .vmdk & .vmx files into the datastore

x


Then select the .vmx file and hit “Register VM”

x


Now we can start register the Zabbix VM

x

x

x

x


After that we can now access Zabbix CLI with credentials root/zabbix

x


Configuring Static IP Address

By default Zabbix will get IP Address from DHCP Server, to change it into static ip, edit the interface file on “/etc/sysconfig/network-scripts/ifcfg-eth0”

x


Then restart the networking service by “systemctl restart network”, run “ip a s eth0” to see the current IP Address, and add default route to the gateway

x


Lastly configure the DNS Server on “/etc/resolv.conf”

x


Make sure we can ping an FQDN on internet, and run “dnf upgrade” to upgrade our zabbix installation

x


After all that, now we should be able to access our Zabbix Server on port 80

x

x


Adding SNMPv2c Host

To add a new host, go to Monitoring » Hosts » Create Host

x


On the network device side, we configure the SNMPv2c so Zabbix can start polling in data

x


For good measure, run “snmpwalk -v2c -c helena 198.18.128.10 1.3.6.1.2.1.1” on a linux server to make sure the network device is accepting SNMP requests

x

1.3.6.1.2.1.1 is an Object Identifier (OID) that represents the system group defined in the MIB-2 standard. This group provides general information about the device being monitored, such as its description, uptime, contact information, and name.


And we can see Zabbix is now polling in SNMP data from the core switch

x

x

x

x


Adding SNMPv3 Host

Next we’ll add another host but this time using SNMPv3

x


On the XE1, we configure the SNMPv3 accordingly

x


Running “snmpwalk -v 3 -u helena -a md5 -A helena123 -x des -X helena123 -l authPriv 198.18.133.121 1.3.6.1.2.1.1” confirms that the router is accepting snmp requests

x


And now the XE1 is also up and running on Zabbix

x

x

x


This post is licensed under CC BY 4.0 by the author.