Ad Widget

Collapse

Zabbix Proxy Config Sync

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bsjaekel
    Junior Member
    • Apr 2021
    • 12

    #1

    Zabbix Proxy Config Sync

    Hi,

    I am trying to understand how the Zabbix proxy config sync works. Does every Zabbix proxy always gets the whole configuration from the server? I would assume that every proxy only gets the config it requires or am i wrong?

    Regards

    Sebastian
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    And what will it give you? Why do you need this knowledge?

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      Yes, server knows what part of configuration belongs to specific proxy and only sends that portion to it.

      Comment

      • bsjaekel
        Junior Member
        • Apr 2021
        • 12

        #4
        Ok, that's perfect and works as expected. Thanks for your help!

        Hamardaban We needed the info because we want to be sure that configuration from different branch sites get's spread everywhere. We use the Zabbix proxy in our remote sites for performing the monitoring. Our monitoring involves a lot of applications and therefore credentials (e.g. MSSQL Server, Postgres, etc.) We must ensure (compliance) that no credentials used in site A get synced to site B too, that would be a showstopper.

        Comment


        • Hamardaban
          Hamardaban commented
          Editing a comment
          Thank you-I understand. I didn't think about such a problem... :-)
      • bsjaekel
        Junior Member
        • Apr 2021
        • 12

        #5
        dimir Do you have a clue why all of our proxies report the same configuration cache usage? One of our proxies has only 6 items and reports more than 65% configuration cache usage, the other one has more than 4000 items and reports 65% too? We are still using the default of 8Mb on both systems.

        Comment

        • dimir
          Zabbix developer
          • Apr 2011
          • 1080

          #6
          Are your proxies active? Is the Hostname in proxy configuration file set to exactly the same as the name of the Proxy in Frontend?

          Comment

          • bsjaekel
            Junior Member
            • Apr 2021
            • 12

            #7
            Yes, the proxies are active and the hostnames are configured identically (double checked that).

            Comment

            • dimir
              Zabbix developer
              • Apr 2011
              • 1080

              #8
              If you increase log level of proxy configuration syncer process you should be able to get some details on the content of configuration.

              Comment

              • bsjaekel
                Junior Member
                • Apr 2021
                • 12

                #9
                Sorry for the late response, i have found the issue and was able to solve it. It was a configuration error on our side, the proxy host were not mirrored through the proxy itself, and because of that there was always the zabbix server data itself reported. dimir Thanks for your help!

                This one sentence from the blog solved it:

                Assign this host to be monitored by the proxy. If the host is monitored by the server, it will report the wrong metrics — the Zabbix server metrics, not the Zabbix proxy metrics.

                Comment

                Working...