Add instructions for updating zabbix server

This commit is contained in:
RealStickman 2022-07-08 15:11:26 +02:00
parent e5047dbccd
commit a62f05db0d

View File

@ -3,7 +3,7 @@ title: Zabbix
--- ---
[toc] [toc]
## Podman ## Zabbix Server
### Pod ### Pod
``` ```
# podman pod create --name zabbix -p 127.0.0.1:8080:8080 -p 10051:10051 # podman pod create --name zabbix -p 127.0.0.1:8080:8080 -p 10051:10051
@ -63,6 +63,19 @@ Finally, we will also install the agent as a container
The default user is `Admin` with password `zabbix` The default user is `Admin` with password `zabbix`
### Updating Server
Updating the server might fail for various reasons. Those I already encountered will be documented below.
*NOTE: The server and proxy need to run the same version of zabbix to talk with one another*
#### MARIADB: Missing permissions (log_bin_trust_function_creators)
From what I could find this error is thrown, when the specified user lacks super user privileges.
A workaround is enabling `log_bin_trust_function_creators` temporarily.
`# podman exec -it bash zabbix-mysql`
`# mysql -u root -p` and enter the root password
`mysql> set global log_bin_trust_function_creators=1;`
The setting will be reset to default after a restart of the database container.
## Zabbix Proxy ## Zabbix Proxy
`ZBX_HOSTNAME` has to be the same as the value configured on the zabbix server as the proxy name. `ZBX_HOSTNAME` has to be the same as the value configured on the zabbix server as the proxy name.
``` ```