Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Ansible Zabbix Server on Debian 11

This Playbook installs Zabbix Server 6 LTS on Debian 11. This script is based on Zabbix install Documentation and it is production-ready, but you need to create mysql backup scripts and firewall rules manually. Before running this play book on your server, please take a look at Zabbix Hardware Requirements to make sure you have enough hardware resources.

Here is the version information:

Zabbix-Server: 6 LTS
Nginx: 1.18.0
MariaDB: 10.5.15
PHP: 7.4

Settings in group_vars/all:

hostname: Domain name or server name (in this case: example.com)
nginx_port: zabbix console will listen on this port
mysql_zabbix_database: Database name for zabbix
mysql_root_password: The password for the MySQL root account.
mysql_zabbix_user: This is the user that the zabbix application uses to talk to mysql.
mysql_zabbix_password: zabbix mysql account password

important note;

The default credentials for the zabbix server console are: username: Admin passwrod: zabbix Caution: make sure you change the password after you log in.

Run the Playbook:

ansible-playbook -l [target] -i [inventory file] -u [remote user] playbook.yml