Hi guys,
We are moving monitoring for a portion of our servers from one zabbix server to a brand new one. I would like some input on how to manage this on the server side.
So far I have created a script that will ssh into each host on my list and modify the agent conf file to point to a different server, then restart zabbix on the host.
We are considering two approaches on the server side. Currently the new server is an exact copy of the old one but is obviously not receiving any data from the hosts as they are still pointed at the old server. The problem with this is that this server is monitoring ~600 hosts, most of which we will not want on the new server. Checking to see if a host has moved over successfully on the front end is a bit of a hassle because there is so many configured hosts to wade through.
Basically we can either continue with our exact copy of the old server or wipe it clean, export the hosts we DO want to monitor from the old server and then migrate them using the script, monitoring manually to make sure the migration has worked successfully.
The reason we want to check each host manually is that this is a mission-critical monitoring system which is looking at servers in various datacenters across the world. Because of firewall rules and other potential unforseen problems, it is possible that just changing the agent config and restarting zabbix will not result in a succesful migration, in which case we need to roll back the change and flag the host for further investigation.
Does anyone have any experience doing something like this or any wisdom to offer? Thanks in advance.
Version = 2.2.9
We are moving monitoring for a portion of our servers from one zabbix server to a brand new one. I would like some input on how to manage this on the server side.
So far I have created a script that will ssh into each host on my list and modify the agent conf file to point to a different server, then restart zabbix on the host.
We are considering two approaches on the server side. Currently the new server is an exact copy of the old one but is obviously not receiving any data from the hosts as they are still pointed at the old server. The problem with this is that this server is monitoring ~600 hosts, most of which we will not want on the new server. Checking to see if a host has moved over successfully on the front end is a bit of a hassle because there is so many configured hosts to wade through.
Basically we can either continue with our exact copy of the old server or wipe it clean, export the hosts we DO want to monitor from the old server and then migrate them using the script, monitoring manually to make sure the migration has worked successfully.
The reason we want to check each host manually is that this is a mission-critical monitoring system which is looking at servers in various datacenters across the world. Because of firewall rules and other potential unforseen problems, it is possible that just changing the agent config and restarting zabbix will not result in a succesful migration, in which case we need to roll back the change and flag the host for further investigation.
Does anyone have any experience doing something like this or any wisdom to offer? Thanks in advance.
Version = 2.2.9
Comment