Skip to content

Interactive one-command installer for full Zabbix Server, Proxy and Agent setups on Debian/Ubuntu

License

Notifications You must be signed in to change notification settings

databloat/zabbix-full-deployer

Repository files navigation

Zabbix Full Deployer

One-command, interactive Zabbix deployment directly from official repositories

License: MIT PRs Welcome

⚡ In under 5 minutes you have a fully functional Zabbix server/proxy or agent ready for monitoring!

What does this script do?

Simple, interactive installation of:

  • Zabbix Server + Frontend + Agent/Agent2 + Database
  • Zabbix Proxy + Database
  • Standalone Zabbix Agent/Agent2

→ Installs unmodified packages directly from https://repo.zabbix.com
→ Supports any version available in the official repository (e.g. 7.0 LTS, 7.2, 7.4)


🛠️ Supported Matrix

Component Support Details
Operating Systems ✅ Debian 11/12
✅ Ubuntu 20.04/22.04/24.04
Automatic detection and repository selection
Zabbix Versions ✅ All versions from official repository Any version available at repo.zabbix.com
Server ✅ Full support With frontend and agent selection
Proxy ✅ Full support All database types available
Agent/Agent2 ✅ Full support Standalone installation
Databases ✅ MySQL (Server/Proxy)
✅ PostgreSQL (Server/Proxy)
✅ SQLite3 (Proxy only)
Automatic installation and configuration
Webservers ✅ Apache 2
✅ Nginx
For Zabbix Frontend
Java Gateway ❌ Not supported Not included in this script
Web Service ❌ Not supported Not included in this script

Quick Start

# Clone the repository
git clone https://github.com/databloat/zabbix-full-deployer.git
cd zabbix-full-deployer
chmod +x zabbix-full-deployer.sh

# Server + Frontend + Agent + Database
sudo bash zabbix-full-deployer.sh --server

# Proxy + Database
sudo bash zabbix-full-deployer.sh --proxy

# Standalone Agent/Agent2
sudo bash zabbix-full-deployer.sh --agent
sudo bash zabbix-full-deployer.sh --agent2 

# Debug mode (troubleshooting)
sudo bash zabbix-full-deployer.sh --server --debug

What to expect:

╭────────────────────────────────────────────────────────────╮
│          Zabbix full deployer v1.0.0 – databloat           │
╰────────────────────────────────────────────────────────────╯
You are using the latest version: 1.0.0

Choose database for Zabbix Server (mysql/pgsql) (default: mysql): pgsql
Choose agent type to install (agent/agent2) (default: agent2): 
Choose webserver for Zabbix Frontend (nginx/apache) (default: apache): nginx

# [... installation progress ...]

✅ Zabbix server configuration completed successfully!
✅ Installation was also performed.

Zabbix Server is ready.

════════════════════════════════════════════════════
   ZABBIX SERVER — WEB & LOGIN INFO
════════════════════════════════════════════════════

Zabbix Web UI http://10.10.20.25

Default User  Admin
Default Password zabbix

DB Host       
DB Name       zbx
DB User       zabbix
DB Password   ******

⚠  Recommendation:
   - Change Admin password after first login
   - Restrict web access via firewall or reverse proxy

════════════════════════════════════════════════════

🙏 Acknowledgments

  • Zabbix LLC for their excellent monitoring platform
  • Official Zabbix documentation and packaging teams
  • Open source community for inspiration and best practices

⚠️ Security Notice

Use at your own risk. Default credentials must be changed immediately. No warranty provided.


Created with ❤️ by databloat
Project: https://github.com/databloat/zabbix-full-deployer

If this script helped you, consider giving it a ⭐ on GitHub!

About

Interactive one-command installer for full Zabbix Server, Proxy and Agent setups on Debian/Ubuntu

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages