No description
Find a file
muppeth ed2f71698d Merge pull request 'User Param Fix' (#11) from user_param_fix into main
Reviewed-on: #11
Reviewed-by: meaz <meaz@no-reply@disroot.org>
2024-09-21 06:58:44 +02:00
defaults remove zabbix_proxy_installed 2024-07-29 08:04:03 +02:00
files/postgresql added custom file tasks 2023-10-27 11:42:05 +02:00
handlers update from main 2023-10-27 11:56:57 +02:00
Playbooks v6 update (#1) 2023-08-07 06:13:22 +00:00
tasks remove zabbix_proxy_installed 2024-07-29 08:04:03 +02:00
templates changed dir name to zabbix-scripts in userparam template 2024-09-15 08:39:42 +02:00
.gitignore first commit 2023-02-05 11:48:17 +01:00
LICENSE first commit 2023-02-05 11:48:17 +01:00
README.MD update readme 2024-07-29 08:04:16 +02:00
Vagrantfile update vagrant to debian 12 2024-07-25 11:03:43 +02:00

Zabbix - Ansible Role

This role deploys, configures and updates Zabbix. You can deploy test instance using Vagrantfile attached to the role.

vagrant up ansible-playbook -b Playbooks/zabbix.yml

Then you can access Zabbix from your computer on http://192.168.33.27:8080

The default login credentials for Zabbix are:

  • Username: Admin
  • Password: zabbix

⚠️ If mariadb is deployed on a different server than zabbix, then you have to do mysql> set global log_bin_trust_function_creators = 1; on your mariadb server, then deploy this role, and set it back with mysql> set global log_bin_trust_function_creators = 0;

Zabbix-agent

  • zabbix-agent service needs to be deployed to the container you want to monitor (set zabbix_agent: 'true' when you run the role) in order to be catched by zabbix-server.
  • This role allows you to add your own scripts. See #Zabbix Scripts section in defaults/main.yml.

TODO

  • When a script needs for example psql for lufi script, then it won't work if the needed package (example postgresql-client) is not installed on the container that zabbix-agent runs on. We could add a task in install_agent that installs dependencies and have zabbix_script_deps var.
  • It would be nice to have userparameter_container.conf.j2 more vanilla as most of them won't work without the disroot scripts repo.

CHANGELOG

  • 29.07.24 - Update to v7.0
  • 01.08.23 - Fix role issues and update to v6.0
  • 15.01.2021 - Make it ready for public release
    • Create readme file
    • Create Playbook
    • Create Vagrantfile