This repository contains an interactive Bash script that automates the installation and initial configuration of Zabbix Proxy 7.0 using SQLite3 on Debian 12 systems.
The script uses the dialog utility to create a user-friendly, step-by-step guided installation process via text-based dialogs.
✅ Interactive dialog-based interface
✅ Installs Zabbix Proxy 7.0 and Zabbix Agent
✅ Automatically sets up Zabbix repository for Debian 12
✅ Generates a secure PSK file for encrypted communication
✅ Grants proper permissions to the zabbix user
✅ Enables and starts the Zabbix Proxy and Agent services
The script performs the following steps:
- Checks for
dialogand installs it if not found. - Downloads the official Zabbix repository package for Debian 12.
- Installs the Zabbix release package and updates the package list.
- Installs Zabbix Proxy with SQLite3 and Zabbix Agent.
- Generates a 32-byte hex-encoded PSK file at
/etc/zabbix/prxzbx.psk. - Sets correct read/write permissions for the
zabbixuser on:/tmp//var/log/zabbix//etc/zabbix/
- Restarts and enables the following services:
zabbix-proxyzabbix-agent
- Displays progress and status using dialog boxes.
- Debian 12 (Bookworm)
- Root or
sudoprivileges - Internet connection
-
Clone the repository:
git clone https://github.com/Peumelges/MGL-Config.git
-
Cd in to the repository:
cd MGL-Config/ -
Run the main Script:
sudo bash mgl-config.sh