Reference: https://blog.cmrdb.cs.pu.edu.tw/?p=1524
以CentOS 7為例
‧到linux安裝
rpm -Uvh https://repo.zabbix.com/zabbix/7.0/rhel/7/x86_64/zabbix-release-latest-7.0.el7.noarch.rpm
yum install zabbix-agent2
vi /etc/zabbix/zabbix_agent2.conf
Server=127.0.0.1, zabbix01.anasystem.com.tw #增加允許連線的zabbix server
systemctl restart zabbix-agent2
systemctl enable zabbix-agent2
‧調整linux firewall,開放 port 10050
firewall-cmd --zone=public --add-port=10050/tcp --permanent
firewall-cmd --reload
‧到zabbix server新增Host
沒有留言:
張貼留言