add info about zabbix-agent and complete todo

This commit is contained in:
meaz 2023-08-03 11:28:15 +02:00
parent 3634666019
commit 5737917479
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 8 additions and 0 deletions

View File

@ -13,8 +13,16 @@ The default login credentials for Zabbix are:
⚠️ 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 to `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
- Find better way than zabbix_proxy_installed: 'false' (01.08.23: it not needed anymore, but needs more tests)
- 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