Ad Widget

Collapse

2 zabbix server conneted to 1 proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elias_a_h@hotmail.com
    Junior Member
    • Nov 2020
    • 3

    #1

    2 zabbix server conneted to 1 proxy

    Hello.

    we have already installed zabbix server and zabbix dabatase server in site " 1 " .zabbix server is also connected in passive mode to zabbix proxy that is installed on site "2".

    in our case we need to install other zabbix server with database in site 2 in order to connect it to same zabbix proxy .
    is it feasible to have two zabbix sevrers connected to one (same ) proxy servers in passive mode ?

    regards
    IDM webadmin
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    just from curiosity whats the purpouse of this setup ?

    Comment


    • elias_a_h@hotmail.com
      [email protected] commented
      Editing a comment
      hello,

      in our architecture , we have sites 1 and 2

      in site 1 , zabbix server is monitoring hosts in site 1 directly and hosts in site 2 through zabbix proxy.
      in site 2 , there is only zabbix proxy

      we need to install zabbix server in site 2 for monitoring hosts in site 2 through same zabbix proxy in order to still have graphical access for monitoring in case
      the connection between site 1 and site 2 is dropped and to avoid installing second zabbix proxy

      regards
      IDM webadmin.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #3
    Currently Zabbix proxy does not support multiple servers. You can have another proxy instance, for second Zabbix server on the same host, listening on different port.

    Comment


    • elias_a_h@hotmail.com
      [email protected] commented
      Editing a comment
      hello,

      Also in case we have running another proxy on another port on same server ,polling data will be performed two times ?

      regards
      IDM webadmin.
  • elias_a_h@hotmail.com
    Junior Member
    • Nov 2020
    • 3

    #4
    hello,

    zabbix_proxy configuration is attached
    please provide us steps for running another proxy instance on same proxy server listening on different port.

    version:4.2.4

    regards
    IDM webadmin.
    Attached Files

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #5
      Create 2 config files for each proxy with different ListenPort, Server, Hostname, PidFile, LogFile values and try starting them:
      Code:
      zabbix_proxy -c /etc/zabbix/zabbix_proxy1.conf
      zabbix_proxy -c /etc/zabbix/zabbix_proxy2.conf
      And view their log files to see if everything goes well.

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #6
        Also in case we have running another proxy on another port on same server ,polling data will be performed two times ?
        I have no idea what are you trying to do but there is no sense in having the same checks going through 2 proxies.

        Comment


        • elias_a_h@hotmail.com
          [email protected] commented
          Editing a comment
          hello,

          yes True, we are trying to testing scenarios in our environment. But just for confirmation , running two instances for zabbix proxy will cause polling data two times ?

          regards
          IDM webadmin.
      • NilsA
        Senior Member
        • Sep 2020
        • 102

        #7
        If you have 2 instances of a zabbix proxy running in the environment which answer to different zabbix servers, they will poll and trap data independently from another. So if the configurations of the hosts is identical on both servers, polling will happen twice.

        Comment

        • Bosserdet
          Junior Member
          • Feb 2025
          • 2

          #8
          Hello.

          Did last versions of Zabbix (7.0 LTS) support multiple serveurs. Actif proxy.

          Comment

          • mariusl
            Junior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Aug 2024
            • 25

            #9
            Originally posted by Bosserdet
            Hello.

            Did last versions of Zabbix (7.0 LTS) support multiple serveurs. Actif proxy.
            No, it is still not possible. A proxy can only send data to one server.

            Comment

            • Bosserdet
              Junior Member
              • Feb 2025
              • 2

              #10
              Originally posted by mariusl

              No, it is still not possible. A proxy can only send data to one server.
              Thanks for the answer.

              Comment

              • LenR
                Senior Member
                • Sep 2009
                • 1005

                #11
                As others have said, you can run 2 instances of the proxy in the same server. Don't share the database.

                Agents can connect/respond to both. Don't poll agents, use agent-active items, at least for the majority of the items.

                Comment

                Working...