Skip to content

Instantly share code, notes, and snippets.

@nullx5
Last active March 11, 2026 04:55
Show Gist options
  • Select an option

  • Save nullx5/e222ba73eef09158a3af70390ca9fb8f to your computer and use it in GitHub Desktop.

Select an option

Save nullx5/e222ba73eef09158a3af70390ca9fb8f to your computer and use it in GitHub Desktop.

instalar zabbix con MariaDB en ubuntu 24.04 LTS

https://www.zabbix.com/download

image
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.0+ubuntu24.04_all.deb
sudo gdebi zabbix-release_latest_7.0+ubuntu24.04_all.deb
sudo apt update; sudo apt upgrade -y


sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

sudo systemctl start zabbix-server
sudo systemctl enable zabbix-server
sudo systemctl status zabbix-server

sudo systemctl start zabbix-agent
sudo systemctl enable zabbix-agent
sudo systemctl status zabbix-agent

sudo apt install mariadb-server

sudo systemctl start mariadb-server
sudo systemctl enable mariadb-server
sudo systemctl status mariadb-server

# mariadb -u blessed -p
password
MariaDB> create database zabbix character set utf8mb4 collate utf8mb4_bin;
MariaDB> create user zabbix@localhost identified by 'password';
MariaDB> grant all privileges on zabbix.* to zabbix@localhost;
MariaDB> set global log_bin_trust_function_creators = 1;
MariaDB> quit;


zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mariadb --default-character-set=utf8mb4 -uzabbix -p zabbix


# mariadb -u blessed -p
password
MariaDB> set global log_bin_trust_function_creators = 0;
MariaDB> quit;


sudo nvim /etc/zabbix/zabbix_server.conf
DBPassword=password


sudo systemctl restart zabbix-server zabbix-agent apache2


http://host/zabbix

https://i.imgur.com/aU6tR0W.gif

panel web credentials:

  • Admin
  • zabbix
@nullx5
Copy link
Author

nullx5 commented Mar 11, 2026

  • Usa Zabbix para saber si el servidor Ubuntu está vivo y si MariaDB tiene espacio en disco. routers y switchs SNMP protocol
  • Usa Prometheus/Grafana si necesitas gráficas detalladas de rendimiento de tus funciones de Django. django-prometheus(tiempo de respuesta por vista, hits a la base de datos, errores por tipo).
  • Usa Sentry (obligatorio) para capturar los errores de Python que Zabbix nunca verá.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment