Skip to content

Instantly share code, notes, and snippets.

View mwalczak's full-sized avatar
🎯
Focusing

Mateusz Walczak mwalczak

🎯
Focusing
View GitHub Profile
@mwalczak
mwalczak / zabbix_migration.md
Last active February 26, 2024 18:56
Migrating Zabbix with MySQL backend to a new machine

Today I've solved the problem of one server being to slow to handle the growth of my zabbix configuration. I'm using zabbix-server 2.2.2 with MySQL/Debian backend and around 20 zabbix-agents with Debian installed.

Let's say old Zabbix server IP is: A.B.C.D and new is: U.X.Y.Z. The domain name for the instalation will be: http://zbx.newmachine.com

Below you will find all steps to migrate your configuration:

Ensure all agents will accept connections from the new IP Modify each agent configuration file (in debian: /etc/zabbix/zabbix_agentd.conf) and add new IP