đ¸Install Zabbix For EC2 Monitoring & How To Connect To Databases On Different Resources
Introduction
Zabbix Monitoring
Zabbix is ââan open source software that can be used to monitor networks and the status of various types of devices, servers and other network hardware. This software was created by Alexei Vladishev. With Zabbix, users can easily find out server status, network conditions and get notifications if problems occur.
Amazon RDS
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale relational databases on the AWS Cloud Cloud. This service provides cost-effective, scalable capacity for industry-standard relational databases as well as managing general database administration tasks. Amazon RDS provides Amazon CloudWatch metrics for your database instances at no additional cost. You can use the Amazon RDS Console to view key operational metrics, including compute/memory/storage capacity utilization, I/O activity, and instance connections.
Zabbix NMS Architecture
Zabbix Server : is the main process or main component of NMS Zabbix, this component contains the configuration of Zabbix and network services. Zabbix server uses port 10051.
Zabbix Agent : is a UNIX daemon that runs on the host being monitored (monitoring), this agent collects information, monitors host performance, and sends this information to the Zabbix Server. Zabbix agent uses port 10050.
Zabbix Proxy : Is a process whose task is to collect performance and availability results from one or more monitored devices and send the data to the Zabbix server.
Configuration AWS
Create a New EC2 Instance
Create Database RDS
endpoint RDS : db-zabbix.c52qu2eqwb8t.us-east-1.rds.amazonaws.com
Modify SecurityGroup "SG-default"
Edit Inbound rules SG-default
Create RDS Group Parameters
Edit parameter-zabbix
Modify Database
Configuration EC2
Update Repository
Install Package
Connect to Database
Create a Database
Configuration Database
Database Verification
Restart Firewall
if unable to reload firewall, enable firewall first
Restart Zabbix Service
Timezone configuration
Configuration Zabbix
Setup Zabbix in Browser
<ip-addr-pub-ec2-zabbix-server/zabbix>
Login to Zabbix Dashboard
Last updated