Zabbix Agent 2 Deployment Guide & Best Practices
Why Zabbix Agent 2?
Zabbix Agent 2 is the next-generation agent written in Go. Compared to the classic C agent, it provides a flexible plugin model and better concurrency.
Key benefits
- Plugin-based architecture for easier extension
- Concurrent checks powered by Go routines
- Fewer TCP connections with persistent connections support
Installation
1. Add Zabbix repository
rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-1.el8.noarch.rpm
2. Install agent2
dnf install zabbix-agent2
Configuration tips
Make sure Server and Hostname are set correctly in zabbix_agent2.conf.
Conclusion
For Zabbix 5.0+ environments, Agent 2 is the recommended choice.