728x90
반응형
1. Install zabbix-agent
(RHEL8)
rpm -ivh http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-agent-5.0.10-1.el8.x86_64.rpm
(RHEL7)
rpm -ivh http://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-agent-5.0.10-1.el7.x86_64.rpm
2. Configure config file
vi /etc/zabbix/zabbix_agentd.conf
Server=20.20.20.250 (zabbix server IP)
StartAgents=1
ServerActive=20.20.20.250
if you configed /etc/hosts/ file for domain
Hostname=hk-k8s-master1
# If no, please config below config value.
Hostname=100.100.100.11
3. zabbix-agent enable and server start
systemctl enable zabbix-agent --now
4. Configure the firewall rules for zabbix-agent
sudo firewall-cmd --permanent --add-port=10050/tcp
sudo firewall-cmd --permanent --add-port=10051/tcp
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --reload
--------------------------------------------
iptables -I INPUT -p tcp --dport 10050 -j ACCEPT
728x90
반응형
'Monitoring' 카테고리의 다른 글
[RHEL8] Grafana Zabbix Data Import (0) | 2021.07.05 |
---|---|
[RHEL8] Grafana Zabbix Plugins Setting (0) | 2021.07.05 |
[RHEL/CentOS8] Grafana(그라파나) Install Guide (0) | 2021.07.05 |
Zabbix 한글 활성화 방법 (0) | 2021.07.05 |
[RHEL8] Zabbix Server Install (0) | 2021.07.05 |