← All projects

Project case study

Infrastructure Monitoring Lab

Setting up host monitoring and investigating agent connectivity.

Goal

Understand host monitoring and common connectivity problems.

Approach

Lessons learned

I used Terraform to install all three ec2 instances automatically without manually having to start the instances one by one. Once the ubuntu servers were up in the ec2 instances, I installed the Zabbix server from a Docker image, and accessed in the browser by entering an available hostname IP address and port 8080. Then, I installed the Zabbix agents on the AWS ec2 instances (a step I’ve forgotten until I realized the Zabbix agents connection was unreachable). I used an Ansible playbook to add the Zabbix repository in ec2, download and install the Zabbix agents binary files, and configure the agents to communicate with my Zabbix server. Finally, the monitoring logs were fetched to the Zabbix server and appeared in the dashboard.