Skip to content
Available for internships in development, automation, and infrastructure.Get in touch
RGW.
All projects

Zabbix Agent

Tool

Automated Zabbix Agent 2 installation.

Year
2025
Role
Open-source tool
Context
Infrastructure automation

Technologies: Shell, Zabbix 7.4, Debian, Ubuntu, systemd

Overview

A script that installs and configures Zabbix Agent 2 on Debian or Ubuntu servers. It detects the distribution and version, installs the official Zabbix 7.4 repository, configures active and passive server addresses, and enables the systemd service.

What the script does

  • Reads the distribution and version from /etc/os-release.
  • Installs the matching official Zabbix 7.4 repository.
  • Installs the zabbix-agent2 package.
  • Configures Server, ServerActive, and the local hostname.
  • Enables and restarts the service with systemd.
sudo bash install-zabbix-agent.sh zabbix.example.com

Limitations

  • The script pins the Zabbix series to 7.4.
  • Only apt-based distributions are supported.
  • TLS PSK, auto-registration metadata, and additional parameters must be configured separately.