Ad Widget

Collapse

One Proxy to Feed 2 Zabbix Servers (Databases)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BSDUKJ
    Member
    • Aug 2017
    • 38

    #1

    One Proxy to Feed 2 Zabbix Servers (Databases)

    Zabbix Proxy Design is 1-to-1. A Single Proxy pointing to a Single Database/Server.

    However, I need a way for being able to dual feed information from a zabbix proxy to 2 seperate Database/Server Instances.

    My initial thought is to have 2 zabbix proxies on the same host using 2 seperate conf file, I know this will be dual polling but I'm happy with that if it gives me the desired result.

    The current 1-to-1 setup is /etc/zabbix/zabbix_proxy.conf.

    I'm thinking I have 2 files zabbix_proxy1.conf and zabbix_proxy2.conf


    zabbix_proxy1.conf
    Server=ZabbixServer1:12345
    Hostname=ZabbixProxy1
    ListenPort=10051
    LogFile=/tmp/zabbix_proxy1.log
    PidFile=/tmp/zabbix_proxy1.pid
    zabbix_proxy2.conf
    Server=ZabbixServer2:12345
    Hostname=ZabbixProxy2
    ListenPort=10051
    LogFile=/tmp/zabbix_proxy2.log
    PidFile=/tmp/zabbix_proxy2.pid


    If this seems correct will the Servers/Databases just pick them after the zabbix service is restarted or is there something else required.

    Do the ZabbixServer Ports need to be different and do the listen ports need to be different if they are on the same Linux host.

    I'm open to any suggestions if there is another way to achieve the same result of getting data from a site to 2 seperate servers/databases.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    You cannot run 2 separate instances on same port...So ListenPort has to be different there... Which also brings up the need to configure agents accordingly...

    Comment

    Working...