Scope & Purposes
This document will detail the steps in installing Zabbix Agent 2. Zabbix Agent sits in a computer/server/VM, collects data that will then be sent to our zabbix-proxy server at monitoring-proxy.leohamel.com where the data will be processed and sent to Malachi’s server at monitoring.techglia.com. We will then be able to monitor our services from his server.
For Ubuntu
First, we need to install the Zabbix Agent 2.
- Download the appropriate package from Zabbix and follow the instruction to install the Agent 2. Don’t start it yet.
- Edit the config file at
/etc/zabbix/zabbix_agent2.confand make the following changes:Server=monitoring-proxy.leohamel.comServerActive=monitoring-proxy.leohamel.comHostname=INSERT_THE_HOSTNAME_HERE
- Start the server and enable on boot:
systemctl restart zabbix-agent2systemctl enable zabbix-agent2
Now we need to let monitoring.techglia.com know that our server exists:
- Log in to https://monitoring.techglia.com/
- Navigate to Data collection > Hosts > Create host.
- Host template is supposed to be provided by Malachi. We don’t have this part working yet, so skip it.
- Host groups is
Cell-01/Leo Hamel. - Click Add.