This is a tiny little bash script to install zabbix-agent and create the configurations needed.
It creates:
- PSK-Identity and PSK-Key
- /etc/zabbix-agent/zabbix_agentd.conf
As I'm using this or a similar script on all my servers I've just tested this against software that I use.
- Debian Buster (10)
- Debian Jessie (9)
- Debian Stretch (8)
Just run the script directly (please, for gods sake - check the code prior to execution):
bash <(curl -s https://github.com/dominicpratt/install-zabbix-agent/blob/master/install-zabbix-agent.sh)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.