Greetings Everyone.
For the past few days I am trying to install 2 different Zabbix proxies on the same Ubuntu machine in order to feed 2 different zabbix servers with data.
Specifically I have Zabbix v5.0.x installed on my Ubuntu VM, and I need to install another proxy v.6.4 on the same VM in order to feed to a different Zabbix Server.
This is because I have 2 servers, one in Zabbix Server v5.0.4 or smth and another upgraded to v6.4.
I have tried to install 2 Proxies on my VM and differentiated between the 2 services by renaming them,changing the pid file names, log file names, conf files, listen ports etc. For example:
Zabbix 6 conf:
Server=<Zabbix Server 6.x IP>
Hostname=<Zabbix Proxy 6.xHostname>
ListenPort=10052
PidFile=/var/run/zabbix/zabbix_proxy_6/zabbix_proxy_6.pid
DBName=/var/lib/zabbix-proxy/zabbix_proxy_6.db
LogFile=/var/log/zabbix/zabbix_proxy_6.log
SocketDir=/var/run/zabbix/zabbix_proxy_6
Zabbix 5 conf:
Server=<Zabbix Server 5.x IP>
Hostname=<Zabbix Proxy 5.xHostname>
ListenPort=10051
PidFile=/var/run/zabbix/zabbix_proxy_5/zabbix_proxy_5.pid
DBName=/var/lib/zabbix-proxy/zabbix_proxy_5.db
LogFile=/var/log/zabbix/zabbix_proxy_5.log
SocketDir=/var/run/zabbix/zabbix_proxy_5
I have also created 2 service files for differentiating between the 2 zabbix proxy services and avoid conflict.
While both proxy services are running normally, it appears that after installing zabbix proxy 6.4 on the VM, only this version actually works, the old Zabbix Proxy version stops sending statistics to the Zabbix 5 sever with no communication issues whatsoever.
Im thinking maybe it has to do with the packages overwriting each other. Anyone ever done this successfully? Thanks in advance!
For the past few days I am trying to install 2 different Zabbix proxies on the same Ubuntu machine in order to feed 2 different zabbix servers with data.
Specifically I have Zabbix v5.0.x installed on my Ubuntu VM, and I need to install another proxy v.6.4 on the same VM in order to feed to a different Zabbix Server.
This is because I have 2 servers, one in Zabbix Server v5.0.4 or smth and another upgraded to v6.4.
I have tried to install 2 Proxies on my VM and differentiated between the 2 services by renaming them,changing the pid file names, log file names, conf files, listen ports etc. For example:
Zabbix 6 conf:
Server=<Zabbix Server 6.x IP>
Hostname=<Zabbix Proxy 6.xHostname>
ListenPort=10052
PidFile=/var/run/zabbix/zabbix_proxy_6/zabbix_proxy_6.pid
DBName=/var/lib/zabbix-proxy/zabbix_proxy_6.db
LogFile=/var/log/zabbix/zabbix_proxy_6.log
SocketDir=/var/run/zabbix/zabbix_proxy_6
Zabbix 5 conf:
Server=<Zabbix Server 5.x IP>
Hostname=<Zabbix Proxy 5.xHostname>
ListenPort=10051
PidFile=/var/run/zabbix/zabbix_proxy_5/zabbix_proxy_5.pid
DBName=/var/lib/zabbix-proxy/zabbix_proxy_5.db
LogFile=/var/log/zabbix/zabbix_proxy_5.log
SocketDir=/var/run/zabbix/zabbix_proxy_5
I have also created 2 service files for differentiating between the 2 zabbix proxy services and avoid conflict.
While both proxy services are running normally, it appears that after installing zabbix proxy 6.4 on the VM, only this version actually works, the old Zabbix Proxy version stops sending statistics to the Zabbix 5 sever with no communication issues whatsoever.
Im thinking maybe it has to do with the packages overwriting each other. Anyone ever done this successfully? Thanks in advance!
Comment