zabbix agent를 설치하자.
생각보다 간단하다.
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
sudo apt update
sudo apt install zabbix-agent
sudo vi /etc/zabbix/zabbix_agentd.conf
Server=192.168.0.111 #zabbix서버의 ip를 입력
Hostname=ServerNameYouWant
sudo systemctl restart zabbix-agent
sudo systemctl enable zabbix-agent
끝. 간단하다.
이 글은 아래 링크를 참조하여 작성했습니다.
https://tecadmin.net/how-to-install-zabbix-agent-on-ubuntu-20-04/