Once the server is ready, we can start to configure our agents.
Install the zabbix-agent :
sudo apt-get install zabbix-agent
Edit the configuration file :
sudo vi /etc/zabbix/zabbix_agentd.conf
The my configuration file is simple and functionnal :
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=0
Server=10.8.0.1
ServerActive=10.8.0.1
Hostname=bart
Include=/etc/zabbix/zabbix_agentd.conf.d/
Then you’re done !
Hey,
thanks for the tutorial. Unfortanetly there is no zabbix-agent package available on apt-get.
Any other solution?
Kind regards
Robert
Hi,
You should have it :
pi@Homer:~ $ apt-cache search zabbix
grafana-zabbix – Zabbix datasource for Grafana
libzabbix-api-perl – abstraction layer over the JSON-RPC API provided by Zabbix
nagstamon – Nagios status monitor which takes place in systray or on desktop
pcp-export-zabbix-agent – Module for exporting PCP metrics to Zabbix agent
python-protobix – Implementation of Zabbix Sender protocol
python3-protobix – Implementation of Zabbix Sender protocol
resource-agents – Cluster Resource Agents
uwsgi-core – fast, self-healing application container server (core)
yowsup-cli – command line tool that acts as WhatsApp client
zabbix-agent – network monitoring solution – agent
zabbix-frontend-php – network monitoring solution – PHP front-end
zabbix-java-gateway – network monitoring solution – Java gateway
zabbix-proxy-mysql – network monitoring solution – proxy (using MySQL)
zabbix-proxy-pgsql – network monitoring solution – proxy (using PostgreSQL)
zabbix-proxy-sqlite3 – network monitoring solution – proxy (using SQLite3)
zabbix-server-mysql – network monitoring solution – server (using MySQL)
zabbix-server-pgsql – network monitoring solution – server (using PostgreSQL)
is there a way to install a newer version of the agent? The package manager wants to install an old version
sudo apt-cache policy zabbix-agent
zabbix-agent:
Installed: (none)
Candidate: 1:3.0.7+dfsg-3
Version table:
1:3.0.7+dfsg-3 500
500 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
Hello,
Good to know: zabbix officially supports raspbian via its repository since version 4!
More information: https://www.zabbix.com/documentation/current/manual/installation/install_from_packages/debian_ubuntu
$ dpkg -i https://repo.zabbix.com/zabbix/4.0/raspbian/pool/main/z/zabbix-release/zabbix-release_4.0-2%2Bstretch_all.deb
$ apt update
and roll youth …
thanks for sharing