Zabbix Agent Installation Guide - nrazavi70/Ansible GitHub Wiki
Windows Agent Installation
- First you have to download the agent from here. Note that version of Zabbix agent must be matching its server. In Rashin the server's version is 5.0.5 .
- After unzipping the package you have to edit the config file located at conf directory. In order to config it you have to do the following:
a. Change 'Server' to proxy server's IP address
b. Change 'ServerActive' to proxy server's IP address
c. Change 'Hostname' to the clients' hostname
- Run the following powershell command to start the agent using the conf you created:
zabbix_agentd.exe -i -c zabbix_agentd.conf
Linux Agent Installation
- First you have to download and install zabbix repository, you do this by entering the following command:
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
dpkg -i zabbix-release_5.0-1+focal_all.deb
apt update
- Then you can use apt-get install to install zabbix-agent.
sudo apt-get install zabbix-agent
- Then you have to edit the config file just like before:
a. Change 'Server' to proxy server's IP address
b. Change 'ServerActive' to proxy server's IP address
c. Change 'Hostname' to the clients' hostname
- Just restart your service after you are done editing the config file:
systemctl restart zabbix-agent.service