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
Next upload the .vmdk & .vmx files into the datastore
Then select the .vmx file and hit “Register VM”
Now we can start register the Zabbix VM
After that we can now access Zabbix CLI with credentials root/zabbix
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”
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
Lastly configure the DNS Server on “/etc/resolv.conf”
Make sure we can ping an FQDN on internet, and run “dnf upgrade” to upgrade our zabbix installation
After all that, now we should be able to access our Zabbix Server on port 80
Adding SNMPv2c Host
To add a new host, go to Monitoring » Hosts » Create Host
On the network device side, we configure the SNMPv2c so Zabbix can start polling in data
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
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
Adding SNMPv3 Host
Next we’ll add another host but this time using SNMPv3
On the XE1, we configure the SNMPv3 accordingly
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
And now the XE1 is also up and running on Zabbix