Proxy Setup
Environment Credentials
- Database Name:
zabbix_proxy - Database Username:
zabbix - Database Password:
mu)dyMusic13
Zabbix Proxy Setup
- Login as root and ensure system is up to date before starting the setup.
- Add Zabbix repository
- Install Zabbix Proxy and database.
- Secure MySQL server deployment by setting up password validate component, password validation policy, removing anonymous users, disabling remote root login and removing test databases.
- Login to mysql-server. Hit enter when asked for a password.
- Create initial database for Zabbix with users fo localhost, zabbix servers and with password as
mu)dyMusic13. - Import schemas for the database that's just created using the same credentials from previous step.
- Login to mysql-server as root and disable log_bin_trust_function_creators option and enable log expiry in 3 days.
- Configure bin log size and log expiry for mysql-server by appending following config.
-
Configure database for proxy
/etc/zabbix/zabbix_proxy.conf- Server=zbsrv1.aadya.tech;zbsrv2.aadya.tech
- Hostname=zbpr1.aadya.tech
- DBPassword=mu)dyMusic13
-
Restart and enable autostart for Zabbix Proxy.
- Repeat steps 1-11 on zbpr2, but with
Hostname=zbpr1.aadya.techin/etc/zabbix/zabbix_proxy.conf